# OrderCreateDiscountCodeInput - admin-graphql - INPUT_OBJECT Version: 2024-10 ## 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](/docs/api/admin-graphql/2024-10/input-objects/OrderCreateFreeShippingDiscountCodeAttributesInput): OrderCreateFreeShippingDiscountCodeAttributesInput - A free shipping discount code applied to the shipping on an order. * [itemFixedDiscountCode](/docs/api/admin-graphql/2024-10/input-objects/OrderCreateFixedDiscountCodeAttributesInput): OrderCreateFixedDiscountCodeAttributesInput - A fixed amount discount code applied to the line items on the order. * [itemPercentageDiscountCode](/docs/api/admin-graphql/2024-10/input-objects/OrderCreatePercentageDiscountCodeAttributesInput): OrderCreatePercentageDiscountCodeAttributesInput - A percentage discount code applied to the line items on the order. ## Input objects with this input object * [OrderCreateOrderInput](/docs/api/admin-graphql/2024-10/input-objects/OrderCreateOrderInput) ## Examples