Extend Order
Order items that have not been activated will expire on the expiration date of the order. If you need to extend the expiration date on the order you should use this endpoint.
Extend Order​
To extend an order, call the extend endpoint. The response will contain an updated order model.
Please note
This can only be done on orders with status NotActivated
or PartActivated
Example​
- Request
- Response
POST /manage/orders/{{orderId}}/extend HTTP/1.1
Host: api.uat.walleydev.com // (Please note! Different hostname in production)
Authorization: Bearer bXlVc2VybmFtZTpmN2E1ODA4MGQzZTk0M2VmNWYyMTZlMDE...
Status: 202 Accepted
/* Headers */
Location: /manage/orders/1b1f5ef6-92n1-4b46-b1dc-ae2e00c4c315
/* No body */
Http status code | Description |
---|---|
202 | Order extended |
401 | Unauthorized, token verification needed. See: Authentication for more information |
403 | Permissions needed e.g. trying to handle content for a store you don't have permission to |
404 | Order not found |
409 | Request with same idempotency key already in progress |
Data Model​
Request​
Request headers
Header | Required | Explanation |
---|---|---|
Authorization | Yes | Instructions on how to generate the Bearer token value can be found here |
Response​
The response will be 202 Accepted
for a successful cancel.