Dedicated to the Hydrogen framework, headless commerce, and building custom storefronts using the Storefront API.
I want to add a product to a Shopify cart from outside Shopify.
My scenario is as follows -
-> I have listed products from Shopify API outside the Shopify (On another platform created my own)
-> Now I want help in how I will add those products in "Shopify Cart" from outside Shopify (another platform) and then the user can checkout and do the payment at Shopify end only.
(The other / my platform will not have a different product/variant/collection than my Shopify account)
Shortly - I want to add the product to the user's cart by the users outside Shopify and then the user can checkout and done payment at Shopify end only.
This isn't possible from outside the App, only via the ajax API which has to be done within the store theme/domain.
See this thread for more details: https://community.shopify.com/c/Shopify-APIs-SDKs/REST-Admin-API-gt-Cart/td-p/517135