Skip to main content
Anchor to RolloutDiscountChange

RolloutDiscountChange

interface

Requires The app must have read_rollouts access.

A rollout treatment change that applies to a discount. The concrete type (RolloutDiscountActivateChange or RolloutDiscountExpireChange) tells you whether the treatment activates or expires the discount for the buyers it serves.

•RolloutChangeApplyResult

The outcome of the most recent attempt to apply this change to the store. Changes that are stored and applied as one unit, such as discount or catalog changes saved together, share one result. Changes from different units can have different results, even in the same apply. Returns null if the change hasn't been applied, or if the staff member can't read the resource it changes.

Show fields
•DiscountNode

The discount that the change applies to. Returns null when the discount has been deleted or the caller can't read it.

Show fields
•ID!
non-null

A globally unique ID for this change, not the resource it affects.


Was this section helpful?

Anchor to Types implemented inTypes implemented in

•OBJECT

A rollout treatment change that makes a discount available to the buyers the treatment serves, regardless of the discount's own startsAt, endsAt, or status. Returned by RolloutTreatment.changes.

Show fields
•OBJECT

A rollout treatment change that withholds a discount from the buyers the treatment serves, regardless of the discount's own startsAt, endsAt, or status. Returned by RolloutTreatment.changes.

Show fields

Was this section helpful?