Create a Coupon
Last updated
Was this helpful?
Last updated
Was this helpful?
The brand URL of the request. This is used to identify the brand.
YOUR_BRAND_URL
This is used to authenticate the request. If the request is not authenticated, the server will return a 401 Unauthorized response.
YOUR_AUTH_KEY
This class is used to provide a data transfer object for the coupon which is used for command requests.
The name of the coupon.
The code of the coupon.
The percentage of the coupon.
The quantity of the coupon.
The start date and end date of the coupon.
The end date of the coupon.
Is the coupon auto apply to price. If true, the coupon will be applied to the price automatically. By default, the value is false.
The description of the coupon.
The tags of the coupon.
The test mode of the coupon. By default, the value is false.