Checkout
Update Checkout
Update a checkout.
post/checkout/{checkout_id}/update
Request
- Base URLhttps://sandbox.affirm.com/api/v2
- URLhttps://sandbox.affirm.com/api/v2/checkout/{checkout_id}/update
- AuthHTTP basic
Path parameters
checkout_idstring required
A checkout_token that represents the purchase and customer information on purchase (e.g tokenization).
Request body
Example request
{
"order_id": "A1B2C3D4",
"shipping_carrier": "USPS",
"shipping_confirmation": "C12345678901234",
"shipping": {
"address": {
"city": "San Francisco",
"country": "USA",
"line1": "123 Example Street",
"line2": "Apt 123",
"state": "CA",
"zipcode": "94107"
},
"email": "test@example.com",
"phone_number": "1234567890"
}
}Response
HTTP 200 OK
Example response
{
"created": "2021-10-13T20:48:13.000Z",
"order_id": "ABC123",
"shipping_confirmation": "1Z23223",
"shipping": {
"name": {
"full": "John Doe"
},
"address": {
"line1": "123 Example Street",
"line2": "Apt 123",
"city": "San Francisco",
"state": "CA",
"zipcode": "94107",
"country": "USA"
},
"email": "test@example.com",
"phone_number": "1234567890"
},
"shipping_carrier": "USPS",
"type": "update",
"id": "4V776PBJV0DFH0G8"
}Changes
No recorded changes to this operation across all 1 revision of this API.