Coupons


Sellhub Docs
Create New Coupon
Authorization
Authorization
<token>In: header
Request Body
application/json
RequiredRequest body for creating a coupon
couponCode
stringCoupon Code
couponValue
numberCoupon Value
valueType
stringCoupon Value Type
enableStartDate
booleanstartDate
stringFormat:
"date-time"
productsAccepted
objectMapping of product IDs to arrays of variant IDs
bundlesAccepted
array<string>List of bundle IDs the coupon applies to
paymentsAccepted
array<string>Payment methods valid for this coupon
disabledPaymentMethods
array<string>Payment methods disabled from using this coupon
enableEndDate
booleanendDate
stringFormat:
"date-time"
enableLimit
booleancouponLimit
numberCoupon created