Stock purchasing

Изменить палету отгрузки

Changed on

Вес, высота, температура и состав палеты (ERP-119). Названное поле заменяется, номер SSCC не меняется. Отгрузка ушла сети — отказ.

patch/api/v1/stock/sales/{id}/pallets/{palletId}

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
palletId, string uuid required

Headers

X-Tenant, string required

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

Request body

StockShipmentPalletPatch required
lines, StockShipmentPalletLineInput[]

Новый состав целиком

gross_weight, string
net_weight, string
height, string
temperature, string

Response

Палета

StockShipmentPallet required

Грузоместо: палета отгрузки заказа в торговую сеть (ERP-119) или палета и короб перемещения (ERP-3165, document_id)

id, string uuid required
order_id, string uuid required

Заказ палеты сети; у грузоместа перемещения нулевой UUID

document_id, string uuid

Перемещение грузоместа (ERP-3165); у палеты заказа нет поля

company_id, string uuid required
sscc, string required

18 цифр SSCC без AI; у грузоместа перемещения с нашим номером пусто

code, string required

Номер на этикетке: SSCC или наш номер; у палеты заказа равен SSCC

kind, 'pallet' | 'box' required

Палета или короб

parent_id, string uuid

Палета короба перемещения

operator_code, string

Номер места у оператора внешнего склада, если он принял его под своим номером (ERP-3165)

position, integer required

Номер палеты в заказе, он же на этикетке; не сдвигается при снятии другой

package_type, string required

Тип палеты в сообщении сети, 201 — евро

gross_weight, string
net_weight, string
height, string
temperature, string
lines, StockShipmentPalletLine[] required
printed_at, string date-time

Этикетка напечатана; пусто — новая или устарела после правки

created_at, string date-time required

Changes

    • info

      added the optional property document_id to the response with the status

    • info

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

    • info

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

    4 more changes in this revision