Gets order sequence
Gets predefined order sequence from the route.
HTTP Request
GET https://courier.yandex.ru/api/v1/companies/{company_id}/routes/{route_id}/order-sequence
Path Parameters
company_id * | integer The ID of the company that is used in requests to the Track & Trace API. |
route_id * | integer The ID of the route that is used in requests to the Track & Trace API. |
* Required parameter
Responses
Code 200
Returns list of order IDs.
{ "order_ids": [ "integer" ], "order_numbers": [ "string" ] }
Copied to clipboard
Representation
Collapse all
Fields
* Required parameter
Code 401
Authorization failed. Send the correct OAuth token in the authorization header.
Code 403
You do not have access to this object.
Code 404
No object found.