Update order
PUT/v1/orders/:orderReference
Overview
Use this endpoint to update an orders details or to cancel an order.
In order to update an order you require the order reference value that was provided at the point in time the order was created.
There are timeframes within which you can make these changes.
Cancellation
You can cancel an order before it has been sent for fulfilment - you can determine if this has happened through our OrderEvent message sent to your webhook endpoint.
If you attempt to cancel an order which cannot be cancelled then you will receive a 400 Bad Request response.
Shipping Details
You can update the shipping details on an order before it has been sent for fulfilment - you can determine if this has happened through our OrderEvent message sent to your webhook endpoint.
If you attempt to cancel an order which cannot be cancelled then you will receive a 400 Bad Request response.
Contact Details
You can update the contact details on an order (email or mobileTelephone) at any time.
Request
Responses
- 202
- 400
- 401
- 403
- 404
- 415
- 429
- 500
Accepted
The request was not valid
Response Headers
Invalid authentication details have been used to make this request
Response Headers
You are not allowed to carry out this operation
Response Headers
This resource could not be found
Response Headers
The request was sent in a format which is not understood/accepted by the service
Response Headers
You have sent too many requests to the service and must wait before sending any more.
Response Headers
An error has occured that is stopping your request from being processed.