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. Only a list that contains either a single OrderSubtotalTarget or one or more ProductVariantTargets is 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. Only a list that contains either a single OrderSubtotalTarget or one or more ProductVariantTargets is 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. Only a list that contains either a single OrderSubtotalTarget or one or more ProductVariantTargets is 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. Only a list that contains either a single OrderSubtotalTarget or one or more ProductVariantTargets is 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. Only a list that contains either a single OrderSubtotalTarget or one or more ProductVariantTargets is 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. Only a list that contains either a single OrderSubtotalTarget or one or more ProductVariantTargets is valid.

  • value ( Value!) Required

    The value of the discount.