Discount object
The discount to be applied.
Fields
-
conditions (
[Condition!]
)The condition to apply the discount.
-
message (
String
)The discount message.
-
targets (
[Target!]!
) RequiredThe targets of the discount.
The value is validated against: targets should contain only one type of
Target
. Only a list that contains either a singleOrderSubtotalTarget
or one or moreProductVariantTarget
s is valid. -
value (
Value!
) RequiredThe 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!]!
) RequiredThe targets of the discount.
The value is validated against: targets should contain only one type of
Target
. Only a list that contains either a singleOrderSubtotalTarget
or one or moreProductVariantTarget
s is valid. -
value (
Value!
) RequiredThe 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!]!
) RequiredThe targets of the discount.
The value is validated against: targets should contain only one type of
Target
. Only a list that contains either a singleOrderSubtotalTarget
or one or moreProductVariantTarget
s is valid. -
value (
Value!
) RequiredThe 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!]!
) RequiredThe targets of the discount.
The value is validated against: targets should contain only one type of
Target
. Only a list that contains either a singleOrderSubtotalTarget
or one or moreProductVariantTarget
s is valid. -
value (
Value!
) RequiredThe 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!]!
) RequiredThe targets of the discount.
The value is validated against: targets should contain only one type of
Target
. Only a list that contains either a singleOrderSubtotalTarget
or one or moreProductVariantTarget
s is valid. -
value (
Value!
) RequiredThe 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!]!
) RequiredThe targets of the discount.
The value is validated against: targets should contain only one type of
Target
. Only a list that contains either a singleOrderSubtotalTarget
or one or moreProductVariantTarget
s is valid. -
value (
Value!
) RequiredThe value of the discount.