# Returns

Returns a response Object `object`

Response object child attributes

> ***> 
> success `Boolean`
> 
> Boolean value indicating the success of the order insert
> 
> * * *
> 
> orderId `Integer`
> 
> Unique Identifier for the particular order
> 
> * * *
> 
> response `String`
> 
> String 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"

}
```
