Scope of usageLimit for Discounts with Multiple Codes via discountRedeemCodeBulkAdd?

Hello, seeking clarification on how the usageLimit field on a Shopify discount (like DiscountCodeBasic or potentially applied via a Discount Function) behaves when multiple redeem codes are associated with it using discountRedeemCodeBulkAdd. If usageLimit is set to, say, 500, does this limit apply to the total combined uses across all generated codes under that discount, or does it mean each individual generated code can be used up to 500 times?

2 Likes

Hey @seun

When you set a usageLimit of 500 on a discount and then generate multiple redeem codes using discountRedeemCodeBulkAdd, that limit of 500 applies to each individual redeem code you create, not the combined total across all codes.

So if you generate 10 redeem codes for a discount with a usageLimit of 500, each of those 10 codes can be used up to 500 times independently. You can see this reflected in the Shopify admin as well:

An important thing to note: any customer-specific limitations also apply per redeem code. For example, if you set a limit of 1 use per customer, that customer could potentially use each different redeem code once. The limit is tracked per redeem code, not across the parent discount.

Hope that clarifies things!

Thank you so much for the detailed answer @KyleG-Shopify

1 Like