Use the API to set up a registration form on headless Shopify stores
Last Update 5 maanden geleden
If you're using a custom front-end for your Shopify store, perhaps by using Shopify's Hydrogen & Oxygen framework or any other, Restock Rocket will not be able to automatically add a 'Notify me when available' button to it using the app extensions framework. Instead, you will need to build your own button and registration form, and connect it to the Restock Rocket API to register requests for a product or variant.
To register a customer for a product using the API, check out this Postman collection - https://www.postman.com/kartikluke/workspace/restock-rocket/request/1629423-50b1ce90-91ca-47b3-886b-c292d0998eba
The 'Store Customer Intent to buy Product' API requires a few important details to register the intent, in addition to your myshopify domain. Notes on each detail is available in the API collection. If you have any questions or concerns, please don't hesitate to reach out to [email protected]