We're constantly trying to improve your support experience, and your feedback is extremely valuable to us.

Please take a moment to tell us about your experience today.
Sign up for future Help Center user research studies.

appUsageRecordCreate

Version 2019-07 (Latest)

Allows an app to charge a store for usage.

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

description ( String! ) required

The description of the app usage record.

price ( MoneyInput! ) required

The price of the app usage record. The only permitted currceny code is USD.

subscriptionLineItemId ( ID! ) required

The ID for the app subscription line item.

Return Fields

appUsageRecord (AppUsageRecord)

The newly created app usage record.

userErrors ([UserError!]!)

List of errors that occurred executing the mutation.

Version 2019-10 (Release candidate)

Allows an app to charge a store for usage.

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

description ( String! ) required

The description of the app usage record.

price ( MoneyInput! ) required

The price of the app usage record. The only permitted currceny code is USD.

subscriptionLineItemId ( ID! ) required

The ID for the app subscription line item.

Return Fields

appUsageRecord (AppUsageRecord)

The newly created app usage record.

userErrors ([UserError!]!)

List of errors that occurred executing the mutation.

Sign up for a Partner account to get started.

Sign up