createDiscount
Create a new discount
createDiscount(
input: CreateDiscountInput!
): Discount!
Arguments
createDiscount.input ● CreateDiscountInput! non-null input
Input for the createDiscount mutation
Type
Discount object
A discount. Multiple discounts are applied multiplicatively: discounted = original * (1 - discount1) * (1 - discount2) * ...