# OrderCreatePercentageDiscountCodeAttributesInput - admin-graphql - INPUT_OBJECT Version: 2024-10 ## Description The input fields for a percentage discount code to apply to an order. ### Access Scopes ## Fields * [code](/docs/api/admin-graphql/2024-10/scalars/String): String! - The discount code that was entered at checkout. * [percentage](/docs/api/admin-graphql/2024-10/scalars/Float): 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 * [OrderCreateDiscountCodeInput](/docs/api/admin-graphql/2024-10/input-objects/OrderCreateDiscountCodeInput) ## Examples