Adds route plans
Adds info about route plans.
Request
POST
https://courier.yandex.ru/api/v1/companies/{company_id}/route-plans
Path parameters
Name |
Description |
company_id* |
Type: integer<int64> The ID of the company that is used in requests to the Track & Trace API. |
RoutePlans
Route plan.
Name |
Description |
nodes* |
Type: any[] Planned route nodes. |
number* |
Type: string Route number. |
Responses
200 OK
Route plans were added.
401 Unauthorized
Authorization failed. Send the correct OAuth token in the authorization header.
403 Forbidden
You do not have access to this object.
422 Unprocessable Entity
Incorrect input.
No longer supported, please use an alternative and newer version.
Was the article helpful?
Previous
Next