Endpoints Reference
Checkout

Complete Checkout

POST
/v1/{siteEnv}/{siteId}/checkout/complete

This endpoint is called at the final step once the customer attempts to complete the order. If the payment type is upfrontPayment the customer should be directed to the checkout flow to complete payment. Alternatively, an order can be created there and then for other systems to manage payments.

At this point, either redirect the user to a URL to complete the transaction or return a ID of the order being created on the platform.

Path Parameters
siteEnv
*
siteId
*
Body Parameters
body
*
Description
Checkout
All Of
Checkout +
cart_id
customer
All Of
Customer +
currency_code
billing_address
shipping_address
shipping_line
Any Of
ShippingLineSparkLayer
shop
line_items
ignite_state
Responses
201
Checkout complete success
All Of
object +
401
Auth Failure
500
System Exception