Marketing
Bearer token for vendor authentication
Successfully retrieved vendor coupon list
GET /backend/api/vendor-coupon/vendor-coupon-list HTTP/1.1
Host: 139.59.67.17
Authorization: text
Accept: */*
Successfully retrieved vendor coupon list
<?xml version="1.0"?>
<object>
<status>1</status>
<message>Successfully got vendor Coupon list</message>
</object>
Updates the status of one or more coupons.
Bearer token for vendor authentication
[86]
1
Coupon status updated successfully
Bad Request
Coupon not found
Internal Server Error
PUT /backend/api/vendor-coupon/status-update HTTP/1.1
Host: 139.59.67.17
Authorization: text
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 22
"id=[86]&status=1"
<?xml version="1.0"?>
<object>
<status>1</status>
<message>Coupon Status Updated Successfully.</message>
</object>
Retrieves detailed information for a specific vendor coupon.
The ID of the vendor coupon to retrieve details for.
Bearer token for vendor authentication
Successfully retrieved vendor coupon details.
Bad Request
Internal Server Error
GET /backend/api/vendor-coupon/vendor-coupon-detail HTTP/1.1
Host: 139.59.67.17
Authorization: text
Accept: */*
<?xml version="1.0"?>
<object>
<status>1</status>
<message>Successfully got Vendor Coupon Detail.</message>
</object>
Bearer token for vendor authentication
Successfully retrieved the product list
Bad request
Internal server error
GET /backend/api/vendor-product HTTP/1.1
Host: 139.59.67.17
Authorization: text
Accept: */*
<?xml version="1.0"?>
<object>
<status>1</status>
<message>Successfully got your product list.</message>
</object>
Updates the details of an existing vendor coupon based on the coupon ID.
The ID of the vendor coupon to update.
Bearer token for vendor authentication
The name of the coupon.
The coupon code.
The status of the coupon (e.g., active/inactive).
The type of coupon.
The discount amount or percentage.
The minimum purchase amount for the coupon.
The maximum purchase amount for the coupon.
Restrictions for coupon usage by email.
Specifies who the coupon applies to.
Whether all qualifying items apply for the coupon.
The start date for the coupon's validity.
The end date for the coupon's validity.
The maximum number of users who can use the coupon.
The maximum number of times the coupon can be used by each user.
The number of items in the cart that are eligible for the coupon.
The type of product the coupon applies to.
The reference IDs of products for which the coupon is valid.
Successfully updated the vendor coupon.
Bad Request
Internal Server Error
PUT /backend/api/vendor-coupon/update-vendor-coupon/{vendorCouponId} HTTP/1.1
Host: 139.59.67.17
Authorization: text
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 402
"couponName='text'&couponCode='text'&status=1&couponType=1&discount='text'&minimumPurchaseAmount=1&maximumPurchaseAmount=1&emailRestrictions='text'&applicableFor='text'&allQualifyingItemsApply=1&startDate='2025-08-29'&endDate='2025-08-29'&maxUserPerCoupon=1&noOfTimeCouponValidPerUser=1&appliedCartItemsCount=1&productType[0][type]=1&productType[0][referenceId][]=[1]"
<?xml version="1.0"?>
<object>
<status>1</status>
<message>Coupon Updated Successfully.</message>
</object>
Deletes a vendor coupon based on the coupon ID.
The ID of the vendor coupon to delete.
Bearer token for vendor authentication
Successfully deleted the vendor coupon.
Bad Request
Vendor Coupon not found
Internal Server Error
DELETE /backend/api/vendor-coupon/delete-vendor-coupon/{vendorCouponId} HTTP/1.1
Host: 139.59.67.17
Authorization: text
Accept: */*
<?xml version="1.0"?>
<object>
<status>1</status>
<message>Successfully deleted the Vendor Coupon.</message>
</object>
Last updated