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.
Works on
NotActivated and PartActivated ordersAny other status is rejected. See Order lifecycle for what each status means.
Exampleβ
- Request
- Response
POST /manage/orders/{{orderId}}/extend HTTP/1.1
Host: api.uat.walleydev.com // Test environment. Production uses a different hostname.
Authorization: Bearer {{accessToken}}
HTTP/1.1 202 Accepted
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 | No permission for this store |
| 404 | Order not found |
| 409 | Request with same idempotency key already in progress |
Data Modelβ
Requestβ
Request headersβ
| Header | Required | Explanation |
|---|---|---|
| Authorization | Yes | See Authentication for how to generate the Bearer token value |
Responseβ
The response will be 202 Accepted for a successful extension.