Partner Checkout
Partner endpoints for checkout flows — initiate, update, and validate checkout baskets within the partner organisation context.
Create or update a checkout basket using partner credentials. Uses the same checkout flow as the public endpoint but authenticated via partner token. The basket is associated with the partner organisation context.
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 Authentication.
Pass the token in the Authorization header: Bearer <token>
Create a new basket
Basket created or updated successfully.
The unique ID of the created or updated basket.
basket-a1b2c3d4e5f6Unauthorized: 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.
POST /api/partner/checkout/initiate HTTP/1.1
Host: your-environment.prod.limio.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 514
{
"order": {
"orderItems": [
{
"offer": {
"id": "a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4e5f6a1b2",
"version": "f6e5d4c3b2a1f6e5d4c3b2a1f6e5d4c3b2a1f6e5"
},
"quantity": 1,
"type": "offer"
}
],
"external_id": "1234567890",
"tracking": {
"offers": [
"/offers2/$75 for 52 weeks then $31.96 every 4 weeks autorenew"
],
"purchaseCountryCode": "GB",
"accountId": "0017x00000Q9O9qAAF",
"zuoraAccountNumber": "A00001234",
"contactId": "0037x00000F58M9AAJ",
"userId": "0057x0000088Oh3AAE"
},
"country": "GB",
"source": "shop",
"order_type": "new"
},
"expiresAfter": {
"days": 7
}
}{
"id": "basket-a1b2c3d4e5f6",
"order": {
"orderItems": [
{}
]
}
}Update an existing partner checkout basket with order item actions: add items, remove items, or change quantities. Uses partner authentication.
If you do not hold the basket id, the call that created the basket answers it, together with a recoveryLink for the customer.
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 Authentication.
Pass the token in the Authorization header: Bearer <token>
Landing state cookie containing the basketId.
Basket updated successfully.
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.
PUT /api/partner/checkout/update HTTP/1.1
Host: your-environment.prod.limio.com
Authorization: Bearer YOUR_SECRET_TOKEN
Cookie: text
Content-Type: application/json
Accept: */*
Content-Length: 149
{
"orderActions": [
{
"orderItemActionType": "add",
"offerId": "text",
"orderItemId": "text",
"quantity": 1,
"type": "offer",
"parentId": "text",
"version": "text"
}
]
}{
"id": "text",
"order": {},
"orderActionResults": [
{
"id": "text",
"actionType": "text"
}
]
}Validate a partner checkout basket before order submission. Checks product availability, pricing validity, and returns any blocked products or validation errors.
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 Authentication.
Pass the token in the Authorization header: Bearer <token>
The basket ID to validate (format basket-{uuid}).
^basket-[A-Za-z0-9\-_]{32,36}$Validation result returned.
The basket ID.
The current basket state.
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.
POST /api/partner/checkout/validate/{id} HTTP/1.1
Host: your-environment.prod.limio.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"id": "text",
"checkout": {},
"invalid": {
"blockedProducts": [
"text"
]
}
}Last updated
Was this helpful?

