Rollout Treatment
Represents information about an rollout treatment on a shop.
Anchor to FieldsFields
- changes (RolloutChangeConnection!)
- id (ID!)
- rollout (Rollout)
- split (Int!)
- Anchor to changeschanges•Rollout
Change Connection! non-null The changes this treatment makes to resources while it's served. Changes retain their
idand__typenameif the affected resource is deleted or inaccessible. Usequeryto filter by exact publictypeor(numeric ID or GID). Eachfilter matches only readable, available discounts.Show fields
- Anchor to afterafter•String
The elements that come after the specified cursor.
- Anchor to beforebefore•String
The elements that come before the specified cursor.
- Anchor to firstfirst•Int
The first
nelements from the paginated list.- Anchor to lastlast•Int
The last
nelements from the paginated list.- Anchor to queryquery•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 discount_id•string
Filter by the discount's numeric ID or GID.
discount_id:1112223334discount_id:'gid://shopify/DiscountNode/1112223334'- Anchor to type•string
Filter by an exact, case-sensitive public change typename. Unknown typenames match no changes. Combine type and discount_id filters with uppercase AND, OR, and parentheses. Whitespace between predicates means AND. AND binds more tightly than OR; use parentheses to group alternatives. Each discount_id predicate matches only readable, available discounts within its branch. Negation, ranges, and wildcards are not supported.
RolloutDiscountActivateChangeRolloutDiscountExpireChangeRolloutCatalogActivateChangeRolloutCatalogDraftChangeRolloutThemePublishChangeRolloutCheckoutAndAccountsConfigurationPublishChangetype:RolloutThemePublishChangetype:RolloutDiscountActivateChange OR type:RolloutDiscountExpireChangetype: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)
Example:
Valid values:
Example:
- Anchor to reversereverse•BooleanDefault:false
Reverse the order of the underlying list.
Arguments
- •ID!non-null
The ID of the rollout treatment.
- Anchor to rolloutrollout•Rollout
The rollout this treatment belongs to.
Show fields
- Anchor to splitsplit•Int!non-null
The percentage of the rollout's traffic that this treatment is configured to receive. This is the configured split before other active rollouts on the same resources are taken into account.