api_stock_list_movements:
  path: /
  methods: [ GET ]
  defaults:
    _controller: PrestaShopBundle\Controller\Api\StockMovementController::listMovementsAction
    _legacy_controller: AdminStockManagement

api_stock_product_list_movements:
  path: /product/{productId}
  methods: [ GET ]
  defaults:
    _controller: PrestaShopBundle\Controller\Api\StockMovementController::listMovementsAction
    _legacy_controller: AdminStockManagement
  requirements:
    productId: \d+

api_stock_list_movements_employees:
  path: /employees
  methods: [ GET ]
  defaults:
    _controller: PrestaShopBundle\Controller\Api\StockMovementController::listMovementsEmployeesAction
    _legacy_controller: AdminStockManagement

api_stock_list_movements_types:
  path: /types
  methods: [ GET ]
  defaults:
    _controller: PrestaShopBundle\Controller\Api\StockMovementController::listMovementsTypesAction
    _legacy_controller: AdminStockManagement
