Tangiblee Help Center
Find answers about implementation, virtual try-on, product visualization, integrations, analytics, and account support.
Multi-Cart Bundling Specification: Custom APIs
For non-SFCC and non-Shopify clients, Tangiblee can adapt to any custom API provided by client or use our own custom-developed API.
Option 1: custom API developed by client
If you are interested in this option, please provide the following:
- API endpoint to fetch variations by product ID.
The example of data structure API should return (it should include a list of variations with prices, colors, sizes and stock availability):
type Variation = {
id: string;
name: string;
price: number;
available: boolean;
options: {[key: string]: string|number};
};
type API_RESPONSE = {
options: string[];
items: Variation[];
};
const exampleEndpoint = () => {
return {
options: ['color', 'size'],
items: [
{id: 1, name: 'Ring X', price: 1000, available: true, options: {color: 'red', size: 'M'}},
{id: 2, name: 'Ring X', price: 1000, available: true, options: {color: 'red', size: 'L'}},
{id: 3, name: 'Ring X', price: 1000, available: true, options: {color: 'blue', size: 'M'}},
{id: 4, name: 'Ring X', price: 1000, available: true, options: {color: 'blue', size: 'L'}},
]
};
};
- API to add items into the cart by variant ID.
Option 2: custom API developed by Tangiblee
Tangiblee can use a custom-developed API to fetch product variations.
For this option, please provide the following:
- Product Feed including price and stock availability in the below format.
[[info]]Tangible parses the feed every 15 minutes to get the actual price and availability. Please make sure you update this information in the feed at this cadence.[[info]]
- API to add items into the cart by variant ID.
cart bundling API, custom API integration, multi SKU add to cart, bundled checkout, technical specification, commerce API
Learn how to implement multi-cart bundling through custom APIs correctly. The guide outlines the setup steps, scripts, tags, APIs, or callbacks your team needs to connect the experience to your platform and reduce launch risk.