Skip to main content

Theme-edit changes in the Rollouts API

You can now read theme edits in a rollout treatment through the RolloutThemeEditChange type in the unstable GraphQL Admin API. Your app can identify these edits alongside the other changes returned by RolloutTreatment.changes.

Theme-edit changes serve a theme draft's edits to the buyers assigned to a treatment without changing the store's published theme. Each change exposes id, theme, and applyResult and implements the RolloutChange and RolloutThemeChange interfaces.

You can also:

  • Filter a treatment's changes with query: "type:RolloutThemeEditChange".
  • Find rollouts that contain theme edits with query: "change_type:RolloutThemeEditChange" on the rollouts query.
  • Receive theme-edit change types in existing Rollout webhook payloads using the unstable API version.

This read-only addition uses the existing read_rollouts access scope. Existing theme permissions still apply when reading the affected theme. Earlier API versions are unchanged.

Was this page helpful?