Stock purchasing

Завести несколько палет отгрузки

Changed on

Заводит сразу несколько палет заказа и выдаёт каждой номер SSCC (ERP-119): большой заказ разбивают «по N штук» одним действием. Все палеты или ни одной; всё проверяется до выдачи номеров. Остатки не двигает.

post/api/v1/stock/sales/{id}/pallets/batch

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

Path parameters

id, string uuid required

Headers

X-Tenant, string required

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

Request body

StockShipmentPalletBatch required
pallets, StockShipmentPalletCreate[] required

Response

Палеты с номерами

StockShipmentPalletBatchResult required
pallets, StockShipmentPallet[] required

Changes

    • info

      added the optional property pallets/items/document_id to the response with the status

    • info

      added the optional property pallets/items/lines/items/batch_code to the response with the status

    • info

      added the optional property pallets/items/lines/items/batch_id to the response with the status

    4 more changes in this revision