A space to discuss GraphQL queries, mutations, troubleshooting, throttling, and best practices.
We are currently integrating with the Admin REST API endpoints for PriceRule and Discounts. We are wondering about the retroactive nature of updating or deleting an price rule? To be more specific, If a price rule already has discount codes created and then the price rule’s value is changed does that apply to the codes that have already been generated or does it just apply to future discount codes given out? Also if a price rule is deleted does that make all discount codes related to it disabled or would we just not be able to generate any new discount codes with that price rule?
Any update on this?
We just observed this on our store:
1. if a price rule is updated, the new changes applies to new as well as existing codes.
2. If a price rule is deleted, the existing discount codes are deleted/disabled. You can re-create same discount codes again.