Skip to main content
Anchor to OrderCreateDiscountCodeInput

OrderCreateDiscountCodeInput

input_object

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 freeShippingDiscountCodefreeShippingDiscountCode
•OrderCreateFreeShippingDiscountCodeAttributesInput

A free shipping discount code applied to the shipping on an order.

Anchor to itemFixedDiscountCodeitemFixedDiscountCode
•OrderCreateFixedDiscountCodeAttributesInput

A fixed amount discount code applied to the line items on the order.

Anchor to itemPercentageDiscountCodeitemPercentageDiscountCode
•OrderCreatePercentageDiscountCodeAttributesInput

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

The input fields for creating an order.


Was this section helpful?