Using discountRedeemCodeBulkAdd API for codes with different expiry time

Hi everyone,

We have a loyalty app that we are submitting for BFS. In the latest round of reviews we were categorized as a discount app as we have features that creates discounts for customers in different loyalty tiers.

Of the new requirments attached with being categorized as a discount app, there is one that we are having difficult to comply with:

Your app must use the discountRedeemCodeBulkAdd API to create any discounts with multiple redeem codes. Don’t use the GraphQL Admin API to create multiple discounts with the same value but different redeem codes.

For context - our app creates discount codes whenever a customer uses loyalty points to redeem a reward (such as a 10% order discount). The discount codes they redeemed will expire 30 days after they redeem it. So while the discount logic is the same, the discount code itself expires on different dates for different customers based on when they received the discount code.

We checked the discountRedeemCodeBulkAdd API but we are not able to find a way to set different expiry period for the codes issued under the same discount. It seems only one expiry date can be applied to all codes created under the same discount.

Does anyone have any recommendation on how to achieve this with the discountRedeemCodeBulkAdd API? Thanks!