This endpoint updates an order with shipping courier information. The Afterpay team may utilise this information when providing support.

Successful Response (200)

Returns a Payment object in response.

Connection Timeouts

TimeoutTime (Seconds)
Open10
Read20

Errors

In addition to the PUT/POST Errors applicable to all PUT endpoints, the following errors are specific to Update Shipping Courier:

HTTP Status CodeerrorCodeDescription
412
Precondition Failed
precondition_failedNo Afterpay Order was found matching the orderId provided.
422
Unprocessable Entity
invalid_objectA 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".
Language
Authorization
Basic
base64
:
Click Try It! to start a request and see the response here!