Coupon
Retrieves a list of vendor coupons based on the provided filters.
The maximum number of coupons to return.
10The number of coupons to skip before starting to collect the result set.
0A flag to indicate whether to return the count of coupons.
0Bearer token for authentication.
Successfully retrieved the vendor coupon list.
Bad request due to invalid parameters.
Internal server error.
GET /backend/api/admin-coupon/admin-coupon-list HTTP/1.1
Host: 139.59.67.17
Authorization: text
Accept: */*
<?xml version="1.0"?>
<object>
<status>1</status>
<message>Successfully got vendor Coupon list.</message>
</object>
Retrieves the complete list of products based on the provided filters.
The number of products to skip before starting to collect the result set.
0The maximum number of products to return.
0Search keyword for filtering products.
SKU for filtering products.
Status of the products to filter.
Price filter for products.
0Bearer token for authentication.
Successfully retrieved the complete product list.
Bad request due to invalid parameters.
Internal server error.
GET /backend/api/product HTTP/1.1
Host: 139.59.67.17
Authorization: text
Accept: */*
<?xml version="1.0"?>
<object>
<status>1</status>
<message>Successfully got the complete product list.</message>
</object>
Bearer token for authentication.
Coupon Created Successfully.
POST /backend/api/admin-coupon/add-coupon HTTP/1.1
Host: 139.59.67.17
Authorization: text
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 393
"couponCode='text'&couponName='text'&couponType='text'&discount='text'&minimumPurchaseAmount='text'&maximumPurchaseAmount='text'&emailRestrictions='text'&productType=[{'type':1,'referenceId':[1]}]&maxUserPerCoupon='text'&noOfTimeCouponValidPerUser='text'&status='text'&appliedCartItemsCount=1&startDate='2025-10-24'&endDate='2025-10-24'&allQualifyingItemsApply=1"Coupon Created Successfully.
<?xml version="1.0"?>
<object>
<status>1</status>
<message>text</message>
</object>
Bearer token for authentication.
Successfully got Vendor Coupon Detail.
GET /backend/api/admin-coupon/coupon-detail?vendorCouponId=1 HTTP/1.1
Host: 139.59.67.17
Authorization: text
Accept: */*
Successfully got Vendor Coupon Detail.
<?xml version="1.0"?>
<object>
<status>1</status>
<message>successfully got Vendor Coupon Detail.</message>
</object>
Bearer token for authentication.
Coupon Updated Successfully.
PUT /backend/api/admin-coupon/update-coupon/{couponId} HTTP/1.1
Host: 139.59.67.17
Authorization: text
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 391
"couponCode='text'&couponName='text'&couponType='text'&discount='text'&minimumPurchaseAmount=1&maximumPurchaseAmount=1&emailRestrictions='text'&productType=[{'type':1,'referenceId':[1]}]&maxUserPerCoupon=1&noOfTimeCouponValidPerUser=1&status='text'&appliedCartItemsCount=1&startDate='2025-10-24'&endDate='2025-10-24'&allQualifyingItemsApply=1&couponId='text'"Coupon Updated Successfully.
<?xml version="1.0"?>
<object>
<status>1</status>
<message>Coupon Updated Successfully.</message>
</object>
Deletes the specified coupon by ID
ID of the coupon to delete
Bearer token for authentication.
Successfully deleted the coupon
Invalid ID supplied
Coupon not found
DELETE /backend/api/delete-coupon/{couponId} HTTP/1.1
Host: 139.59.67.17
Authorization: text
Accept: */*
<?xml version="1.0"?>
<object>
<status>1</status>
<message>Successfully deleted Coupon</message>
</object>
Last updated