Order Status Update
Returns
Returns a response Object object
Response object child attributes
***> success
BooleanBoolean value indicating the success of the order insert
orderId
IntegerUnique Identifier for the particular order
response
StringString stating the updated value of the order status
| Possible enum values of 'status' |
|---|
| STARTED |
| PICKED_UP |
| READY_TO_DELIVER |
| ALREADY_DELIVERED |
| INCOMPLETE |
| FAILED_DELIVERY |
orderId
string
required
status
string
required
Defaults to STARTED
Status of the order
``200 200
object
orderId
integer
Defaults to 0
success
boolean
Defaults to true
response
string
``400 400
Shell
xxxxxxxxxx
curl --location --request PUT 'https://api.shipday.com/orders/16039690/status' \
--header 'Authorization: Bearer TkauNMKeSg.DdTG8Xq9esATXYO9Cdnu' \
--header 'Content-Type: application/json' \
--header 'accept: application/json' \
--data '{
"status": "STARTED"
}'
xxxxxxxxxx
{
"orderId": 16039690,
"success": true,
"response": "UPDATED STATUS: STARTED"
}