Create Coupon
HTTP Request
POST https://commerce.zoho.com/store/api/v1/coupons
OAuth Scope
ZohoCommerce.coupons.CREATE
Parameters
Parameter | Description |
coupon_code* | string: Code for the coupon. |
coupon_name* | string: Name of the coupon. |
activation_time* | boolean: if true, guest user cannot apply this coupon |
minimum_order_value* | string: Order total must be greater than this amount in order to apply this coupon. |
discount_type* | string: Type of coupon, either "Flat" or "Percentage". |
discount_value* | string: Value of the coupon. |
max_redemption_count* | integer: Coupon limit for store. |
max_redemption_count_per_user* | integer: Coupon limit per customer. |
eligible_products | json: Coupon applicable for the mentioned products. |
eligible_shipping_zones | json: Coupon applicable for the mentioned shipping zones. |
eligible_customers | json: Coupon applicable for the mentioned customers. |
Request Example
Copied
Show full
Show less
Success Response
Copied
Show full
Show less
Failure Response
Copied