Skip to main content
object

The schema's entry-point for queries. This acts as the public, top-level API from which all queries must start.

•ActiveSubscription

The active managed pricing subscription for a shop on a given app.

Arguments

•ID!
required

The ID of the app to get the active subscription for. Example value: gid://shopify/App/1234.

•ID!
required

The ID of the shop to get the active subscription for. Example value: gid://shopify/Shop/1234.


•App

A Shopify app.

Arguments

•ID!
required

The app ID. Example value: gid://partners/App/1234.


Anchor to appSubscriptionMigrationOperationappSubscriptionMigrationOperation
•AppSubscriptionMigrationOperation

A single app subscription migration operation for an app.

Arguments

•ID!
required

The ID of the app. Example value: gid://shopify/App/123.

•ID!
required

The ID of the operation. Example value: gid://shopify/AppSubscriptionMigrationOperation/1.


•PartnerEventConnection

A timeline of historical events for the authenticated partner.

Arguments

•String

Returns the elements in the list that come after the specified cursor.

•String

Returns the elements in the list that come before the specified cursor.

•EventFilterInput

Filter criteria for historical events.

•Int

Returns the first n elements from the list.

•Int

Returns the last n elements from the list.

•EventOrder
Default:OCCURRED_AT_DESC

The order in which to return events.


•[Eventsink!]!
non-null

A list of Eventsinks configured for the specified App ID.

Arguments

•ID!
required

The app ID. Example value: gid://partners/App/1234.

•EventsinkTopic!
required

The topic of the Eventsink to query.


Anchor to migratableAppSubscriptionsmigratableAppSubscriptions
•MigratableAppSubscriptionConnection

The app subscriptions that are eligible for migration for an app.

Arguments

•String

Returns the elements in the list that come after the specified cursor.

•ID!
required

The ID of the app. Example value: gid://shopify/App/123.

•String

Returns the elements in the list that come before the specified cursor.

•Int

Returns the first n elements from the list.

•Int

Returns the last n elements from the list.

•AppSubscriptionMigrationStatus

Filters the results by migration status.


Anchor to migratableAppSubscriptionsCountmigratableAppSubscriptionsCount
•Count

The count of app subscriptions that are eligible for migration for an app.

Arguments

•ID!
required

The ID of the app. Example value: gid://shopify/App/123.

•AppSubscriptionMigrationStatus

Filters the count by migration status.


•[ApiVersion!]!
non-null

The list of public Partner API versions, including supported, release candidate and unstable versions.

•Transaction

A Shopify Partner transaction.

Arguments

•ID!
required

The transaction ID. Example value: gid://partners/ThemeSale/1234.


•TransactionConnection!
non-null

A list of the Partner organization's transactions.

Arguments

•String

Returns the elements in the list that come after the specified cursor.

•ID

Returns transactions associated with the specified app ID.

•String

Returns the elements in the list that come before the specified cursor.

•DateTime

Returns transactions that were created on or before the specified date and time.

•DateTime

Returns transactions that were created on or after the specified date and time.

•Int

Returns the first n elements from the list.

•Int

Returns the last n elements from the list.

•String

Returns transactions associated with the specified .myshopify.com shop domain. Example value: example.myshopify.com.

•ID

Returns transactions associated with the specified shop ID.

•[TransactionType!]

Returns transactions of the specified types.



Was this section helpful?