How to Import Discounts from JSON Files
NOTE: To quickly create a discount, we recommend starting with our AI Discount Generator, which can automatically generate discount logic from a simple prompt.JSON import is best used when you already have pre-built logic. If this applies to you, you can proceed using the options below.
Using the More > Import JSON file or Logic > Import or Create Discount > More > Import JSON file button, you can import pre-made discount logic flows into the app to skip the bulk of setup effort.
Use Cases
- Importing a
.jsonfile our support team sent you - Reusing a discount logic flow between different stores
Instructions
Click the above thumbnail to watch a video demonstration.
From the Home Page

From the Edit Product Discount Page

From the AI Discount Generator Page


Click "Import" or "Import JSON file"

- Decide whether you want to create a product discount, order discount, shipping discount, or auto-add to cart. This choice will dictate the type of discount generated upon importing the file.
Overwriting Existing Logic With a JSON File

- Locate the top right of the screen to find the 'logic' button. Click on 'import'. If using a smaller screen, look for the 'actions' button, navigate to submenus, and select 'Logic > import'.
- You can either click 'add file' to navigate to your JSON file or drag and drop the file directly onto the flowchart where it says 'discount logic'.
Previewing Imported Logic
- After uploading, preview the preview of the logic imported, which offers discounts based on specific criteria.

- If you encounter an alert about missing resources, search your site to replace placeholders with actual identifiers for collections or products.
- Select the appropriate collections/products, etc. to link the resources correctly before proceeding.
- Once all resources are linked, click 'import' to finalize the process.
- After the logic opens in full screen, set a descriptive title for the discount and hit 'save' to complete the setup.
Cautionary Notes
- Ensure that the JSON file is correctly formatted and contains all necessary data before importing.
- Double-check that all placeholders are replaced with actual identifiers to avoid errors in discount application.
- If you encounter any issues during the import process, consult the support team for assistance.
Tips for Efficiency
- Familiarize yourself with the advanced logic builder to navigate quickly.
Your Feedback Matters
Your review helps keep this small business running. Please leave one on the Shopify App Store.
Updated on: 06/06/2026
Thank you!
