Destroy

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

Endpoint

PUT {{SHIPPIFY_API_URL}}/v1/routes/destroy

Request

PropertyTypeDescriptionRequiredConstraints

routes

array of string

list of route IDs created within the system

YES

Response

PropertyTypeDescription

code

string

Result code.

message

string

Result description.

Example

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"
    ]
}'