Discount object

The discount to be applied.

Fields

  • conditions ([Condition!])

    The condition to apply the discount.

  • message (String)

    The discount message.

  • targets ([Target!]!) Required

    The targets of the discount.

    The value is validated against: targets should contain only one type of Target. For example, targets that contain a list of ProductVariantTarget targets are valid.

  • value (Value!) Required

    The value of the discount.

The discount to be applied.

Fields

  • conditions ([Condition!])

    The condition to apply the discount.

  • message (String)

    The discount message.

  • targets ([Target!]!) Required

    The targets of the discount.

    The value is validated against: targets should contain only one type of Target. For example, targets that contain a list of ProductVariantTarget targets are valid.

  • value (Value!) Required

    The value of the discount.

The discount to be applied.

Fields

  • conditions ([Condition!])

    The condition to apply the discount.

  • message (String)

    The discount message.

  • targets ([Target!]!) Required

    The targets of the discount.

    The value is validated against: targets should contain only one type of Target. For example, targets that contain a list of ProductVariantTarget targets are valid.

  • value (Value!) Required

    The value of the discount.

The discount to be applied.

Fields

  • conditions ([Condition!])

    The condition to apply the discount.

  • message (String)

    The discount message.

  • targets ([Target!]!) Required

    The targets of the discount.

    The value is validated against: targets should contain only one type of Target. For example, targets that contain a list of ProductVariantTarget targets are valid.

  • value (Value!) Required

    The value of the discount.

The discount to be applied.

Fields

  • conditions ([Condition!])

    The condition to apply the discount.

  • message (String)

    The discount message.

  • targets ([Target!]!) Required

    The targets of the discount.

    The value is validated against: targets should contain only one type of Target. For example, targets that contain a list of ProductVariantTarget targets are valid.

  • value (Value!) Required

    The value of the discount.

The discount to be applied.

Fields

  • conditions ([Condition!])

    The condition to apply the discount.

  • message (String)

    The discount message.

  • targets ([Target!]!) Required

    The targets of the discount.

    The value is validated against: targets should contain only one type of Target. For example, targets that contain a list of ProductVariantTarget targets are valid.

  • value (Value!) Required

    The value of the discount.