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.


•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.

•Int

Returns the first n elements from the list.

•Int

Returns the last n elements from the list.

•EventFilterInput

Filter criteria for historical events.

•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.


•[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.

•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.

•ID

Returns transactions associated with the specified shop ID.

•String

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

•ID

Returns transactions associated with the specified app ID.

•DateTime

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

•DateTime

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

•[TransactionType!]

Returns transactions of the specified types.



Was this section helpful?