DraftOrderAppliedDiscountInput input object
The input fields for applying an order-level discount to a draft order.
Input fields
-
amount (
Money
)The applied amount of the discount.
-
description (
String
)Reason for the discount.
-
title (
String
)Title of the discount.
-
value (
Float!
) RequiredThe value of the discount. If the type of the discount is fixed amount, then this is a fixed dollar amount. If the type is percentage, then this is the percentage.
-
valueType (
DraftOrderAppliedDiscountType!
) RequiredThe type of discount.
The input fields for applying an order-level discount to a draft order.
Input fields
-
amount (
Money
)The applied amount of the discount.
-
description (
String
)Reason for the discount.
-
title (
String
)Title of the discount.
-
value (
Float!
) RequiredThe value of the discount. If the type of the discount is fixed amount, then this is a fixed dollar amount. If the type is percentage, then this is the percentage.
-
valueType (
DraftOrderAppliedDiscountType!
) RequiredThe type of discount.
The input fields for applying an order-level discount to a draft order.
Input fields
-
amount (
Money
)The applied amount of the discount.
-
description (
String
)Reason for the discount.
-
title (
String
)Title of the discount.
-
value (
Float!
) RequiredThe value of the discount. If the type of the discount is fixed amount, then this is a fixed dollar amount. If the type is percentage, then this is the percentage.
-
valueType (
DraftOrderAppliedDiscountType!
) RequiredThe type of discount.
The input fields for applying an order-level discount to a draft order.
Input fields
-
amount (
Money
)The applied amount of the discount.
-
description (
String
)Reason for the discount.
-
title (
String
)Title of the discount.
-
value (
Float!
) RequiredThe value of the discount. If the type of the discount is fixed amount, then this is a fixed dollar amount. If the type is percentage, then this is the percentage.
-
valueType (
DraftOrderAppliedDiscountType!
) RequiredThe type of discount.
The input fields for applying an order-level discount to a draft order.
Input fields
-
amount (
Money
)The applied amount of the discount.
-
description (
String
)Reason for the discount.
-
title (
String
)Title of the discount.
-
value (
Float!
) RequiredThe value of the discount. If the type of the discount is fixed amount, then this is a fixed dollar amount. If the type is percentage, then this is the percentage.
-
valueType (
DraftOrderAppliedDiscountType!
) RequiredThe type of discount.
The input fields for applying an order-level discount to a draft order.
Input fields
-
amount (
Money
)The applied amount of the discount.
-
description (
String
)Reason for the discount.
-
title (
String
)Title of the discount.
-
value (
Float!
) RequiredThe value of the discount. If the type of the discount is fixed amount, then this is a fixed dollar amount. If the type is percentage, then this is the percentage.
-
valueType (
DraftOrderAppliedDiscountType!
) RequiredThe type of discount.
The input fields for applying an order-level discount to a draft order.
Input fields
-
amount (
Money
)The applied amount of the discount.
-
description (
String
)Reason for the discount.
-
title (
String
)Title of the discount.
-
value (
Float!
) RequiredThe value of the discount. If the type of the discount is fixed amount, then this is a fixed dollar amount. If the type is percentage, then this is the percentage.
-
valueType (
DraftOrderAppliedDiscountType!
) RequiredThe type of discount.
The input fields for applying an order-level discount to a draft order.
Input fields
-
amount (
Money
)The applied amount of the discount.
-
description (
String
)Reason for the discount.
-
title (
String
)Title of the discount.
-
value (
Float!
) RequiredThe value of the discount. If the type of the discount is fixed amount, then this is a fixed dollar amount. If the type is percentage, then this is the percentage.
-
valueType (
DraftOrderAppliedDiscountType!
) RequiredThe type of discount.
The input fields for applying an order-level discount to a draft order.
Input fields
-
amount (
Money
)The applied amount of the discount.
-
description (
String
)Reason for the discount.
-
title (
String
)Title of the discount.
-
value (
Float!
) RequiredThe value of the discount. If the type of the discount is fixed amount, then this is a fixed dollar amount. If the type is percentage, then this is the percentage.
-
valueType (
DraftOrderAppliedDiscountType!
) RequiredThe type of discount.
The input fields for applying an order-level discount to a draft order.
Input fields
-
amount (
Money
)The applied amount of the discount.
-
description (
String
)Reason for the discount.
-
title (
String
)Title of the discount.
-
value (
Float!
) RequiredThe value of the discount. If the type of the discount is fixed amount, then this is a fixed dollar amount. If the type is percentage, then this is the percentage.
-
valueType (
DraftOrderAppliedDiscountType!
) RequiredThe type of discount.