Is it possible to add a variant to a cart (using cart ID?) through a custom app? Or does this have to be done with the AJAX api through the theme?
I'm trying to develop a middleware that receives webhooks when a cart is created, and automatically adds a warranty variant to the cart. There's a lot of conflicting information regarding what's possible on this. Thanks!
Use scripttags to add the item to the cart using the fronted ajax api
To create a custom order with specific items on the backend use draft orders.
Would you love to unleash the unbridled power of the Google Shopping Channel into your sho...By Gabe Jan 6, 2023
How can you turn a hobby into a career? That’s what Emmanuel did while working as a wa...By Skye Dec 30, 2022