Stock purchasing

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

Товарные строки продажи ядра с раскладкой отгруженного по порядку состава, отгрузки склада по продаже, признак резерва и доступность «Отгрузить» (can_ship, ship_blocked: closed, no_goods, shipped, no_counterparty, no_company; черновик отгружается — дверь его подтвердит). ship_warehouse — склад, с которого пойдёт отгрузка, если его не назвать: склад продажи, склад её резерва, склад по умолчанию юрлица или склад юрлица, где свободного остатка хватает на все оставшиеся строки (source: order, reservation, policy, stock); нет такого — поля нет. Документооборот не нужен.

get/api/v1/stock/sales/{id}/shipping

Request

  • Base URL: https://erp.akeda.ru
  • URL: https://erp.akeda.ru/api/v1/stock/sales/{id}/shipping
  • Auth: one of:
    • HTTP bearer
    • API key in header X-Api-Key
    • OAuth 2 (authorization code, authorization URL https://erp.akeda.ru/oauth2/authorize, token URL https://erp.akeda.ru/oauth2/token, scopes: akeda:delegate)
    • HTTP bearer

Path parameters

idstring uuid required

Headers

X-Tenantstring required

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

Response

Исполнение продажи складом

order_idstring uuid required
numberstring required
datestring required
statestring required
contact_idstring uuid required
contact_namestring
company_idstring uuid
warehouse_idstring uuid
warehouse_notestring
channel_idstring uuid
channel_namestring
channel_condition_idstring uuid
channel_condition_namestring
reservedboolean required
can_shipboolean required
ship_blockedstring

Changes

No recorded changes to this operation across all 1 revision of this API.