A quick hack script to add product availability as tags to products
- Install dependencies:
npm install
- Create a .env file
- Create a Shopify private app with the following scopes: read_locations, read_inventory, read_products, write_products
- Add the private app access details to the .env file:
SHOPIFY_API_KEY=Your API key
SHOPIFY_API_PASSWORD=Your API password
SHOPIFY_API_DOMAIN=your-domain.myshopify.com
- Run
npm start