app Subscription Line Item Update
Updates the capped amount on usage-based billing for an . Enables you to modify the maximum charge limit that prevents merchants from exceeding a specified threshold during their billing period.
The mutation returns a confirmation URL where the merchant must approve the new pricing limit before it takes effect. Use this when adjusting usage limits based on merchant needs or changing pricing models.
Learn more about updating the maximum charge for a subscription.
Arguments
- Anchor to cappedAmountcapped•Money
Amount Input! required The new maximum amount of usage charges that can be incurred within a subscription billing interval.
- •ID!required
The ID of the app subscription line item to be updated.
- Anchor to appSubscriptionapp•App
Subscription Subscription The updated app subscription.
- Anchor to confirmationUrlconfirmation•URL
Url The URL where the merchant approves or declines the updated app subscription line item.
- Anchor to userErrorsuser•[User
Errors Error!]! non-null The list of errors that occurred from executing the mutation.