Skip to main content

How to fetch Kickflip Design data from Shopify's Cart.js item

A Kickflip Product is customized on Shopify and added to cart

Step 1: Use Javascript or similar to fetch Shopify cart.js

https://{SHOPIFY_ID}.myshopify.com/cart.js

Step 2: Iterate through the cart.js response

cart.js > items (Array) > [i] > properties (Object) > _mczr_designId

cart.js example below:

Step 3: fetch a Kickflip design by id

For each _mczr_designId you will find call the Kickflip API to fetch a design by id

(64663ac826f995098d365876 in this example)

https://api.mycustomizer.com/brands/{companyname}/designs/64663ac826f995098d365876

You will get the Kickflip design data as response:

You will find the information like the Kickflip design number in this response object:

Did this answer your question?