AppPurchaseOneTime object
Services and features purchased once by a store.
On this page
Fields
- createdAt (
[DateTime!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#datetime-2021-01)
)
The date and time when the app purchase was created. - id (
[ID!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#id-2021-01)
)
Globally unique identifier. - name (
[String!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#string-2021-01)
)
The name of the app purchase. - price (
[MoneyV2!](https://shopify.dev/docs/admin-api/graphql/reference/common-objects/moneyv2)
)
The amount to be charged to the store for the app purchase. - status (
[AppPurchaseStatus!](https://shopify.dev/docs/admin-api/graphql/reference/billing/apppurchasestatus)
)
The status of the app purchase. Possible values include pending, active, declined and cancelled. - test (
[Boolean!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#boolean-2021-01)
)
Whether the app purchase is a test transaction.
Types that return AppPurchaseOneTime
[AppInstallation.oneTimePurchases](https://shopify.dev/docs/admin-api/graphql/reference/apps/appinstallation#onetimepurchases-2021-01)
Mutations for AppPurchaseOneTime
- appPurchaseOneTimeCreate
Allows an app to charge a shop for features or services one time.
Implements
[AppPurchase](https://shopify.dev/docs/admin-api/graphql/reference/billing/apppurchase)
[Node](https://shopify.dev/docs/admin-api/graphql/reference/common-objects/node)
An auto-generated type for paginating through multiple AppPurchaseOneTimes.
On this page
Fields
- edges (
[[AppPurchaseOneTimeEdge!]!](https://shopify.dev/docs/admin-api/graphql/reference/billing/apppurchaseonetime)
)
A list of edges. - pageInfo (
[PageInfo!](https://shopify.dev/docs/admin-api/graphql/reference/pageinfo)
)
Information to aid in pagination.
An auto-generated type which holds one AppPurchaseOneTime and a cursor during pagination.
On this page
Fields
- cursor (
[String!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#string-2021-01)
)
A cursor for use in pagination. - node (
[AppPurchaseOneTime!](https://shopify.dev/docs/admin-api/graphql/reference/billing/apppurchaseonetime)
)
The item at the end of AppPurchaseOneTimeEdge.
Types that return AppPurchaseOneTimeEdge
[AppPurchaseOneTimeConnection.edges](https://shopify.dev/docs/admin-api/graphql/reference/billing/apppurchaseonetime#edges-2021-01)