Download OpenAPI specification:Download
A collection of APIs designed for interacting with Limio services.
Submit an order directly to Limio. This will apply the changes immediately and can be used to update a subscription, change the offer, or update customer details.
Create a new subscription
OK
Unauthorized
Not found
Bad Gateway
{- "external_id": "string",
- "initiated_source": "string",
- "source": "string",
- "process_immediately": true,
- "order_type": "new",
- "orderItems": [
- {
- "offer": {
- "id": "8a512ee55befaea0f7fa962cea9982d0e84f0098",
- "version": "4dd34671f26fdbbf240560b78f7f2f54654cde72"
}, - "quantity": 1
}
], - "orderDiscount": {
- "name": "TEST123",
- "productDetails": {
- "ratePlan": {
- "path": "30% Off Monthly"
}, - "product": {
- "path": "/products/Discounts"
}
}, - "product": {
- "baseTemplate": "/config/templates/products/default",
- "entitlements": [
- {
- "$ref": "/entitlements/Digital"
}
], - "path": "/products/Digital",
- "created": "2023-12-11T13:44:43+00:00",
- "modified": "2024-01-15T13:56:18+00:00",
- "attributes": {
- "display_name__limio": "Digital",
- "has_delivery__limio": false,
- "product_code__limio": "LI.DIGITAL"
}, - "record_type": "product",
- "lastSynced": "2024-03-12T16:00:35.232Z",
- "synced": true,
- "syncedFrom": "2c92c0f9778c090d0177aa4f357d043b"
}, - "discountOverrides": {
- "discountType": "DiscountPercentage",
- "durationLength": 1,
- "durationType": "Months",
- "percentageDiscount": 10,
- "amountDiscount": 10,
- "currency": "USD",
- "orderItemsWithSpecifiedDiscount": {
- "discountedOffers": [ ]
}
}
}, - "billingDetails": {
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "phone": "string",
- "company": "string",
- "address1": "string",
- "address2": "string",
- "city": "string",
- "state": "string",
- "postalCode": "string",
- "country": "string"
}, - "deliveryDetails": {
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "phone": "string",
- "company": "string",
- "address1": "string",
- "address2": "string",
- "city": "string",
- "state": "string",
- "postalCode": "string",
- "country": "string"
}, - "customerDetails": {
- "firstName": "string",
- "lastName": "string",
- "phone": "string",
- "email": "string"
}, - "tracking": {
- "offers": [
- "/offers2/$75 for 52 weeks then $31.96 every 4 weeks autorenew"
], - "purchaseCountryCode": "GB",
- "accountId": "0017x00000Q9O9qAAF",
- "contactId": "0037x00000F58M9AAJ",
- "userId": "0057x0000088Oh3AAE"
}, - "payment": {
- "type": "zuora",
- "zuora": {
- "refId": "2c92c0f96e4e3b7f016e5f3b3b7b0b3d",
- "paymentGateway": "CreditCard_UK"
}
}, - "orderDate": "2020-01-01T00:00:00Z",
- "checkoutId": "basket-22e3d318-92e2-4909-b59c-1265623bc3f6",
- "country": "GB"
}
{- "id": "string",
- "order_reference": "string",
- "status": "string",
- "external_id": "string",
- "subscriptionReference": "string",
- "owner": "string"
}
Preview an order in Limio to see the changes that will be applied. This can be used to show the user what will happen before they confirm the order, including changes to future charges, the effective date of the change, and any other details.
external_id | string external order reference |
initiated_source | string initiated source of the order. "shop" and "salesforce" used by limio. |
source | string source of the order. "shop" and "salesforce" used by limio. |
process_immediately | boolean if true the order is processed synchronously |
order_type required | string |
required | SubscriptionByName (object) or SubscriptionById (object) Subscription to update |
required | object (OfferPayload) Details of a published Limio Offer |
effectiveDate | string <date-time> The date on which the Offer change will be effective. If not provided, the change will be effective at the end of the current term. |
OK
Unauthorized
Not found
Bad Gateway
{- "external_id": "string",
- "initiated_source": "string",
- "source": "string",
- "process_immediately": true,
- "order_type": "change_offer",
- "forSubscription": {
- "name": "string"
}, - "offer": {
- "id": "8a512ee55befaea0f7fa962cea9982d0e84f0098",
- "version": "4dd34671f26fdbbf240560b78f7f2f54654cde72"
}, - "effectiveDate": "2019-08-24T14:15:22Z"
}
{- "preview": {
- "success": true,
- "orderNumber": "67JKSCLQESR0",
- "orderId": "8ad0887e850fc589018512981a1b4acb",
- "accountNumber": "A-000000000",
- "status": "active",
- "subscriptions": [
- {
- "status": "active",
- "subscriptionId": "8ad0887e850fc589018512981a1b4acb",
- "subscriptionNumber": "S-000000000"
}
], - "paymentNumber": "P-000000000",
- "paymentId": "8ad0887e850fc589018512981a1b4acb",
- "paidAmount": "19.99",
- "previewResult": {
- "invoices": [
- {
- "amount": 19.99,
- "amountWithoutTax": 19.99,
- "targetDate": "2020-05-01",
- "taxAmount": 0,
- "invoiceItems": {
- "additionalInfo": {
- "quantity": 1,
- "unitOfMeasure": "Each"
}, - "amountWithoutTax": 19.99,
- "chargeDescription": "Monthly subscription",
- "chargeName": "Charge",
- "chargeNumber": "C-000000000",
- "processingType": "Charge",
- "productName": "Product",
- "productRatePlanChargeId": "2c98901f6706718c016706b91c6e001f",
- "serviceEndDate": "2020-05-01",
- "serviceStartDate": "2020-05-01",
- "subscriptionNumber": "S-000000000",
- "taxAmount": 0,
- "unitPrice": 19.99
}
}
], - "creditMemos": [
- {
- "amount": 19.99,
- "amountWithoutTax": 19.99,
- "targetDate": "2020-05-01",
- "taxAmount": 0,
- "creditMemoItems": [
- {
- "additionalInfo": {
- "quantity": null,
- "unitOfMeasure": null
}, - "amountWithoutTax": 19.99,
- "chargeDescription": "Monthly subscription",
- "chargeName": "Charge",
- "chargeNumber": "C-000000000",
- "processingType": "Charge",
- "productName": "Product",
- "productRatePlanChargeId": "2c98901f6706718c016706b91c6e001f",
- "serviceEndDate": "2020-05-01",
- "serviceStartDate": "2020-05-01",
- "subscriptionNumber": "S-000000000",
- "taxAmount": 0,
- "unitPrice": 19.99
}
]
}
]
}
}, - "schedule": [
- {
- "date": "2020-05-01",
- "schedule_date": "2020-05-01",
- "type": "Schedule",
- "description": "Schedule",
- "amount": "19.99",
- "taxAmount": 0,
- "amountWithoutTax": "19.99",
- "currency": "GBP",
- "lineItems": [
- {
- "amountWithoutTax": 19.99,
- "processingType": "Charge",
- "taxAmount": "0.00",
- "chargeDescription": "Charge",
- "chargeName": "Charge",
- "productName": "Product",
- "quantity": 1
}
], - "quantity": 1,
- "reference": "S-000000000",
- "unit_amount": "19.99"
}
]
}
This API can be used to see all of the subscriptions that are attached to a specified Salesforce ID.
OK
Unauthorized
Bad Gateway
{- "subscriptions": [
- {
- "name": "2TJ25TK632EG",
- "start": "2024-02-12",
- "data": {
- "name": "Digital Monthly UK multiple",
- "tracking": {
- "offers": [
- "/offers2/Digital Monthly UK multiple"
], - "purchaseCountryCode": "GB",
- "accountId": "0018c000031m4fHAAQ",
- "contactId": "0038c00003WEiIPAA1",
- "userId": "0058c00000ADNGKAA5"
}, - "offer": {
- "mode": "production",
- "path": "/offers2/Digital Monthly UK multiple",
- "data": {
- "price__limio": [
- null
], - "created": "2024-02-28T15:22:14+00:00",
- "duplicatedFrom": "/offers2/$75 for 52 weeks then $31.96 every 4 weeks autorenew",
- "type": "item",
- "version": "64e79ce3cbe2474c5b5fcbc5af229ec0d2439b12",
- "record_type": "offer",
- "productBundles": [
- {
- "revenue_split": null,
- "product_path": null,
- "rate_plan": null
}
], - "products": [
- {
- "baseTemplate": null,
- "entitlements": [ ],
- "path": null,
- "created": null,
- "modified": null,
- "attributes": null,
- "record_type": null,
- "lastSynced": null,
- "synced": null,
- "syncedFrom": null
}
], - "baseTemplate": "/config/templates/offers/default",
- "path": "/offers2/$75 for 52 weeks then $31.96 every 4 weeks autorenew",
- "priceReference": "/offers2/$75 for 52 weeks then $31.96 every 4 weeks autorenew",
- "price": [
- null
], - "name": "$75 for 52 weeks then $31.96 every 4 weeks autorenew",
- "modified": "2024-03-08T10:53:37+00:00",
- "attributes": {
- "checkout_description__limio": "<p>Description</p>",
- "price__limio": [
- { }
], - "default_quantity_options__limio": null,
- "supportBillingFrequencyChange__zuora": true,
- "allowed_countries__limio": [
- null
], - "label__limio": [
- null
], - "term__limio": {
- "renewal_type": null,
- "renewal_trigger": null
}, - "display_price__limio": "<p>Display Price</p>",
- "cta_text__limio": "buy",
- "payment_types__limio": [
- null
], - "sales_channel__limio": [
- null
], - "display_name__limio": "$75 for 52 weeks then $31.96 every 4 weeks autorenew 1",
- "checkout__limio": {
- "checkout_type": null
}, - "initial_term__limio": {
- "renewal_type": null,
- "length": null,
- "renewal_trigger": null,
- "type": null
}, - "push_to_checkout__limio": true,
- "autoRenew__limio": true,
- "offer_type__limio": "standard"
}, - "id": "998f6ca141d60006e1e239b9f4b4e725bf1615d3",
- "user": "user@domain.com"
}, - "service": "limio",
- "created": "2024-01-24T10:18:17.578Z",
- "name": "Digital Monthly UK multiple",
- "id": "95dc800a5c77fd461744c9e0c638ac58c778eeaf",
- "type": "item",
- "updated": "2024-01-24T10:18:17.578Z",
- "version": "8f72261aebfba7069338ae0845ef31a15460b88e",
- "record_type": "offer",
- "status": "active"
}, - "quantity": 1,
- "termEndDate": "2024-03-12",
- "price": {
- "summary": {
- "headline": "<p>£5.99</p>"
}, - "currency": "GBP",
- "amount": 5.99
}, - "addOns": [ ],
- "termStartDate": "2024-02-12",
- "attributes": {
- "gift": false,
- "external": false
}, - "id": "bc371cb3-43a9-1c83-722a-b56eeb212dbb",
- "purchaseCountry": "GB",
- "startDate": "2024-02-12",
- "products": [
- {
- "baseTemplate": "/config/templates/products/default",
- "entitlements": [
- {
- "$ref": null
}
], - "path": "/products/Digital",
- "created": "2023-12-11T13:44:43+00:00",
- "modified": "2024-01-15T13:56:18+00:00",
- "attributes": {
- "display_name__limio": "Digital",
- "has_delivery__limio": false,
- "product_code__limio": "LI.DIGITAL"
}, - "record_type": "product",
- "lastSynced": "2024-03-12T16:00:35.232Z",
- "synced": true,
- "syncedFrom": "2c92c0f9778c090d0177aa4f357d043b"
}
], - "schedule": [
- {
- "data": {
- "date": "2019-08-24T14:15:22Z",
- "amountWithoutTax": "string",
- "lineItems": [
- null
]
}
}
], - "offers": [
- {
- "mode": "production",
- "path": "/offers2/Digital Monthly UK multiple",
- "data": {
- "price__limio": [
- null
], - "created": "2024-02-28T15:22:14+00:00",
- "duplicatedFrom": "/offers2/$75 for 52 weeks then $31.96 every 4 weeks autorenew",
- "type": "item",
- "version": "64e79ce3cbe2474c5b5fcbc5af229ec0d2439b12",
- "record_type": "offer",
- "productBundles": [
- { }
], - "products": [
- null
], - "baseTemplate": "/config/templates/offers/default",
- "path": "/offers2/$75 for 52 weeks then $31.96 every 4 weeks autorenew",
- "priceReference": "/offers2/$75 for 52 weeks then $31.96 every 4 weeks autorenew",
- "price": [
- null
], - "name": "$75 for 52 weeks then $31.96 every 4 weeks autorenew",
- "modified": "2024-03-08T10:53:37+00:00",
- "attributes": {
- "checkout_description__limio": null,
- "price__limio": [ ],
- "default_quantity_options__limio": null,
- "supportBillingFrequencyChange__zuora": null,
- "allowed_countries__limio": [ ],
- "label__limio": [ ],
- "term__limio": { },
- "display_price__limio": null,
- "cta_text__limio": null,
- "payment_types__limio": [ ],
- "sales_channel__limio": [ ],
- "display_name__limio": null,
- "checkout__limio": { },
- "initial_term__limio": { },
- "push_to_checkout__limio": null,
- "autoRenew__limio": null,
- "offer_type__limio": null
}, - "id": "998f6ca141d60006e1e239b9f4b4e725bf1615d3",
- "user": "user@domain.com"
}, - "service": "limio",
- "created": "2024-01-24T10:18:17.578Z",
- "name": "Digital Monthly UK multiple",
- "id": "95dc800a5c77fd461744c9e0c638ac58c778eeaf",
- "type": "item",
- "updated": "2024-01-24T10:18:17.578Z",
- "version": "8f72261aebfba7069338ae0845ef31a15460b88e",
- "record_type": "offer",
- "status": "active"
}
], - "address": [
- {
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "phone": "string",
- "company": "string",
- "address1": "string",
- "address2": "string",
- "city": "string",
- "state": "string",
- "postalCode": "string",
- "country": "string"
}
]
}, - "status": "active",
- "record_type": "subscription",
- "owner": "id-62401f8d5bf6b26a37ea0defd66fd005",
- "customer": "cus-3578da83e3e4f12dff39b314bb486ca6",
- "id": "sub-02ecc45ed0c313a8dc4dd84c45854796",
- "service": "limio",
- "ref": "order-4dd195c3eee4297e33aecb5436cf8092/bc371cb3-43a9-1c83-722a-b56eeb212dbb",
- "created": "2024-02-12T17:27:50.087Z",
- "updated": "2024-02-12T17:27:54.005Z",
- "reference": "2TJ25TK632EG",
- "mode": "production"
}
], - "customers": [
- {
- "data": {
- "name": "string",
- "email": "string",
- "firstName": "string",
- "lastName": "string",
- "purchaseCountry": "string",
- "trialist": true,
- "address": [
- {
- "record_type": "address",
- "id": "address-sadsdasdaasd",
- "relationship_id": "rel-4d84ed598c025e72561dedfe029e5ec0",
- "data": {
- "firstName": "First",
- "lastName": "Last",
- "country": "United Kingdom",
- "address2": "Address 2",
- "city": "City",
- "address1": "Address 1",
- "postalCode": "SW1A 1AA",
- "company": "string",
- "state": "State",
- "email": "user@domain.com"
}, - "related": "cus-238a6ee4b713ea8547b44ad1321d9a1d",
- "service": "limio",
- "start": "2019-08-24T14:15:22Z",
- "relationship_type": "billing",
- "mode": "production",
- "created": "2024-02-13T14:20:24.658Z",
- "status": "active",
- "owner": "id-3c0f1c952150f672a50224da2d7fd561",
- "customer": "cus-238a6ee4b713ea8547b44ad1321d9a1d",
- "updated": "2024-02-13T14:20:24.658Z",
- "reference": "6CR7JI0LQBB0"
}
]
}, - "status": "string",
- "record_type": "string",
- "owner": "string",
- "id": "string",
- "service": "string",
- "created": "string",
- "updated": "string",
- "reference": "string",
- "mode": "string"
}
]
}
This API can be used to add an external identity to an existing Limio identity. This can be used in this case where an organisation wants to purchase multiple subscriptions for their employees, and they want to link their existing Limio identity to their organisation's identity.
OK
Unauthorized
Not found
{
}
{- "name": "John Doe",
- "status": "active",
- "record_type": "identity",
- "record_variant": "@limio/external-id",
- "owner": "123456789012345678901",
- "id": "12345678901234564923810",
- "service": "limio",
- "created": "2021-01-01T00:00:00.000Z",
- "updated": "2021-01-01T00:00:00.000Z",
- "mode": "production"
}
Remove an external identity from an existing Limio identity
OK
Unauthorized
Not found
Bad Gateway
{
}
{ }
This API allows you to get a list of abandoned baskets in Limio and filter the results by the date the basket was created. An abandoned basket is one where a basket was started on the Limio checkout but the order was never completed.
You can use the Abandoned Baskets API for actions such as:
limit required | number The number of objects to return. Example: limit=10 |
createdAfter required | string <date-time> Filter items created after the provided ISO date-time string Example: createdAfter=2020-12-01T16:00 |
queryMore | string Retrieves the next page of results. Use the queryMore returned in the previous response. Example: queryMore=DnF1ZXJ5VGhlbkZldGNoBQAAAAAAGH |
OK
Unauthorized
Bad Gateway
{- "items": [
- {
- "id": "basket-8cf72b2a-eb57-462d-8e55-981c3b5e5364",
- "created": "2024-03-26T15:44:54.975Z",
- "customerDetails": {
- "email": "user@limio.com"
}, - "orderItems": [
- {
- "name": "The Offer",
- "path": "/offers2/The Offer",
- "products": [
- {
- "path": "/products/Digital All Access",
- "productCode": "SKU-00000001"
}
]
}
], - "tracking": { },
- "identities": [
], - "entry": "/checkout",
- "completed": false
}
], - "queryMore": {
- "from": "DnF1ZXJ5VGhlbkZldGNoBQAAAAAAGH_TFnZndVVMaWN4VFZDbnVIbGpRRDFaaUEAAAAAABh_1BZ2Z3VVTGljeFRWQ251 SGxqUUQxWmlBAAAAAAAYf9YWdmd1VUxpY3hUVkNudUhsalFEMVppQQAAAAAAGH_XFnZndVVMaWN4VFZDbnVIbGpRRDFa aUEAAAAAABh_1RZ2Z3VVTGljeFRWQ251SGxqUUQxWmlB",
- "alias": "catalog_test.test0.dev.limio.com"
}
}
This API allows you to get the entitlements of a user session. Entitlements are the rights and permissions that a user has to access certain resources or perform certain actions. This can be useful for understanding what a user is currently entitled to access.
OK
Unauthorized
Bad Gateway
{- "owner": "string",
- "entitlements": [
- {
- "code": "string",
- "startDate": "2019-08-24",
- "endDate": "2019-08-24",
- "effectiveDate": "2019-08-24",
- "type": "subscription"
}
]
}
These APIs allow you to retrieve specific objects in Limio. You can get a subscription, customer, order, identity, address, schedule, payment method, subscription offer, or user entitlement. You can also get a list of objects of a specific type using the Get Objects API.
service required | string Default: "limio" The service the object belongs to |
path_type required | string Enum: "orders" "customers" "subscriptions" "identities" "address" "schedules" "payment_methods" "subscription_offers" "user_entitlements" "gift_code" |
id required | string Example: sub-abcxyz123456 |
OK
Unauthorized
Bad Gateway
{- "name": "3V053CN9SFIG",
- "start": "2024-03-22",
- "data": {
- "name": "$75 for 52 weeks then $31.96 every 4 weeks autorenew",
- "tracking": {
- "offers": [
- "/offers2/$75 for 52 weeks then $31.96 every 4 weeks autorenew"
], - "purchaseCountryCode": "GB",
- "accountId": "0017x00000Q9O9qAAF",
- "contactId": "0037x00000F58M9AAJ",
- "userId": "0057x0000088Oh3AAE"
}, - "offer": {
- "mode": "production",
- "path": "/offers2/$75 for 52 weeks then $31.96 every 4 weeks autorenew",
- "data": {
- "price__limio": [
- null
], - "created": "2024-02-28T15:22:14+00:00",
- "duplicatedFrom": "/offers2/$75 for 52 weeks then $31.96 every 4 weeks autorenew",
- "type": "item",
- "version": "64e79ce3cbe2474c5b5fcbc5af229ec0d2439b12",
- "record_type": "offer",
- "productBundles": [
- {
- "revenue_split": "100",
- "product_path": "/products/Digital",
- "rate_plan": "$75 dollar per week"
}
], - "products": [
- {
- "baseTemplate": "/config/templates/products/default",
- "entitlements": [
- {
- "$ref": null
}
], - "path": "/products/Digital",
- "created": "2023-12-11T13:44:43+00:00",
- "modified": "2024-01-15T13:56:18+00:00",
- "attributes": {
- "display_name__limio": "Digital",
- "has_delivery__limio": false,
- "product_code__limio": "LI.DIGITAL"
}, - "record_type": "product",
- "lastSynced": "2024-03-12T16:00:35.232Z",
- "synced": true,
- "syncedFrom": "2c92c0f9778c090d0177aa4f357d043b"
}
], - "baseTemplate": "/config/templates/offers/default",
- "path": "/offers2/$75 for 52 weeks then $31.96 every 4 weeks autorenew",
- "priceReference": "/offers2/$75 for 52 weeks then $31.96 every 4 weeks autorenew",
- "price": [
- null
], - "name": "$75 for 52 weeks then $31.96 every 4 weeks autorenew",
- "modified": "2024-03-08T10:53:37+00:00",
- "attributes": {
- "checkout_description__limio": "<p>Description</p>",
- "price__limio": [
- {
- "delay_interval_type": "weeks",
- "name": "charge_1",
- "delay_interval": "2",
- "repeat_interval": 52,
- "attributes": [
- null
], - "label": "Charge 1",
- "trigger": "order_date",
- "repeat_interval_type": "weeks",
- "repeat_count": 1,
- "type": "recurring",
- "value": "75.00",
- "currencyCode": "USD"
}
], - "default_quantity_options__limio": null,
- "supportBillingFrequencyChange__zuora": true,
- "allowed_countries__limio": [
- "AX"
], - "label__limio": [
- "default"
], - "term__limio": {
- "renewal_type": "EVERGREEN",
- "renewal_trigger": "EXTERNAL"
}, - "display_price__limio": "<p>Display Price</p>",
- "cta_text__limio": "buy",
- "payment_types__limio": [
- "zuora_card"
], - "sales_channel__limio": [
- "Online"
], - "display_name__limio": "$75 for 52 weeks then $31.96 every 4 weeks autorenew 1",
- "checkout__limio": {
- "checkout_type": "standard"
}, - "initial_term__limio": {
- "renewal_type": "TERMED",
- "length": 52,
- "renewal_trigger": "EXTERNAL",
- "type": "weeks"
}, - "push_to_checkout__limio": true,
- "autoRenew__limio": true,
- "offer_type__limio": "standard"
}, - "id": "998f6ca141d60006e1e239b9f4b4e725bf1615d3",
- "user": "user@domain.com"
}, - "service": "limio",
- "created": "2024-03-12T17:30:40.337Z",
- "name": "$75 for 52 weeks then $31.96 every 4 weeks autorenew",
- "id": "998f6ca141d60006e1e239b9f4b4e725bf1615d3",
- "type": "item",
- "updated": "2024-03-12T17:30:40.337Z",
- "version": "121defc69da9962e4b78424234577aa7717f4daf",
- "record_type": "offer",
- "status": "active"
}, - "quantity": 1,
- "termEndDate": "2025-03-21",
- "price": {
- "summary": {
- "headline": "<p>Display Price</p>"
}, - "currency": "USD",
- "amount": 75
}, - "addOns": [ ],
- "termStartDate": "2024-03-22",
- "attributes": {
- "gift": false,
- "external": false
}, - "id": "bdc3cfb7-77b9-d8b8-7395-f44758ef1b29",
- "purchaseCountry": "GB",
- "startDate": "2024-03-22",
- "products": [
- {
- "baseTemplate": "/config/templates/products/default",
- "entitlements": [
- {
- "$ref": "/entitlements/Digital"
}
], - "path": "/products/Digital",
- "created": "2023-12-11T13:44:43+00:00",
- "modified": "2024-01-15T13:56:18+00:00",
- "attributes": {
- "display_name__limio": "Digital",
- "has_delivery__limio": false,
- "product_code__limio": "LI.DIGITAL"
}, - "record_type": "product",
- "lastSynced": "2024-03-12T16:00:35.232Z",
- "synced": true,
- "syncedFrom": "2c92c0f9778c090d0177aa4f357d043b"
}
]
}, - "status": "initial",
- "record_type": "subscription",
- "owner": "id-39e4c3727b273ec4110b5769c10cdb52",
- "customer": "cus-81f7a36b4737e4d07b56e89d392a4d6e",
- "id": "sub-7f0146cba78f9455e57875402643f103",
- "service": "limio",
- "ref": "order-db546637c354a63b0eeaa121a0c14f0b/bdc3cfb7-77b9-d8b8-7395-f44758ef1b29",
- "created": "2024-03-22T12:13:29.718Z",
- "updated": "2024-03-22T12:13:29.718Z",
- "reference": "3V053CN9SFIG",
- "mode": "production"
}
These APIs allow you to retrieve a list of objects of a specific type in Limio. You can get a subscription, customer, order, identity, address, schedule, payment method, subscription offer, or user entitlement. Each object is returned with a summary of its data. To fetch all of the object data, use the retrieved object ID with the Get Object API.
OK
Unauthorized
Bad Gateway
{- "items": [
- {
- "name": "2JTPIUPFQCQ0",
- "data": {
- "email": "user@domain.com",
- "name": "First Last",
- "tracking": {
- "offers": [
- "/offers2/$75 for 52 weeks then $31.96 every 4 weeks autorenew"
], - "purchaseCountryCode": "GB",
- "accountId": "0017x00000Q9O9qAAF",
- "contactId": "0037x00000F58M9AAJ",
- "userId": "0057x0000088Oh3AAE"
}, - "country": "GB",
- "billingDetails": {
- "country": "GB",
- "firstName": "First",
- "lastName": "Last",
- "streetName": "Street",
- "city": "City",
- "address1": "Address 1",
- "address2": "Address 2",
- "postalCode": "SW1A 1AA",
- "buildingNumber": 1,
- "company": "Company",
- "state": "State"
}, - "__spec_version": "2",
- "external_id": "1HPJ18UUJRV",
- "source": "salesforce",
- "orderItems": [
- {
- "offer": {
- "mode": "production",
- "path": "/offers2/Digital Monthly UK multiple",
- "data": {
- "price__limio": [ ],
- "created": null,
- "duplicatedFrom": null,
- "type": null,
- "version": null,
- "record_type": null,
- "productBundles": [ ],
- "products": [ ],
- "baseTemplate": null,
- "path": null,
- "priceReference": null,
- "price": [ ],
- "name": null,
- "modified": null,
- "attributes": { },
- "id": null,
- "user": null
}, - "service": "limio",
- "created": "2024-01-24T10:18:17.578Z",
- "name": "Digital Monthly UK multiple",
- "id": "95dc800a5c77fd461744c9e0c638ac58c778eeaf",
- "type": "item",
- "updated": "2024-01-24T10:18:17.578Z",
- "version": "8f72261aebfba7069338ae0845ef31a15460b88e",
- "record_type": "offer",
- "status": "active"
}, - "quantity": 1,
- "price": {
- "summary": {
- "headline": null
}, - "currency": "USD",
- "amount": 75
}, - "addOns": [ ],
- "name": "$75 for 52 weeks then $31.96 every 4 weeks autorenew",
- "id": "bdc3cfb7-77b9-d8b8-7395-f44758ef1b29",
- "startDate": "2024-03-22",
- "products": [
- {
- "baseTemplate": null,
- "entitlements": [ ],
- "path": null,
- "created": null,
- "modified": null,
- "attributes": null,
- "record_type": null,
- "lastSynced": null,
- "synced": null,
- "syncedFrom": null
}
]
}
], - "process_immediately": true,
- "mode": "production",
- "total": {
- "currency": "USD",
- "amount": 75
}, - "payment": {
- "type": "invoice",
- "invoicePref": "Email"
}, - "customerDetails": {
- "lastName": "Last",
- "firstName": "First"
}, - "sourceDetails": {
- "instance": "env.scratch.my.salesforce.com"
}, - "initiated_source": "salesforce",
- "orderDate": "2024-03-22T12:13:28.026Z"
}, - "status": "active",
- "record_type": "order",
- "owner": "id-39e4c3727b273ec4110b5769c10cdb52",
- "id": "order-db546637c354a63b0eeaa121a0c14f0b",
- "service": "limio",
- "created": "2024-03-22T12:13:29.455Z",
- "updated": "2024-03-22T12:13:29.972Z",
- "reference": "6RAHJ3FGQKL0",
- "mode": "production",
- "authority": {
- "aut": {
- "iss": "issuer.domain",
- "sub": "test@user.com"
}, - "permissions": [
- "order:*"
]
}
}
], - "queryMore": "eyJjcmVhdGVkIjoiMjAyNC0wMy0wMVQwMTozNjowOC43MjVaIiwic29ydF9rZXkiOiJvYmplY3Qvc3Vic2NyaXB0aW9uIiwiaGFzaCI6ImVjb25vbWlzdC1iYXUtcHJlcHJvZC9wcm9kdWN0aW9uL2xpbWlvL3N1Yi02YjExOTliOTkzYTQyNDdmZDgwNTRlMWFkNzZiOGVjOSIsInJlY29yZF90eXBlIjoiZWNvbm9taXN0LWJhdS1wcmVwcm9kL3Byb2R1Y3Rpb24vbGltaW8vc3Vic2NyaXB0aW9uIn0="
}
This API allows you to get objects related to a specific object in Limio. You can get related objects of a subscription, customer, order, identity, address, schedule, payment method, subscription offer, or user entitlement.
service required | string Default: "limio" The service the object belongs to |
path_type required | string Enum: "orders" "customers" "subscriptions" "identities" "address" "schedules" "payment_methods" "subscription_offers" "user_entitlements" "gift_code" |
id required | string Example: sub-abcxyz123456 |
OK
Unauthorized
Bad Gateway
{- "items": [
- {
- "name": "Limio Subscription",
- "id": "e3535c52-3058-472e-aa4f-fe772a7c0f38",
- "relationship_id": "rel-123123sasdas",
- "type": "zuora",
- "record_type": "subscription",
- "service": "limio",
- "mode": "production",
- "created": "2020-03-18T16:02:01.526Z",
- "data": {
- "reference": "217OU0391HEG",
- "id": "e3535c52-3058-472e-aa4f-fe772a7c0f38",
- "related": "order-bcc1997b17b7824caf86b06451904fb8",
- "record_type": "rel",
- "service": "limio",
- "mode": "production",
- "created": "2020-03-18T16:02:01.526Z",
- "data": {
- "from": {
- "name": "Limio Subscription",
- "id": "e3535c52-3058-472e-aa4f-fe772a7c0f38",
- "record_type": "subscription",
- "service": "limio",
- "data": { }
}, - "to": {
- "name": "Limio Order",
- "id": "order-bcc1997b17b7824caf86b06451904fb8",
- "record_type": "order",
- "service": "limio",
- "data": { }
}, - "metadata": { }
}
}
}
]
}
This API allows you to get objects related to a specific object of provided path type from a provided service using the object's ID. You can get related objects of a subscription, customer, order, identity, address, schedule, payment method, subscription offer, or user entitlement.
service required | string Default: "limio" The service the object belongs to |
id required | string Example: sub-abcxyz123456 |
path_type required | string Enum: "orders" "customers" "subscriptions" "identities" "address" "schedules" "payment_methods" "subscription_offers" "user_entitlements" "gift_code" |
record_type required | string The record type of the object |
OK
Unauthorized
{- "items": [
- {
- "name": "Limio Subscription",
- "id": "e3535c52-3058-472e-aa4f-fe772a7c0f38",
- "relationship_id": "rel-123123sasdas",
- "type": "zuora",
- "record_type": "subscription",
- "service": "limio",
- "mode": "production",
- "created": "2020-03-18T16:02:01.526Z",
- "data": {
- "reference": "217OU0391HEG",
- "id": "e3535c52-3058-472e-aa4f-fe772a7c0f38",
- "related": "order-bcc1997b17b7824caf86b06451904fb8",
- "record_type": "rel",
- "service": "limio",
- "mode": "production",
- "created": "2020-03-18T16:02:01.526Z",
- "data": {
- "from": {
- "name": "Limio Subscription",
- "id": "e3535c52-3058-472e-aa4f-fe772a7c0f38",
- "record_type": "subscription",
- "service": "limio",
- "data": { }
}, - "to": {
- "name": "Limio Order",
- "id": "order-bcc1997b17b7824caf86b06451904fb8",
- "record_type": "order",
- "service": "limio",
- "data": { }
}, - "metadata": { }
}
}
}
]
}
This API allows you to retrieve all children objects of a parent object using the object's ID. You can get a subscription, customer, order, identity, address, schedule, payment method, subscription offer, or user entitlement. Each object is returned with a summary of its data. To fetch all of the object data, use the retrieved object ID with the Get Object API.
service required | string Default: "limio" The service the object belongs to |
path_type required | string Enum: "orders" "customers" "subscriptions" "identities" "address" "schedules" "payment_methods" "subscription_offers" "user_entitlements" "gift_code" |
id required | string Example: sub-abcxyz123456 |
OK
Unauthorized
Bad Gateway
{- "items": [
- {
- "name": "Limio Subscription",
- "id": "e3535c52-3058-472e-aa4f-fe772a7c0f38",
- "related": "order-bcc1997b17b7824caf86b06451904fb8",
- "owner": "id-UshF1h62VLeKzukBmLGb59kU9c1Jn_hNewKngSrNXl8",
- "record_type": "subscription",
- "service": "limio",
- "mode": "production",
- "created": "2020-03-18T16:02:01.526Z",
- "data": { }
}
]
}
This API allows you to retrieve specific children objects, that match the provided record_type, of a parent object using the object's ID. You can get a subscription, customer, order, identity, address, schedule, payment method, subscription offer, or user entitlement. Each object is returned with a summary of its data. To fetch all of the object data, use the retrieved object ID with the Get Object API.
service required | string Default: "limio" The service the object belongs to |
path_type required | string Enum: "orders" "customers" "subscriptions" "identities" "address" "schedules" "payment_methods" "subscription_offers" "user_entitlements" "gift_code" |
id required | string Example: sub-abcxyz123456 |
subtype | string The subtype of an object |
OK
Unauthorized
Bad Gateway
{- "items": [
- {
- "name": "Limio Subscription",
- "id": "e3535c52-3058-472e-aa4f-fe772a7c0f38",
- "related": "order-bcc1997b17b7824caf86b06451904fb8",
- "owner": "id-UshF1h62VLeKzukBmLGb59kU9c1Jn_hNewKngSrNXl8",
- "record_type": "subscription",
- "service": "limio",
- "mode": "production",
- "created": "2020-03-18T16:02:01.526Z",
- "data": { }
}
]
}
This API allows you to get events associated with a specific object of provided path type from a provided service using the object's ID. You can get events of a subscription, customer, order, identity, address, schedule, payment method, subscription offer, or user entitlement. Events are actions that have been performed and are related to the object. Commonly this will be used to see events related to a subscription, such as creating or updating a susbcription.
service required | string Default: "limio" The service the object belongs to |
path_type required | string Enum: "orders" "customers" "subscriptions" "identities" "address" "schedules" "payment_methods" "subscription_offers" "user_entitlements" "gift_code" |
id required | string Example: sub-abcxyz123456 |
OK
Unauthorized
Bad Gateway
{- "items": [
- {
- "record_type": "event",
- "id": "event-64ad4e5eab8a9288e379a1e059c0d3ee",
- "relationship_id": "rel-344856c1b0d4f64c4f8738bd1758ea0b",
- "data": {
- "message": "Order Received",
- "type": "order.change_address",
- "source": "shop"
}, - "related": "order-bcd2d53ebd5066d8fc644507ed5f1cdf",
- "service": "limio",
- "mode": "production",
- "created": "2024-02-13T14:20:24.608Z",
- "status": "submitted"
}
], - "unpackedItems": [
- {
- "mode": "production",
- "status": "sprint-96/production/limio/active",
- "created": "2024-02-13T14:20:24.608Z",
- "sort_key": "rel/object/order/limio/order-bcd2d53ebd5066d8fc644507ed5f1cdf/event/limio/event-64ad4e5eab8a9288e379a1e059c0d3ee",
- "related": "sprint-96/production/limio/order-bcd2d53ebd5066d8fc644507ed5f1cdf",
- "reference": "1K91BC3C6KUO",
- "service": "limio",
- "hash": "sprint-96/production/limio/event-64ad4e5eab8a9288e379a1e059c0d3ee",
- "updated": "2024-02-13T14:20:24.608Z",
- "header": {
- "from": {
- "id": "limio/event-64ad4e5eab8a9288e379a1e059c0d3ee",
- "data": {
- "message": "Order Received",
- "type": "order.change_address",
- "source": "shop"
}, - "record_type": "event",
- "service": "limio",
- "status": "submitted"
}, - "metadata": { },
- "to": {
- "name": "34LL75TASAIG",
- "id": "limio/order-bcd2d53ebd5066d8fc644507ed5f1cdf",
- "data": { },
- "record_type": "order",
- "service": "limio",
- "status": "active"
}
}, - "tenant_id": "sprint-96",
- "processName": "unknown/1/8/8eafcaaa-c04c-47d9-abfe-3e4dc381fe4c",
- "id": "limio/rel-344856c1b0d4f64c4f8738bd1758ea0b",
- "record_type": "sprint-96/production/limio/rel",
- "body": { }
}
]
}
This API allows you to update objects in Limio. You can update a subscription, customer, order, identity, address, schedule, payment method, subscription offer, promo code, or user entitlement. It is designed to be flexible and allow you to update any field in the object.
service required | string Default: "limio" The service the object belongs to |
path_type required | string Enum: "orders" "customers" "subscriptions" "identities" "address" "schedules" "payment_methods" "subscription_offers" "user_entitlements" "gift_code" |
id required | string Example: sub-abcxyz123456 |
OK
Bad request (missing required fields)
Unauthorized
Not found
{- "name": "abc123",
- "data": {
- "quantity": 2
}
}
{- "id": "sub-123123123",
- "sort_key": "object/subscription",
- "data": {
- "quantity": 2
}
}
This API allows you to delete objects in Limio. Currently, only promo codes v2 are deleted via this API.
service required | string Default: "limio" The service the object belongs to |
path_type required | string Enum: "orders" "customers" "subscriptions" "identities" "address" "schedules" "payment_methods" "subscription_offers" "user_entitlements" "gift_code" |
id required | string Example: sub-abcxyz123456 |
OK
Unauthorized
Not found
Bad Gateway
{- "httpStatusCode": 200,
- "requestId": "1234ABC",
- "attempts": 1,
- "totalRetryDelay": 0
}
This API allows you to update an object in Limio. Currently, only promo codes are added via this API.
name required | string The object name such as the promo code name. Not included values will not be updated and nested values will require the structure to update. Updates will only occur for the id provided. WARNING! Changing this field might break integrations |
id required | string The object id. This is the record_type and name concatenated such as promo_code_v2-abc123. Not included values will not be updated and nested values will require the structure to update. Updates will only occur for the id provided. WARNING! Changing this field might break integrations |
required | object |
OK
Bad request (missing required fields)
Unauthorized
Not found
{- "name": "abc123",
- "id": "promo_code_v2-abc123",
- "data": {
- "status": true
}
}
{- "id": "promo_code_v2-CODE123",
- "name": "CODE123",
- "status": "active",
- "record_type": "promo_code_v2",
- "service": "limio",
- "data": {
- "promoStartDate": "2024-10-07"
}
}
This API allows you to add a related identity object to a specific object of provided path type from a provided service using the object's ID. You can add related objects of a subscription, customer, order, identity, address, schedule, payment method, subscription offer, or user entitlement.
service required | string Default: "limio" The service the object belongs to |
id required | string Example: sub-abcxyz123456 |
path_type required | string Enum: "orders" "customers" "subscriptions" "identities" "address" "schedules" "payment_methods" "subscription_offers" "user_entitlements" "gift_code" |
record_type required | string Default: "identity" Only identity is allowed |
Send order request
OK
Unauthorized
Bad Gateway
{- "id": "identity-bcc1997b17b7824caf86b06451904fb8",
- "service": "limio"
}
null
Retrieves all the campaigns in the Catalog matching the specified queries. It will retrieve an object containing a number for the amount of hits that responded to the query, an array with the details of these campaigns (limited to the pageSize property, default to 50) and a queryMore object for continuing query if the amount of hits exceeded the retrieved campaigns and pagination is activated.
path | string Exact path to the object |
tags | string To filter by associated tag to the object |
reducedData | boolean Indicate true to receive a response with less attributes in the offer object (ideal to reduce payloads size) |
opt.pageSize | number Set the page size for the array response (default is 50 records). Bear in mind that response size limit is 6Mb so if you need to retrieve lots of data is probably best practice to use the queryMore functionality |
opt.modifiedAfter | string <date-time> Filter items modified after the indicated date or date-time (ISO-date format, i.e '2020-12-01' or '2020-12-01T16:00') Example: opt.modifiedAfter=2020-12-01T16:00 |
opt.all | boolean Indicate true to activate the pagination |
opt.queryMoreFrom | string The From Hash for the query more functionality. Use it to fetch next page of the query (obtained from queryMore.from in the response) |
opt.queryMoreAlias | string The Alias for the query more functionality. Use it to fetch next page of the query (obtained from queryMore.alias in the response) |
attributes.YOUR_ATTRIBUTE_HERE | string To query with attributes, replace 'YOUR_ATTRIBUTE_HERE' with your attribute. Attributes are defined by your templates. Example: attributes.YOUR_ATTRIBUTE_HERE=Due Upon Receipt |
OK
Unauthorized
{- "hits": 1,
- "header": {
- "commitId": "e44d0795e9d0aa78ddea15c3e925cfd581adfb04"
}, - "items": [
- {
- "id": "d89c80cd3919a193da90c6a141b0040b3663a8d0.97d170e1550eee4afc0af065b78cda302a97674c",
- "parent_path": "/offers",
- "path": "/offers/2019 Winter Campaign",
- "attributes": { },
- "name": "2019 Winter Campaign",
- "data": {
- "description": "A campaign for new Limio customers",
- "headline": "Look at the Limio offers below!",
- "subline": "They are great!",
- "assets": [
- {
- "id": "d89c80cd3919a193da90c6a141b0040b3663a8d0.97d170e1550eee4afc0af065b78cda302a97674c",
- "name": "MyImage",
- "parent_path": "/assets/image",
- "path": "/assets/image/MyImage",
- "data": {
- "attributes": { },
- "baseTemplate": "/config/templates/assets",
- "key": "1e1f1dd8-7609-4bb5-8ec0-7e0ec83abadd.png"
}
}
], - "tags": [
- "/tags/test"
], - "status": "draft",
- "validFrom": "20190226",
- "validTo": "20190305",
- "associatedOffers": [
- {
- "type": "cross-sell",
- "offer": {
- "id": "d89c80cd3919a193da90c6a141b0040b3663a8d0.97d170e1550eee4afc0af065b78cda302a97674c",
- "name": "Limio Regular Subscription",
- "parent_path": "/offers/2019 Winter Campaign",
- "path": "/offers/2019 Winter Campaign/Limio Regular Subscription",
- "data": {
- "attributes": { },
- "price": [ ],
- "products": [ ],
- "segments": [ ],
- "tags": [ ],
- "status": null,
- "description": null,
- "validFrom": null,
- "validTo": null
}
}
}
]
}
}
], - "queryMore": {
- "from": "DnF1ZXJ5VGhlbkZldGNoBQAAAAAAGH_TFnZndVVMaWN4VFZDbnVIbGpRRDFaaUEAAAAAABh_1BZ2Z3VVTGljeFRWQ251 SGxqUUQxWmlBAAAAAAAYf9YWdmd1VUxpY3hUVkNudUhsalFEMVppQQAAAAAAGH_XFnZndVVMaWN4VFZDbnVIbGpRRDFa aUEAAAAAABh_1RZ2Z3VVTGljeFRWQ251SGxqUUQxWmlB",
- "alias": "catalog_test.test0.dev.limio.com"
}
}
Retrieves all the offers in the Catalog matching the specified queries. It will retrieve an object containing a number for the amount of hits that responded to the query, an array with the details of these offers (limited to the pageSize property, default to 50) and a queryMore object for continuing query if the amount of hits exceeded the retrieved offers and pagination is activated.
Note: this API will return all offers in the catalog, including legacy offers (that contain the path /offers AKA campaigns), and standalone offers (that contain the path /offers2). If you want to retrieve only V2 offers, please use the getOffersV2 endpoint.
path | string Exact path to the object |
tags | string To filter by associated tag to the object |
reducedData | boolean Indicate true to receive a response with less attributes in the offer object (ideal to reduce payloads size) |
opt.pageSize | number Set the page size for the array response (default is 50 records). Bear in mind that response size limit is 6Mb so if you need to retrieve lots of data is probably best practice to use the queryMore functionality |
opt.modifiedAfter | string <date-time> Filter items modified after the indicated date or date-time (ISO-date format, i.e '2020-12-01' or '2020-12-01T16:00') Example: opt.modifiedAfter=2020-12-01T16:00 |
opt.all | boolean Indicate true to activate the pagination |
opt.queryMoreFrom | string The From Hash for the query more functionality. Use it to fetch next page of the query (obtained from queryMore.from in the response) |
opt.queryMoreAlias | string The Alias for the query more functionality. Use it to fetch next page of the query (obtained from queryMore.alias in the response) |
attributes.YOUR_ATTRIBUTE_HERE | string To query with attributes, replace 'YOUR_ATTRIBUTE_HERE' with your attribute. Attributes are defined by your templates. Example: attributes.YOUR_ATTRIBUTE_HERE=Due Upon Receipt |
OK
Unauthorized
{- "hits": 2,
- "items": [
- {
- "id": "d89c80cd3919a193da90c6a141b0040b3663a8d0.97d170e1550eee4afc0af065b78cda302a97674c",
- "name": "Regular Subscription",
- "parent_path": "/offers/2019 Winter Campaign",
- "path": "/offers/2019 Winter Campaign/Regular Subscription",
- "data": {
- "attributes": {
- "price": [
- {
- "name": "charge_1",
- "label": "Charge 1",
- "currencyCode": "GBP",
- "value": "75",
- "type": "onetime",
- "trigger": "subscription_start",
- "repeat_interval": 1,
- "repeat_interval_type": "months",
- "repeat_count": 12,
- "delay_trigger": null,
- "delay_interval": 1,
- "delay_interval_type": "months",
- "attributes": { }
}
]
}, - "products": [
- {
- "id": "prod_abc123",
- "name": "Digital"
}
], - "segments": [
- "/segments/regions/UK/UK/GB"
], - "tags": [
- "/tags/test"
]
}
}, - {
- "id": "fab052ce94fbfd0d3663ec0cb9d9773676593684",
- "name": "Digital offer",
- "path": "/offers2/Digital offer",
- "created": "2024-02-08T09:54:10+00:00",
- "modified": "2024-03-08T10:53:37+00:00",
- "version": "101d166f7386bb9f1c76354124a4b51bbe393ccc",
- "version_date": "2024-03-11T15:33:12.072Z",
- "record_type": "offer",
- "duplicatedFrom": "/offers2/Delivery offer",
- "baseTemplate": "/config/templates/offers/default",
- "priceReference": "/offers2/Delivery offer",
- "user": "user@limio.com",
- "data": {
- "attributes": {
- "checkout_description__limio": "<p>Description</p>",
- "display_name__limio": "Delivery Offer",
- "allowed_countries__limio": [
- "GB"
], - "checkout__limio": {
- "checkout_type": "external",
- "external_url": "/checkout"
}, - "label__limio": [
- "offers"
], - "term__limio": {
- "renewal_type": "TERMED",
- "renewal_trigger": "EXTERNAL"
}, - "push_to_checkout__limio": true,
- "initial_term__limio": {
- "renewal_type": "TERMED",
- "renewal_trigger": "EXTERNAL"
}
}, - "price": [
- {
- "delay_interval_type": "months",
- "delay_interval": null,
- "label": "Charge 1",
- "trigger": "order_date",
- "repeat_count": 1,
- "type": "onetime",
- "name": "charge_1",
- "repeat_interval": 1,
- "attributes": { },
- "repeat_interval_type": "months",
- "value": "1.00",
- "currencyCode": "GBP"
}
], - "productBundles": [
- {
- "product_path": "/products/Digital",
- "revenue_split": "100",
- "rate_plan": "Canada Annual"
}
], - "products": [
- {
- "baseTemplate": "/config/templates/products/default",
- "path": "/products/Digital",
- "lastSynced": "2024-03-07T15:03:10.427Z",
- "synced": true,
- "created": "2024-02-01T10:09:30+00:00",
- "syncedFrom": "2c92c0f9778c090d0177aa4f357d043b",
- "modified": "2024-03-07T15:03:10+00:00",
- "attributes": {
- "display_name__limio": "Digital",
- "has_delivery__limio": false,
- "product_code__limio": "LI.DIGITAL"
}, - "record_type": "product"
}
]
}
}
], - "queryMore": {
- "from": "DnF1ZXJ5VGhlbkZldGNoBQAAAAAAGH_TFnZndVVMaWN4VFZDbnVIbGpRRDFaaUEAAAAAABh_1BZ2Z3VVTGljeFRWQ251 SGxqUUQxWmlBAAAAAAAYf9YWdmd1VUxpY3hUVkNudUhsalFEMVppQQAAAAAAGH_XFnZndVVMaWN4VFZDbnVIbGpRRDFa aUEAAAAAABh_1RZ2Z3VVTGljeFRWQ251SGxqUUQxWmlB",
- "alias": "catalog_test.test0.dev.limio.com"
}, - "commitId": "e44d0795e9d0aa78ddea15c3e925cfd581adfb04"
}
Retrieves all the standalone offers in the Catalog matching the specified queries. It will retrieve an object containing a number for the amount of hits that responded to the query, an array with the details of these offers (limited to the pageSize property, default to 50) and a queryMore object for continuing query if the amount of hits exceeded the retrieved offers and pagination is activated.
Note: this API will return only standalone offers (that contain the path /offers2). If you want to retrieve all offers in the catalog, including legacy offers (that contain the path /offers AKA campaigns), please use the getOffers endpoint.
V2 offers are offers that are created using the new offer creation flow. They are standalone offers that are not part of a campaign, but can be attached to campaigns / pages using labels. They are created using the new offer creation flow and are more flexible than legacy offers.
V2 offers can also be versioned - you can find out more about offer versioning at the following resources:
path | string Exact path to the object |
tags | string To filter by associated tag to the object |
reducedData | boolean Indicate true to receive a response with less attributes in the offer object (ideal to reduce payloads size) |
opt.pageSize | number Set the page size for the array response (default is 50 records). Bear in mind that response size limit is 6Mb so if you need to retrieve lots of data is probably best practice to use the queryMore functionality |
opt.modifiedAfter | string <date-time> Filter items modified after the indicated date or date-time (ISO-date format, i.e '2020-12-01' or '2020-12-01T16:00') Example: opt.modifiedAfter=2020-12-01T16:00 |
opt.all | boolean Indicate true to activate the pagination |
opt.queryMoreFrom | string The From Hash for the query more functionality. Use it to fetch next page of the query (obtained from queryMore.from in the response) |
opt.queryMoreAlias | string The Alias for the query more functionality. Use it to fetch next page of the query (obtained from queryMore.alias in the response) |
attributes.YOUR_ATTRIBUTE_HERE | string To query with attributes, replace 'YOUR_ATTRIBUTE_HERE' with your attribute. Attributes are defined by your templates. Example: attributes.YOUR_ATTRIBUTE_HERE=Due Upon Receipt |
OK
Unauthorized
{- "hits": 1,
- "items": [
- {
- "id": "fab052ce94fbfd0d3663ec0cb9d977367a593684",
- "name": "Offer Digital",
- "path": "/offers2/Offer Digital",
- "created": "2024-02-08T09:54:10+00:00",
- "modified": "2024-03-08T10:53:37+00:00",
- "version": "101d166f7386bb9f1c7635412424b51bbe393ccc",
- "version_date": "2024-03-11T15:33:12.072Z",
- "record_type": "offer",
- "duplicatedFrom": "/offers2/Offer Delivery",
- "baseTemplate": "/config/templates/offers/default",
- "priceReference": "/offers2/Offer Delivery",
- "user": "user@domain.com",
- "data": {
- "attributes": {
- "checkout_description__limio": "<p>Description</p>",
- "display_name__limio": "Delivery Offer",
- "allowed_countries__limio": [
- "GB"
], - "checkout__limio": {
- "checkout_type": "external",
- "external_url": "/checkout"
}, - "label__limio": [
- "offers"
], - "term__limio": {
- "renewal_type": "TERMED",
- "renewal_trigger": "EXTERNAL"
}, - "push_to_checkout__limio": true,
- "initial_term__limio": {
- "renewal_type": "TERMED",
- "renewal_trigger": "EXTERNAL"
}
}, - "price": [
- {
- "attributes": { },
- "name": "charge_1",
- "label": "Charge 1",
- "currencyCode": "GBP",
- "value": "1.00",
- "type": "onetime",
- "trigger": "order_date",
- "repeat_interval": 1,
- "repeat_interval_type": "months",
- "repeat_count": 1,
- "delay_interval": 1,
- "delay_interval_type": "months"
}
], - "productBundles": [
- {
- "product_path": "/products/Digital",
- "revenue_split": "100",
- "rate_plan": "Annual"
}
], - "products": [
- {
- "baseTemplate": "/config/templates/products/default",
- "path": "/products/Digital",
- "lastSynced": "2024-03-07T15:03:10.427Z",
- "synced": true,
- "created": "2024-02-01T10:09:30+00:00",
- "syncedFrom": "2c92c0f9778c090d0177aa4f357d043b",
- "modified": "2024-03-07T15:03:10+00:00",
- "attributes": {
- "display_name__limio": "Digital",
- "has_delivery__limio": false,
- "product_code__limio": "LI.DIGITAL"
}, - "record_type": "product"
}
]
}
}
], - "queryMore": {
- "from": "DnF1ZXJ5VGhlbkZldGNoBQAAAAAAGH_TFnZndVVMaWN4VFZDbnVIbGpRRDFaaUEAAAAAABh_1BZ2Z3VVTGljeFRWQ251 SGxqUUQxWmlBAAAAAAAYf9YWdmd1VUxpY3hUVkNudUhsalFEMVppQQAAAAAAGH_XFnZndVVMaWN4VFZDbnVIbGpRRDFa aUEAAAAAABh_1RZ2Z3VVTGljeFRWQ251SGxqUUQxWmlB",
- "alias": "catalog_test.test0.dev.limio.com"
}, - "commitId": "e44d0795e9d0aa78ddea15c3e925cfd581adfb04"
}
Retrieves all the assets in the Catalog matching the specified queries. It will retrieve an object containing a number for the amount of hits that responded to the query, an array with the details of these assets (limited to the pageSize property, default to 50) and a queryMore object for continuing query if the amount of hits exceeded the retrieved assets and pagination is activated.
path | string Exact path to the object |
opt.pageSize | number Set the page size for the array response (default is 50 records). Bear in mind that response size limit is 6Mb so if you need to retrieve lots of data is probably best practice to use the queryMore functionality |
opt.modifiedAfter | string <date-time> Filter items modified after the indicated date or date-time (ISO-date format, i.e '2020-12-01' or '2020-12-01T16:00') Example: opt.modifiedAfter=2020-12-01T16:00 |
opt.all | boolean Indicate true to activate the pagination |
opt.queryMoreFrom | string The From Hash for the query more functionality. Use it to fetch next page of the query (obtained from queryMore.from in the response) |
opt.queryMoreAlias | string The Alias for the query more functionality. Use it to fetch next page of the query (obtained from queryMore.alias in the response) |
attributes.YOUR_ATTRIBUTE_HERE | string To query with attributes, replace 'YOUR_ATTRIBUTE_HERE' with your attribute. Attributes are defined by your templates. Example: attributes.YOUR_ATTRIBUTE_HERE=Due Upon Receipt |
OK
Unauthorized
{- "hits": 1,
- "items": [
- {
- "id": "d89c80cd3919a193da90c6a141b0040b3663a8d0.97d170e1550eee4afc0af065b78cda302a97674c",
- "name": "MyImage",
- "parent_path": "/assets/image",
- "path": "/assets/image/MyImage",
- "data": {
- "attributes": { },
- "baseTemplate": "/config/templates/assets",
- "key": "1e1f1dd8-7609-4bb5-8ec0-7e0ec83abadd.png"
}
}
], - "queryMore": {
- "from": "DnF1ZXJ5VGhlbkZldGNoBQAAAAAAGH_TFnZndVVMaWN4VFZDbnVIbGpRRDFaaUEAAAAAABh_1BZ2Z3VVTGljeFRWQ251 SGxqUUQxWmlBAAAAAAAYf9YWdmd1VUxpY3hUVkNudUhsalFEMVppQQAAAAAAGH_XFnZndVVMaWN4VFZDbnVIbGpRRDFa aUEAAAAAABh_1RZ2Z3VVTGljeFRWQ251SGxqUUQxWmlB",
- "alias": "catalog_test.test0.dev.limio.com"
}, - "commitId": "e44d0795e9d0aa78ddea15c3e925cfd581adfb04"
}
Retrieves all the products in the Catalog matching the specified queries. It will retrieve an object containing a number for the amount of hits that responded to the query, an array with the details of these products (limited to the pageSize property, default to 50) and a queryMore object for continuing query if the amount of hits exceeded the retrieved products and pagination is activated.
path | string Exact path to the object |
opt.pageSize | number Set the page size for the array response (default is 50 records). Bear in mind that response size limit is 6Mb so if you need to retrieve lots of data is probably best practice to use the queryMore functionality |
opt.modifiedAfter | string <date-time> Filter items modified after the indicated date or date-time (ISO-date format, i.e '2020-12-01' or '2020-12-01T16:00') Example: opt.modifiedAfter=2020-12-01T16:00 |
opt.all | boolean Indicate true to activate the pagination |
opt.queryMoreFrom | string The From Hash for the query more functionality. Use it to fetch next page of the query (obtained from queryMore.from in the response) |
opt.queryMoreAlias | string The Alias for the query more functionality. Use it to fetch next page of the query (obtained from queryMore.alias in the response) |
attributes.YOUR_ATTRIBUTE_HERE | string To query with attributes, replace 'YOUR_ATTRIBUTE_HERE' with your attribute. Attributes are defined by your templates. Example: attributes.YOUR_ATTRIBUTE_HERE=Due Upon Receipt |
OK
Unauthorized
{- "hits": 1,
- "items": [
- {
- "id": "d89c80cd3919a193da90c6a141b0040b3663a8d0.97d170e1550eee4afc0af065b78cda302a97674c",
- "name": "Entertainment Pass",
- "parent_path": "/products/Streaming",
- "path": "/products/Streaming/Entertainment Pass",
- "data": {
- "attributes": { },
- "baseTemplate": "/config/templates/products"
}
}
], - "queryMore": {
- "from": "DnF1ZXJ5VGhlbkZldGNoBQAAAAAAGH_TFnZndVVMaWN4VFZDbnVIbGpRRDFaaUEAAAAAABh_1BZ2Z3VVTGljeFRWQ251 SGxqUUQxWmlBAAAAAAAYf9YWdmd1VUxpY3hUVkNudUhsalFEMVppQQAAAAAAGH_XFnZndVVMaWN4VFZDbnVIbGpRRDFa aUEAAAAAABh_1RZ2Z3VVTGljeFRWQ251SGxqUUQxWmlB",
- "alias": "catalog_test.test0.dev.limio.com"
}, - "commitId": "e44d0795e9d0aa78ddea15c3e925cfd581adfb04"
}
Retrieves all the segments in the Catalog matching the specified queries. It will retrieve an object containing a number for the amount of hits that responded to the query, an array with the details of these segments (limited to the pageSize property, default to 50) and a queryMore object for continuing query if the amount of hits exceeded the retrieved segments and pagination is activated.
path | string Exact path to the object |
opt.pageSize | number Set the page size for the array response (default is 50 records). Bear in mind that response size limit is 6Mb so if you need to retrieve lots of data is probably best practice to use the queryMore functionality |
opt.modifiedAfter | string <date-time> Filter items modified after the indicated date or date-time (ISO-date format, i.e '2020-12-01' or '2020-12-01T16:00') Example: opt.modifiedAfter=2020-12-01T16:00 |
opt.all | boolean Indicate true to activate the pagination |
opt.queryMoreFrom | string The From Hash for the query more functionality. Use it to fetch next page of the query (obtained from queryMore.from in the response) |
opt.queryMoreAlias | string The Alias for the query more functionality. Use it to fetch next page of the query (obtained from queryMore.alias in the response) |
attributes.YOUR_ATTRIBUTE_HERE | string To query with attributes, replace 'YOUR_ATTRIBUTE_HERE' with your attribute. Attributes are defined by your templates. Example: attributes.YOUR_ATTRIBUTE_HERE=Due Upon Receipt |
OK
Unauthorized
{- "hits": 1,
- "items": [
- {
- "id": "d89c80cd3919a193da90c6a141b0040b3663a8d0.97d170e1550eee4afc0af065b78cda302a97674c",
- "name": "Finance",
- "parent_path": "/segments/Interest",
- "path": "/segments/Interest/Finance",
- "data": {
- "attributes": { },
- "baseTemplate": "/config/templates/segments"
}
}
], - "queryMore": {
- "from": "DnF1ZXJ5VGhlbkZldGNoBQAAAAAAGH_TFnZndVVMaWN4VFZDbnVIbGpRRDFaaUEAAAAAABh_1BZ2Z3VVTGljeFRWQ251 SGxqUUQxWmlBAAAAAAAYf9YWdmd1VUxpY3hUVkNudUhsalFEMVppQQAAAAAAGH_XFnZndVVMaWN4VFZDbnVIbGpRRDFa aUEAAAAAABh_1RZ2Z3VVTGljeFRWQ251SGxqUUQxWmlB",
- "alias": "catalog_test.test0.dev.limio.com"
}, - "commitId": "e44d0795e9d0aa78ddea15c3e925cfd581adfb04"
}
Retrieves all the journeys in the Catalog
OK
Unauthorized
{- "starting_point": "/cancel-now/",
- "fallback_tag": "/cancel/",
- "journeys": [
- {
- "id": "0dd1b0b0-22b1-400e-8590-301aabd50a69",
- "conditions": [
- {
- "id": "c10cb349-e06a-4a13-bd87-edb40aae77dc",
- "type": "segment",
- "value": "/segments/123abc"
}
], - "actions": [
- {
- "id": "a9e2204a-8fa0-4d17-83cc-1f6c0838daaf",
- "type": "destination",
- "values": [
- {
- "id": "a5113403-7e7d-4c46-9d08-13d79e9df9d1",
- "tag": "/tags/cancel-discount",
- "split": "100"
}
]
}
]
}
]
}
This API allows you to perform bulk update operations on Limio catalog items (such as offers, add-ons etc.). This can be useful for updating multiple items at once, for example, when you want to update the price of multiple offers at the same time.
OK
Unauthorized
Not found
{- "diffs": [
- {
- "path": "string",
- "diff": {
- "attributes": {
- "example_attribute": "string"
}
}
}
]
}
{- "success": "string",
- "failed": [ ]
}
This API allows you to build Limio Campaigns and Pages in bulk, without needing to build them one by one. You can build multiple campaigns and pages at once by providing an array of items to build. This can be useful for building multiple campaigns and pages at once, for example, when you want to build a set of campaigns and pages for a new product launch.
OK
Unauthorized
Bad Gateway
{- "items": [
- "/offers/Limio Campaign",
- "/pages/Limio Page"
]
}
{- "buildPaths": [
- "/offers/Limio Campaign",
- "/pages/Limio Page"
], - "id": "build-{{limioTenant}}-shop:xxxxx",
- "success": true
}
This endpoint allows you to fetch custom component builds.
OK
Unauthorized
Builds not found
{- "id": "string",
- "buildNumber": "25",
- "commitId": "608f72e742a77bd0862b1b30d84814f00fc2fceb",
- "startTime": "2024-03-26T12:22:14.554Z",
- "endTime": "2024-03-26T12:22:14.554Z",
- "buildStatus": "SUCCEEDED",
- "buildComplete": true,
- "logErrors": [
- "Error: No such import 'MyIcon' in /offerCard.js"
]
}
This API allows you to publish campaigns and pages in Limio. You can use this API to publish campaigns and pages to make them live on your website. This can be useful for activities such as launching new products, promoting sales, or creating seasonal campaigns.
OK
Unauthorized
Bad Gateway
{- "tags": [
- "/tags/uk-uk/default"
], - "buildId": "build-shard-shop:b83ee127-2301-4358-b993-cb3d7f009718",
- "name": "Default"
}
{- "success": true,
- "publishedData": {
- "pages": {
- "/default/": [
- {
- "path": "/default/",
- "isDefault": true,
- "pathPrefix": "/__v/956ec1a_1712754608",
- "type": "page",
- "codebuildId": "build-shard-shop:b83ee127-2301-4358-b993-cb3d7f009718",
- "buildDate": "2024-04-10T13:11:05.534Z",
- "name": "Campaign",
- "publishedDate": "2024-04-10T13:13:05.081Z",
- "userName": "user@limio.com"
}
], - "/checkout/": [
- {
- "path": "/checkout/",
- "isDefault": false,
- "pathPrefix": "/__v/4b09596_1712311159",
- "type": "page",
- "codebuildId": "build-shard-shop:b83ee127-2301-4358-b993-cb3d7f009718",
- "buildDate": "2024-04-05T10:00:39.455Z",
- "name": "Checkout",
- "publishedDate": "2024-04-05T10:01:07.401Z",
- "userName": "user@limio.com"
}
]
}
}, - "ommitedWithError": {
- "pages": { }
}
}
This API allows you to update subscriptions that already exist within Limio or to create new subscriptions / customer accounts in Limio for orders that were created outside of Limio (for example directly in Zuora). It can be used to keep Limio in sync with non-Limio-initiated changes, or to fetch new subscriptions and accounts that have been created outside of a Limio shop.
OK
Unauthorized
Bad Gateway
{- "success": true,
- "id": "sub-5c3d83c60950014c306865f0ab8c499b"
}