Anchor to OrderCreatePercentageDiscountCodeAttributesInputOrder
input_objectOrder Create Percentage Discount Code Attributes Input
The input fields for a percentage discount code to apply to an order.
Anchor to FieldsFields
- Anchor to codecode•String!non-null
The discount code that was entered at checkout.
- Anchor to percentagepercentage•Float
The amount that's deducted from the order total. When you create an order, this value is the percentage to deduct.
Was this section helpful?
Anchor to Input objects using this inputInput objects using this input
- Anchor to OrderCreateDiscountCodeInput.itemPercentageDiscountCodeOrder•INPUT OBJECT
Create Discount Code Input.item Percentage Discount Code A percentage discount code applied to the line items on the order.
Was this section helpful?