Skip to main content
Tangiblee
 > 
Help Center
 > 
 > 
 > 
 > 

Multi-Cart Bundling Specification: Shopify

Shopify

If your storefront is located in Shopify, we’ll use the Ajax API. Below is information on how we send requests and push data into the cart. No action items are required for our clients on Shopify.

How it works

1. We’ll use the following API to retrieve product variants:

GET: <client.domain>/products/<product_handle>.js

(where product_handle is a product handle)

2. Then we push selected items into the cart:

POST: <client.domain>/cart/add.js

3. And finally pass the data in Request Body to the ATC endpoint:

items: [ 
{ 
quantity: 1, 
id: <variant ID> 
} 
]

References

Fetch Variations API: Product API reference (shopify.dev)

Add-to-cart API: Cart API reference (shopify.dev)