Update Shipping Courier
This endpoint updates an order with shipping courier information. The Clearpay team may utilise this information when providing support.
Successful Response (200)
Returns a Payment object in response.
Connection Timeouts
| Timeout | Time (Seconds) |
|---|---|
| Open | 10 |
| Read | 20 |
Errors
In addition to the PUT/POST Errors applicable to all PUT endpoints, the following errors are specific to Update Shipping Courier:
| HTTP Status Code | errorCode | Description |
|---|---|---|
| 422 <br />Unprocessable Entity | invalid_object | A value for shippedAt was provided, but not a valid ISO 8601 date. Or, a value for priority was provided, but wasn't one of "STANDARD" or "EXPRESS". |
| 412 <br />Precondition Failed | precondition_failed | No Clearpay Order was found matching the orderId provided. |
put/v1/payments/{orderId}/courier
Request
- Base URL: https://global-api-sandbox.afterpay.com
- URL: https://global-api-sandbox.afterpay.com/v1/payments/{orderId}/courier
- Auth: HTTP basic
Path parameters
orderIdstring required
The unique Clearpay Order ID to update.
Headers
User-Agentstring required
Acceptstring
Request body
Response
Successful response
Changes
No recorded changes to this operation across all 1 revision of this API.