Create Customer Discount
Use customer discounts if you like to give one of your existing customers a coupon code to redeem on your store.
label * string The label of the discount.
currency * string (currency-code) The currency of the discount.
percent_off * decimal The percentage discount that gets applied to the order and/or product subtotal.
amount_off * integer The fixed discount amount that gets applied to the order and/or product subtotal.
shipping_amount_off * integer The fixed discount amount applied to the shipping subtotal.
shipping_percent_off * decimal The percentage discount applied to the shipping subtotal.
applies_to * string The possible values are all_products and selected_products.
active boolean Determines whether the discount is currently active. The default value is false.
customer * string The id of the Customer that this discount belongs to.
coupon * string The coupon code, for example, BLACKFRIDAY.
coupon_max_redemptions integer The number of times the coupon can be redeemed. The default value is 1.
products array of strings The product IDs associated with the discount. Required if applies_to is set to selected_products.
domain string The id of the domain that this discount can be redeemed on. If not provided, the coupon can be redeemed on all your checkout flows managed by Tamio.
expiry_date date-format The expiration date of the discount.