Skip to main content
object

Requires The app must have read_rollouts access.

A treatment in a rollout. Each treatment receives a share of the rollout's traffic and makes a set of changes to resources for the buyers it serves.

•RolloutChangeConnection!
non-null

The changes this treatment makes to resources while it's served. Changes retain their id and __typename if the affected resource is deleted or inaccessible. Use query to filter by exact public type, discount_id, catalog_id, theme_id, or checkout_and_accounts_configuration_id (numeric ID or quoted GID). Theme IDs match the publish target; checkout and accounts configuration IDs match either swap source or publish target. Each resource-ID filter matches only readable, available resources.

Show fields

Arguments

•String

The elements that come after the specified cursor.

•String

The elements that come before the specified cursor.

•Int

The first n elements from the paginated list.

•Int

The last n elements from the paginated list.

•String

A filter made up of terms, connectives, modifiers, and comparators. You can apply one or more filters to a query. Learn more about Shopify API search syntax.

Show filters
Anchor to catalog_id
•string

Filter by the catalog's numeric ID or quoted Catalog or concrete catalog GID (for example, MarketCatalog). Matches activate and draft changes.

Example:

  • catalog_id:1112223334
  • catalog_id:'gid://shopify/MarketCatalog/1112223334'
  • catalog_id:42 AND type:RolloutCatalogDraftChange
Anchor to checkout_and_accounts_configuration_id
•string

Filter by either the swap source or publish target configuration's numeric ID or quoted CheckoutAndAccountsConfiguration GID.

Example:

  • checkout_and_accounts_configuration_id:1112223334
  • checkout_and_accounts_configuration_id:'gid://shopify/CheckoutAndAccountsConfiguration/1112223334'
  • checkout_and_accounts_configuration_id:42 AND type:RolloutCheckoutAndAccountsConfigurationPublishChange
Anchor to discount_id
•string

Filter by the discount's numeric ID or GID.

Example:

  • discount_id:1112223334
  • discount_id:'gid://shopify/DiscountNode/1112223334'
Anchor to theme_id
•string

Filter by the publish target theme's numeric ID or quoted OnlineStoreTheme GID. Does not match the swap source.

Example:

  • theme_id:1112223334
  • theme_id:'gid://shopify/OnlineStoreTheme/1112223334'
  • theme_id:42 AND type:RolloutThemePublishChange
•string

Filter by an exact, case-sensitive public change typename. Unknown typenames match no changes. Combine type and resource-ID filters with uppercase AND, OR, and parentheses. Whitespace between predicates means AND. OR binds more tightly than AND, following the standard search syntax; use parentheses to group predicates. Each resource-ID predicate matches only readable, available resources within its branch. Quote GIDs with single or double quotes. Negation, ranges, and wildcards are not supported.

Valid values:

  • RolloutDiscountActivateChange
  • RolloutDiscountExpireChange
  • RolloutCatalogActivateChange
  • RolloutCatalogDraftChange
  • RolloutThemePublishChange
  • RolloutCheckoutAndAccountsConfigurationPublishChange

Example:

  • type:RolloutThemePublishChange
  • type:RolloutDiscountActivateChange OR type:RolloutDiscountExpireChange
  • type:RolloutDiscountExpireChange AND discount_id:1112223334
  • (type:RolloutDiscountActivateChange AND discount_id:42) OR (type:RolloutDiscountExpireChange AND discount_id:99)
  • discount_id:42 AND (type:RolloutDiscountActivateChange OR type:RolloutDiscountExpireChange)
•Boolean
Default:false

Reverse the order of the underlying list.


•ID!
non-null

The ID of the rollout treatment.

•Rollout

The rollout this treatment belongs to.

Show fields
•Int!
non-null

The percentage of the rollout's traffic, from 0 to 100, that this treatment is configured to receive. The splits of a rollout's treatments add up to 100.


Was this section helpful?

•interface

Was this section helpful?