Stock documents
Обновить статусы отправлений у СДЭК
Changed onПеречитать у СДЭК трек, статус и стоимость (ERP-2925), а у вызванного курьера — номер и статус заявки: названных ids или всех незавершённых заведённых отправлений, не больше 50 за раз. Сбой по одному отправлению не останавливает остальные. Право — stock.shipment, stock.writeoff или stock.transfer.
post/api/v1/stock/carrier-shipments/refresh
Request
- Base URLhttps://erp.akeda.ru
- Auth
- HTTP bearer
- or API key in header X-Api-Key
- or OAuth 2Authorization codehttps://erp.akeda.ru/oauth2/authorizeToken URLhttps://erp.akeda.ru/oauth2/tokenScopesakeda:delegate
- or HTTP bearer
Headers
X-Tenant, string required
Slug выбранного кабинета; кабинет не является юрлицом
Request body
Stock Carrier IDs required
ids, UUID[]
Response
Обновлённые отправления
Stock Carrier Refresh Result required
items, Stock Carrier Shipment[] required
count, integer required
Changes
- info
added the required property
items/items/shipment_pointto the response with the status - info
added the required property
items/items/shipment_point_addressto the response with the status
- info
- info
added the optional property
items/items/from_city_codeto the response with the status
6 more changes in this revision
- info