Use one codebase across multiple Shopify stores
The GitHub repository might be connected to multiple DataJet apps installed on multiple Shopify stores.
Let's assume you have a repository with a file named webhook/order-created.dj and two Shopify stores:
Store AU
Store NZ
You can connect DataJet on both stores to a single GitHub repository. For each store, create a webhook script: order-created.dj and connect it to the same webhook/order-created.dj file. Now, anytime you push changes to your webhook/order-created.dj file, both stores will be updated automatically. Similarly, if you update your script through the DataJet Developer Console on Store AU, Store NZ will be updated as well.
Last updated