Better validation for discount imports

Added comprehensive validation checks to catch discount import errors before they reach Shopify.

DiscountsImports

Changelog

August 21, 2025


We’ve added robust validation checks that catch common discount import errors before your data reaches Shopify, saving you time and preventing failed imports.


🔧 Improvements

  • Discount type validation – checks that Type column contains only valid values: ‘Amount off Products’, ‘Amount off Order’, ‘Free Shipping’, ‘Buy X Get Y’, or empty.
  • Method validation – ensures Method column uses only ‘Code’, ‘Automatic’, or empty values.
  • Numeric value checks – validates that Value column contains only numbers, with helpful error messages for invalid entries.
  • Minimum requirement validation – enforces that when Minimum Value is specified, Minimum Requirement must be set to either ‘Amount’ or ‘Quantity’.
  • Early error detection – all validation happens during file analysis, before any API calls to Shopify.

These checks help you spot formatting issues and data problems immediately after uploading your discount spreadsheet, rather than discovering them during the import process.