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

Log in to see full request history

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".
Path Params
string
required

The unique Afterpay Order ID to update.

Query Params
string

The date and time when the order was shipped, in ISO 8601 format.

string

The name of the shipping courier.

string

The shipping tracking number provided by the courier.

string

The shipping priority. If provided, must be either "STANDARD" or "EXPRESS".

Headers
string
required
Defaults to application/json
string
required
Defaults to Readme.io API Simulator
string
Defaults to application/json
Language
Credentials
:
Click Try It! to start a request and see the response here!