Vai al contenuto principale
POST
Checkout

Autorizzazioni

Authorization
string
header
obbligatorio

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Cookie

cx_cart
string | null
cx_ref
string | null

Corpo

application/json

Payload sent by the client to initiate checkout.

shipping_address
AddressSchema · object
obbligatorio
billing_address
AddressSchema · object | null
coupon_code
string | null
notes
string | null
locale
string | null
payment_method
string
predefinito:stripe
customer_email
string<email> | null
subscribe_recurring_id
string<uuid> | null
affiliate_code
string | null

Risposta

Successful Response

data
CheckoutResponse · object | null

Response from POST /checkout — contains everything the frontend needs.

meta
PaginationMeta · object | null
error
string | null
error_code
string | null