New Subscription
OAuth 2.0 Bearer token for authenticated API access. Required for order submission, object management, and administrative operations.
Obtain a token via the OAuth flow described in OAuth Bearer Token.
Pass the token in the Authorization header: Bearer <token>
Create a new basket
Checkout basket created successfully.
The unique ID of the created basket.
basket-a1b2c3d4e5f6URL path for the customer to recover and resume this checkout session. Includes a signed token valid for 30 days.
/api/checkout/recover?basketId=basket-a1b2c3d4e5f6&recover=eyJ...URL path for assisted checkout (on-behalf-of flow). Only returned when tracking.accountId is provided in the request, which resolves or creates a basket owner. The signed token is valid for 30 days.
/api/checkout/assisted?basketId=basket-a1b2c3d4e5f6&cl=eyJ...Unauthorized — the request lacks valid authentication credentials. Verify your Bearer token or API key is correct and has not expired.
Bad Gateway — an upstream service returned an unexpected response. This typically indicates an issue with the request payload (e.g. invalid field values, missing required fields) or a transient infrastructure error. Retry the request, and if the issue persists, verify the request body matches the expected schema.
OAuth 2.0 Bearer token for authenticated API access. Required for order submission, object management, and administrative operations.
Obtain a token via the OAuth flow described in OAuth Bearer Token.
Pass the token in the Authorization header: Bearer <token>
The promotional code to apply.
SUMMER20The basket ID to apply the promo code to.
basket-a1b2c3d4e5f6Promo code applied successfully.
The basket ID.
Invalid or expired promo code.
Unauthorized — the request lacks valid authentication credentials. Verify your Bearer token or API key is correct and has not expired.
Basket not found.
Bad Gateway — an upstream service returned an unexpected response. This typically indicates an issue with the request payload (e.g. invalid field values, missing required fields) or a transient infrastructure error. Retry the request, and if the issue persists, verify the request body matches the expected schema.
Last updated
Was this helpful?

