Getting cart url.

Highlighted
New Member
5 0 0

Hello.
I'm writing a code which via cart/add.js creates new cart with custom properties.

Is there an option how to get to this cart? URL or something?

0 Likes
Highlighted
Shopify Expert
9887 100 1728

I feel that I am missing a lot of context on what you're building so this might not answer your question at all. If you add items via the AJAX API, then the cart would be available via /cart.js or simply by viewing the cart page.

★ Winning Partner of the Build a Business competition. ★ http://freakdesign.com.au
0 Likes
Highlighted
New Member
5 0 0

I've got python code which makes requests to cart/add.js via

requests.post("easy-toys.com/cart/add.js",json=data)


In reply i've got only cummon add.js JSON reply.

0 Likes
Highlighted
New Member
5 0 0

That's just for Messenger custom bot. I want to get product propetries by user and create cart for him

 

0 Likes