Comment on page
Destroy
You can destroy many routes, the route is eliminated and tasks changes to processing.
PUT /v1/routes/destroy
Property | Type | Description | Required | Constraints |
---|---|---|---|---|
routes | array of string | list of route IDs created within the system | YES | |
Property | Type | Description |
---|---|---|
code | string | Result code. |
message | string | Result description. |
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