API version: unstable
API version: 2021-01 Release candidate
API version: 2020-10 Latest
API version: 2020-07
API version: 2020-04
API version: 2020-01
API version: 2019-10 Unsupported
API version: 2019-07 Unsupported

appSubscriptionLineItemUpdate mutation

Version unstable

Updates the app plan's pricing details attached to an app subscription.

Interactive example

This is an example mutation query. Use the embedded interactive tool below to edit the query.

Hint: use Ctrl + Space for autocompleting fields.


Arguments

cappedAmount ( MoneyInput! ) required

The updated capped amount a store can be charged for usage pricing.

id ( ID! ) required

The ID for the app subscription line item to be updated.

MoneyInput fields

amount (Decimal!) Required

Decimal money amount.

currencyCode (CurrencyCode!) Required

Currency of the money.

Return fields

appSubscription (AppSubscription)

The updated app subscription.

confirmationUrl (URL)

The URL where the merchant approves or declines the updated app subscription line item.

userErrors ([UserError!]!)

List of errors that occurred executing the mutation.

Version 2021-01 (Release candidate)

Updates the app plan's pricing details attached to an app subscription.

Interactive example

This is an example mutation query. Use the embedded interactive tool below to edit the query.

Hint: use Ctrl + Space for autocompleting fields.


Arguments

cappedAmount ( MoneyInput! ) required

The updated capped amount a store can be charged for usage pricing.

id ( ID! ) required

The ID for the app subscription line item to be updated.

MoneyInput fields

amount (Decimal!) Required

Decimal money amount.

currencyCode (CurrencyCode!) Required

Currency of the money.

Return fields

appSubscription (AppSubscription)

The updated app subscription.

confirmationUrl (URL)

The URL where the merchant approves or declines the updated app subscription line item.

userErrors ([UserError!]!)

List of errors that occurred executing the mutation.

Version 2020-10 (Latest)

Updates the app plan's pricing details attached to an app subscription.

Interactive example

This is an example mutation query. Use the embedded interactive tool below to edit the query.

Hint: use Ctrl + Space for autocompleting fields.


Arguments

cappedAmount ( MoneyInput! ) required

The updated capped amount a store can be charged for usage pricing.

id ( ID! ) required

The ID for the app subscription line item to be updated.

MoneyInput fields

amount (Decimal!) Required

Decimal money amount.

currencyCode (CurrencyCode!) Required

Currency of the money.

Return fields

appSubscription (AppSubscription)

The updated app subscription.

confirmationUrl (URL)

The URL where the merchant approves or declines the updated app subscription line item.

userErrors ([UserError!]!)

List of errors that occurred executing the mutation.

Version 2020-07

Updates the app plan's pricing details attached to an app subscription.

Interactive example

This is an example mutation query. Use the embedded interactive tool below to edit the query.

Hint: use Ctrl + Space for autocompleting fields.


Arguments

cappedAmount ( MoneyInput! ) required

The updated capped amount a store can be charged for usage pricing.

id ( ID! ) required

The ID for the app subscription line item to be updated.

MoneyInput fields

amount (Decimal!) Required

Decimal money amount.

currencyCode (CurrencyCode!) Required

Currency of the money.

Return fields

appSubscription (AppSubscription)

The updated app subscription.

confirmationUrl (URL)

The URL where the merchant approves or declines the updated app subscription line item.

userErrors ([UserError!]!)

List of errors that occurred executing the mutation.

Version 2020-04

Updates the app plan's pricing details attached to an app subscription.

Interactive example

This is an example mutation query. Use the embedded interactive tool below to edit the query.

Hint: use Ctrl + Space for autocompleting fields.


Arguments

cappedAmount ( MoneyInput! ) required

The updated capped amount a store can be charged for usage pricing.

id ( ID! ) required

The ID for the app subscription line item to be updated.

MoneyInput fields

amount (Decimal!) Required

Decimal money amount.

currencyCode (CurrencyCode!) Required

Currency of the money.

Return fields

appSubscription (AppSubscription)

The updated app subscription.

confirmationUrl (URL)

The URL where the merchant approves or declines the updated app subscription line item.

userErrors ([UserError!]!)

List of errors that occurred executing the mutation.

Version 2020-01

Updates the app plan's pricing details attached to an app subscription.

Interactive example

This is an example mutation query. Use the embedded interactive tool below to edit the query.

Hint: use Ctrl + Space for autocompleting fields.


Arguments

cappedAmount ( MoneyInput! ) required

The updated capped amount a store can be charged for usage pricing.

id ( ID! ) required

The ID for the app subscription line item to be updated.

MoneyInput fields

amount (Decimal!) Required

Decimal money amount.

currencyCode (CurrencyCode!) Required

Currency of the money.

Return fields

appSubscription (AppSubscription)

The updated app subscription.

confirmationUrl (URL)

The URL where the merchant approves or declines the updated app subscription line item.

userErrors ([UserError!]!)

List of errors that occurred executing the mutation.

Version 2019-10 (Unsupported)

Updates the app plan's pricing details attached to an app subscription.

Interactive example

This is an example mutation query. Use the embedded interactive tool below to edit the query.

Hint: use Ctrl + Space for autocompleting fields.


Arguments

cappedAmount ( MoneyInput! ) required

The updated capped amount a store can be charged for usage pricing.

id ( ID! ) required

The ID for the app subscription line item to be updated.

MoneyInput fields

amount (Decimal!) Required

Decimal money amount.

currencyCode (CurrencyCode!) Required

Currency of the money.

Return fields

appSubscription (AppSubscription)

The updated app subscription.

confirmationUrl (URL)

The URL where the merchant approves or declines the updated app subscription line item.

userErrors ([UserError!]!)

List of errors that occurred executing the mutation.

Version 2019-07 (Unsupported)

Updates the app plan's pricing details attached to an app subscription.

Interactive example

This is an example mutation query. Use the embedded interactive tool below to edit the query.

Hint: use Ctrl + Space for autocompleting fields.


Arguments

cappedAmount ( MoneyInput! ) required

The updated capped amount a store can be charged for usage pricing.

id ( ID! ) required

The ID for the app subscription line item to be updated.

MoneyInput fields

amount (Decimal!) Required

Decimal money amount.

currencyCode (CurrencyCode!) Required

Currency of the money.

Return fields

appSubscription (AppSubscription)

The updated app subscription.

confirmationUrl (URL)

The URL where the merchant approves or declines the updated app subscription line item.

userErrors ([UserError!]!)

List of errors that occurred executing the mutation.

Version 2019-04 (Unsupported)

Updates the app plan's pricing details attached to an app subscription.

Interactive example

This is an example mutation query. Use the embedded interactive tool below to edit the query.

Hint: use Ctrl + Space for autocompleting fields.


Arguments

cappedAmount ( MoneyInput! ) required

The updated capped amount a store can be charged for usage pricing.

id ( ID! ) required

The ID for the app subscription line item to be updated.

MoneyInput fields

amount (Decimal!) Required

Decimal money amount.

currencyCode (CurrencyCode!) Required

Currency of the money.

Return fields

appSubscription (AppSubscription)

The updated app subscription.

confirmationUrl (URL)

The URL where the merchant approves or declines the updated app subscription line item.

userErrors ([UserError!]!)

List of errors that occurred executing the mutation.