Skip to main content
union

Represents the subject of an event (App or Theme).

•OBJECT

A reference to a Shopify app, identified by its global ID. Use the gid://shopify/App/<id> format to look up the app in the Admin API.

•String!
non-null

A unique application API identifier.

•ID!
non-null

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

•String!
non-null

The name of the app.

•OBJECT

A reference to a theme, identified by its global ID.

•ID!
non-null

The theme ID. Example value: gid://shopify/Theme/1234.

•String!
non-null

The name of the theme.


Was this section helpful?

Anchor to Fields with this unionFields with this union

•OBJECT

A charge event representing when a merchant was billed.

•OBJECT

A credit event.

•OBJECT

An earning event representing when a partner receives payment.

•INTERFACE

A historical event for apps and themes.

•OBJECT

A relationship event (install, uninstall, deactivate, reactivate).

•OBJECT

A subscription status event.


Was this section helpful?