Does the Discount on an App Subscription persist after remaining duration reaches 0?

Hi everyone,

I’m working with the Shopify Billing API and I have a question regarding the discount field on an AppSubscription.

If we apply a discount with a durationLimitInIntervals, what happens to the discount object after the remainingDurationInIntervals reaches 0?

  • Will the discount field still exist in the subscription object but have remainingDurationInIntervals = 0?
  • Or will the discount field become null entirely once the discount period ends?

Understanding this behavior is important for how we display discount status and manage subscription logic in our app.

If anyone has observed this behavior in production or has documentation references, I’d really appreciate your input!

Thanks in advance.

1 Like

Hey @iam_parker,

I would assume that the field will remain and be displayed as 0 as the subscription was created with discounts.

I’m going to see if I can confirm this internally though. I’ll report here as soon as I do that, unless someone else from the community beats me to it :slight_smile:

1 Like

@KyleG-Shopify thanks

Glad I didn’t trust my assumption. Our billing team confirmed that once a discount has no more remaining intervals it will return as null.

1 Like

Wow. I created this topic because I didn’t believe ChatGPT, it told me the discount would become null. :joy::joy:
Thanks for your support. :handshake:

1 Like

Sometimes we should just trust the bot’s I guess :robot:

1 Like