Skip to main content
object

Requires The app must have read_rollouts access.

A rollout on a shop. Merchants use rollouts to run sales events, permanent launches, and A/B tests by serving treatments to a configured share of buyers.

•DateTime

The date and time at which the rollout was archived.

•DateTime

The actual conclusion date and time of the rollout for public API requests. Use schedule.concludeAt for the planned conclusion date.

•DateTime!
non-null

The date and time at which the rollout was created.

Anchor to effectiveTrafficAllocationeffectiveTrafficAllocation
•Float!
non-null

The effective percentage of total traffic this rollout receives for new buyer assignments, accounting for mutex group constraints with other active rollouts.

•ID!
non-null

The ID of the rollout.

•String!
non-null

The name of the rollout.

•RolloutSchedule

The rollout's planned activation and conclusion dates. Returns null when neither date is set.

Show fields
•DateTime

The actual start date and time of the rollout for public API requests. Use schedule.activateAt for the planned activation date.

•RolloutStatus!
non-null

The status of the rollout.

Show enum values
•Int!
non-null

The percentage of buyer traffic that the rollout is configured to receive, as an integer from 0 to 100. This is the configured allocation before other active rollouts on the same resources are taken into account, so it isn't the share of buyers that a treatment reaches.

•[RolloutTreatment!]!
non-null

The treatments of the rollout. Control treatments are included even when they have no changes.

Show fields
•DateTime!
non-null

The date and time at which the rollout was last edited. This timestamp doesn't necessarily change when another rollout changes this rollout's effective traffic allocation.


Was this section helpful?

•query

A rollout on a shop.

Show fields

Arguments

•ID!
required

The ID of the rollout.


•query

Returns the list of rollouts in the shop.

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 default
•string

Filter by rollout name.

Example:

  • query=holiday
Anchor to change_type
•string

Filter public root rollouts by an exact public change typename. Unknown identifiers match no rollouts.

Valid values:

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

Example:

  • change_type:RolloutDiscountActivateChange
  • change_type:RolloutThemePublishChange
•id

Filter by id range.

Example:

  • id:1234
  • id:>=1234
  • id:<=1234
•string

Filter by rollout name. Matches rollouts whose name contains the search value.

•string

Filter by rollout status. Values are case-insensitive; unknown values match no rollouts.

Valid values:

  • DRAFT
  • SCHEDULED
  • PAUSED
  • ACTIVE
  • CONCLUDED
  • ARCHIVED

Example:

  • status:ACTIVE
  • status:ACTIVE,DRAFT
•Boolean
Default:false

Reverse the order of the underlying list.

•RolloutSortKeys
Default:ID

Sort the underlying list by the given key.

Show enum values


Was this section helpful?

•interface

Was this section helpful?