OrderCreateDiscountCodeInput - admin-graphql - INPUT_OBJECT
Version: unstable
Description:
The input fields for a discount code to apply to an order. Only one type of discount can be applied to an order.
Access Scopes
Fields
-
freeShippingDiscountCode:
OrderCreateFreeShippingDiscountCodeAttributesInput -
A free shipping discount code applied to the shipping on an order.
-
itemFixedDiscountCode:
OrderCreateFixedDiscountCodeAttributesInput -
A fixed amount discount code applied to the line items on the order.
-
itemPercentageDiscountCode:
OrderCreatePercentageDiscountCodeAttributesInput -
A percentage discount code applied to the line items on the order.
Input objects with this input object
Examples