Deliveries API
Search
K
Comment on page

Change delivery status

You can use the endpoint to change the status to delivery.
To cancel the task you can use this endpoint with canceled status.

Endpoint

PATCH /v1/deliveries/:id/status

Request

Params

Property
Type
Description
Required
Constraints
id
string
Id of the task 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.

Example

Request
200 Success
curl --location --request PATCH 'https://api.shippify.co/v1/deliveries/t-pruaas-4973/status' \
--header 'Authorization: Basic XXXXXXXXXXXXXXXXXXXXXXXXXXX=' \
--header 'Content-Type: application/json' \
--header 'Cookie: locale=es' \
--data-raw '{
"status": "processing",
"comment": "TEST",
"author": {
"email": "[email protected]",
"id": 999,
"name": "Test operator",
"type": "operator"
}
}'
{
"code": "OK",
"message": "Success"
}