appSubscriptionLineItemUpdate mutation
Updates the app plan's pricing details attached to an app subscription.
On this page
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
Argument | Description |
---|---|
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!
) RequiredDecimal money amount.
-
currencyCode (
CurrencyCode!
) RequiredCurrency 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.
Updates the app plan's pricing details attached to an app subscription.
On this page
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
Argument | Description |
---|---|
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!
) RequiredDecimal money amount.
-
currencyCode (
CurrencyCode!
) RequiredCurrency 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.
Updates the app plan's pricing details attached to an app subscription.
On this page
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
Argument | Description |
---|---|
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!
) RequiredDecimal money amount.
-
currencyCode (
CurrencyCode!
) RequiredCurrency 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.
Updates the app plan's pricing details attached to an app subscription.
On this page
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
Argument | Description |
---|---|
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!
) RequiredDecimal money amount.
-
currencyCode (
CurrencyCode!
) RequiredCurrency 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.
Updates the app plan's pricing details attached to an app subscription.
On this page
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
Argument | Description |
---|---|
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!
) RequiredDecimal money amount.
-
currencyCode (
CurrencyCode!
) RequiredCurrency 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.
Updates the app plan's pricing details attached to an app subscription.
On this page
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
Argument | Description |
---|---|
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!
) RequiredDecimal money amount.
-
currencyCode (
CurrencyCode!
) RequiredCurrency 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.
Updates the app plan's pricing details attached to an app subscription.
On this page
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
Argument | Description |
---|---|
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!
) RequiredDecimal money amount.
-
currencyCode (
CurrencyCode!
) RequiredCurrency 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.
Updates the app plan's pricing details attached to an app subscription.
On this page
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
Argument | Description |
---|---|
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!
) RequiredDecimal money amount.
-
currencyCode (
CurrencyCode!
) RequiredCurrency 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.
Updates the app plan's pricing details attached to an app subscription.
On this page
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
Argument | Description |
---|---|
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!
) RequiredDecimal money amount.
-
currencyCode (
CurrencyCode!
) RequiredCurrency 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.
Updates the app plan's pricing details attached to an app subscription.
On this page
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
Argument | Description |
---|---|
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!
) RequiredDecimal money amount.
-
currencyCode (
CurrencyCode!
) RequiredCurrency 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.
Updates the app plan's pricing details attached to an app subscription.
On this page
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
Argument | Description |
---|---|
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!
) RequiredDecimal money amount.
-
currencyCode (
CurrencyCode!
) RequiredCurrency 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.