Stock documents

Получить отправления СДЭК

Changed on

Список «Склад → Отгрузки → СДЭК» (ERP-2925), новые сверху: куда, получатель, документ и продажа, трек, статус у СДЭК, стоимость, текст отказа, забор курьером и заявка на вызов курьера. Фильтры: state через запятую (planned, created, failed, cancelled), order_id, document_id, q — трек, получатель, телефон, город, контрагент, номер документа или продажи. Незнакомое состояние — 400.

get/api/v1/stock/carrier-shipments

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

state, string

Состояния через запятую: planned, created, failed, cancelled

order_id, string uuid
document_id, string uuid
q, string
limit, integer
offset, integer

Headers

X-Tenant, string required

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

Response

Страница отправлений

StockCarrierShipmentPage required
items, StockCarrierShipment[] required
total, integer required

Changes

    • info

      added the required property items/items/shipment_point to the response with the status

    • info

      added the required property items/items/shipment_point_address to the response with the status

    • info

      added the optional property items/items/from_city_code to the response with the status

    6 more changes in this revision