Anchor to OrderCreateDiscountCodeInputOrder
input_objectOrder Create Discount Code Input
The input fields for a discount code to apply to an order. Only one type of discount can be applied to an order.
Anchor to FieldsFields
- Anchor to freeShippingDiscountCodefree•Order
Shipping Discount Code Create Free Shipping Discount Code Attributes Input A free shipping discount code applied to the shipping on an order.
- Anchor to itemFixedDiscountCodeitem•Order
Fixed Discount Code Create Fixed Discount Code Attributes Input A fixed amount discount code applied to the line items on the order.
- Anchor to itemPercentageDiscountCodeitem•Order
Percentage Discount Code Create Percentage Discount Code Attributes Input A percentage discount code applied to the line items on the order.
Was this section helpful?
Anchor to Input objects using this inputInput objects using this input
- •INPUT OBJECT
A discount code applied to the order.
Was this section helpful?