OrderCreatePercentageDiscountCodeAttributesInput - admin-graphql - INPUT_OBJECT
Version: unstable
Description:
The input fields for a percentage discount code to apply to an order.
Access Scopes
Fields
-
code:
String! -
The discount code that was entered at checkout.
-
percentage:
Float -
The amount that's deducted from the order total. When you create an order, this value is the percentage to deduct.
Input objects with this input object
Examples