- Export discount codes from Shopify admin and replace discounts.csv with your csv file that you've exported
- Update index.js with your SHOPIFY_ACCESS_TOKEN (Create private app and install in store) and SHOPIFY_STORE_URL with your shopify url
..Then run in local directory
npm install node index.js
..Voila your discount codes will be bulk imported into Shopify admin!