Upsert order details for a checkout session
| Time | Status | User Agent | |
|---|---|---|---|
| Make a request to see history. |
URL Expired
The URL for this request expired after 30 days.
checkoutSessionId
string
required
shippingAddress
object
Address with all fields optional
billingAddress
object
Address with all fields optional
lineItems
array of objects | null
Array of line items, each being either airline, car rental, lodging, or product data
ADD AirlineLineItemDto | CarRentalLineItemDto | LodgingLineItemDto | ProductLineItemDto
accept
string
enum
Defaults to application/json
Generated from available response content types
Allowed:
application/json application/problem+json
200 Order details updated successfully
400 Bad Request
401 Unauthorized
403 Forbidden
404 NotFound
409 Conflict
500 Internal Server Error
Base URL
https://api.superpayments.com/2026-04-01/checkout-sessions/{checkoutSessionId}/order-details
xxxxxxxxxx
curl --request POST \
--url https://api.superpayments.com/2026-04-01/checkout-sessions/checkoutSessionId/order-details \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '
{
"shippingAddress": {
"addressLine1": null,
"addressLine2": null,
"addressLine3": null,
"city": null,
"country": null,
"postCode": null,
"firstName": null,
"lastName": null,
"phone": null,
"email": null
},
"billingAddress": {
"addressLine1": null,
"addressLine2": null,
"addressLine3": null,
"city": null,
"country": null,
"postCode": null,
"firstName": null,
"lastName": null,
"phone": null,
"email": null
}
}
'
application/json
``200
application/problem+json
400401403404``500