Stock warehouses

Получить очередь команд оператору

Changed on

Исходящие команды оператору, новые сверху: вид, состояние (pending, waiting — ждёт ответа шины, done, failed), попытки, время следующей попытки и последняя ошибка.

get/api/v1/stock/wms/commands

Request

  • Base URL
    https://erp.akeda.ru
  • Auth
    • HTTP bearer
    • or API key in header X-Api-Key
    • or OAuth 2
      Authorization codehttps://erp.akeda.ru/oauth2/authorize
      Token URLhttps://erp.akeda.ru/oauth2/token
      Scopesakeda:delegate
    • or HTTP bearer

Query parameters

status, string

pending, waiting, done, failed

limit, integer

Сколько строк; по умолчанию 200, не больше 500

Headers

X-Tenant, string required

Slug выбранного кабинета; кабинет не является юрлицом

Response

Команды

object required
count, integer required
results, StockWMSCommand[] required

Changes

    • info

      added the optional property results/items/problem to the response with the status

    • warning

      added the new cancel_kitting enum value to the results/items/kind response property for the response status

    • warning

      added the new kitting enum value to the results/items/kind response property for the response status