Change route status
You can use the endpoint to change the status of all deliveries on a route.
To cancel the route you can use this endpoint with canceled status.
Endpoint
Request
Params
Property | Type | Description | Required | Constraints |
---|---|---|---|---|
id | string | Id of the route created within the system | YES |
Body
Property | Type | Description | Required | Constraints |
---|---|---|---|---|
status | string | Status code you want to change to. | YES | You can see all status code in this table. Statuses |
comment | string | Short description of the change. | YES | |
author | object | Information of the operator who makes the change. | YES |
Response
Property | Type | Description |
---|---|---|
code | string | Result code. |
message | string | Result description. |