Full Cart API
Complete Order
Completes checkout for Full Cart API with advanced features
POST
Complete Order
Overview
Completes the checkout process for carts using the Full Cart API. This endpoint supports advanced cart features including shipments, addons, and complex product configurations.Authentication
Path Parameters
Request Body
JWE-encrypted credit card data using the public key from Get Public Key endpoint
Billing address informationRequired fields:
first_name(string): Customer’s first namelast_name(string): Customer’s last nameemail(string): Email addressphone(string): Phone numberaddress1(string): Primary address linecity(string): City namestate_or_province(string): State/province codecountry(string): Country name or codepostal_code(string): ZIP or postal code
address2(string): Secondary address linecompany(string): Company name
Response
Returns an order confirmation with Full Cart API structure including:Credit Card Encryption
The credit card must be encrypted as a JWE token with the following structure:Code Example
Prerequisites
Before calling this endpoint:- Cart must have at least one item
- All shipments must have shipping information set
- Required addons (if any) must be selected
- Tax calculations must be current
Error Responses
Related Endpoints
- Get Public Key - Get encryption key
- Set Shipping Info - Add delivery address
- Add Line Item - Add products to cart
- Add Addon - Select addon services