Partner Subscription Checkout

APIs for partners to manage subscription checkout flows

Retrieve existing subscription update checkout basket (Partner)

get

Partner endpoint to fetch existing basket by basketId from landing state cookie. Used to retrieve current checkout state after page refresh or navigation.

Requires partner authentication.

Authorizations
AuthorizationstringRequired

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>

Header parameters
CookiestringRequired

Landing state cookie containing basketId

Responses
chevron-right
200

Basket retrieved successfully

application/json
completedbooleanOptional

Whether the checkout is completed

get
/partner/checkout/subscription

Initiate subscription update checkout (Partner)

post

Partner endpoint to create a new basket for subscription updates with available upgrade/downgrade options. This is the first step in updating a subscription - it creates a basket and returns available actions.

Returns:

  • Basket with available upgrades, downgrades, cross-sells, and add-ons

  • Sets landing state cookie with basketId for subsequent requests

Status 423: Subscription has pending change (locked until date passes)

Requires partner authentication.

Authorizations
AuthorizationstringRequired

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>

Header parameters
xLimioRecaptchastringRequired

reCAPTCHA token for bot prevention

xForwardedForstringOptional

Client IP address

refererstringOptional

Referrer URL for journey tracking

Body
trackingobjectOptional

Optional tracking data for analytics and reporting

Responses
chevron-right
200

Checkout basket created successfully

application/json
post
/partner/checkout/subscription

Update subscription checkout basket (Partner)

put

Partner endpoint to update existing basket with order items (add/remove offers and add-ons).

Business Logic:

  • Only 1 add offer allowed per request

  • System auto-adds remove action for current subscription offer when adding new offer

  • System auto-removes incompatible add-ons when switching subscription offers

  • System calculates prices, line items, and effective dates

  • Cross-sells are recalculated based on updated basket

Requirements:

  • basketId must be present in landing state cookie (from POST response)

  • Basket must be accessible by partner

Requires partner authentication.

Authorizations
AuthorizationstringRequired

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>

Header parameters
xLimioRecaptchastringRequired

reCAPTCHA token for bot prevention

CookiestringRequired

Landing state cookie containing basketId

Body
Responses
chevron-right
200

Basket updated successfully

application/json
completedbooleanOptional

Whether the checkout is completed

put
/partner/checkout/subscription

Last updated

Was this helpful?