Update Shipping Courier

This endpoint updates an order with shipping courier information. The Afterpay team may use this information when providing support. **Connection Timeouts** | Timeout | Time (Seconds) | |---------|----------------| | Open | 10 | | Read | 20 |

Authentication

AuthorizationBasic

Basic authentication of the form Basic <base64(username:password)>.

Path parameters

orderIdstringRequired
The unique Afterpay Order ID to update.

Headers

User-AgentstringRequired
AcceptenumOptional
Allowed values:

Request

shippedAtdatetimeOptional
namestringOptional<=128 characters
trackingstringOptional<=128 characters
priorityenumOptional

Response

Returns a Payment object in response.
idstringOptional
The unique, permanent, Afterpay generated Order ID.
tokenstringOptional
The token obtained from the checkout call
statusenumOptional
represents the status of the order
createdstringOptional
is the UTC timestamp of when the payment was completed.
originalAmountobjectOptional
Object containing amount and currency
openToCaptureAmountobjectOptional
Object containing amount and currency
paymentStateenumOptionalRead-only
is the current state for capturing payments
merchantReferencestringOptional

is the merchant’s order id/reference that the payment corresponds to.

refundslist of objectsOptional
orderDetailsobjectOptional
This comprehensive schema is designed to store an entire transaction's detail, covering crucial aspects like consumer information, billing and shipping details, courier particulars, item list, discounts, tax, and shipping amount.
eventslist of objectsOptional

Errors

412
Precondition Failed Error
422
Unprocessable Entity Error