Input data for creating a discount code
Fields
combinesWith ● DiscountCombinesWithInput
Determine which discount tiers can be combined with the shipping discount
More
List of destinations eligible for the discount
More
customerSelection ● DiscountCustomerSelectionInput
The customers that are eligible to use the discount.
More
startsAt ● Date
The date and time when the discount starts.
endsAt ● Date
End date and time of the discount. For unlimited discounts, use null.
maximumShippingPrice ● Decimal
Maximum shipping fee eligible for the discount.
title ● String
The title of the discount.
appliesTimesPerCustomer ● Int
Number of times each customer used a discount code
minimumRequirement ● DiscountMinimumRequirementInput
Minimum subtotal or quantity required to apply the discount
More
code ● String
The code to use the discount.
usageLimit ● Int
Maximum number of times the discount can be used. For unlimited discounts, use null.
Status and error codes
For detailed information about common codes, see Status and error codes.
Was this article helpful to you?