Deliveries API
Search
K
Comment on page

Destroy

You can destroy many routes, the route is eliminated and tasks changes to processing.

Endpoint

PUT /v1/routes/destroy

Request

Property
Type
Description
Required
Constraints
routes
array of string
list of route IDs created within the system
YES

Response

Property
Type
Description
code
string
Result code.
message
string
Result description.

Example

Request
200 Success
curl --location --request PUT 'https://api.shippify.co/v1/routes/destroy' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX=' \
--header 'Cookie: locale=es' \
--data-raw '{
"routes": [
"r-shiinc-2216524"
]
}'
{
"code": "OK",
"message": "Exitosamente"
}
Last modified 1mo ago