Marketing
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.
1Successfully got 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: */*
{
"status": 1,
"message": "Successfully got vendor Coupon list."
}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.
1Successfully got 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: */*
{
"status": 1,
"message": "Successfully got the complete product list."
}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/json
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": "2026-01-01",
"endDate": "2026-01-01",
"allQualifyingItemsApply": 1
}Coupon Created Successfully.
{
"status": 1,
"message": "text"
}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.
{
"status": 1,
"message": "successfully got Vendor Coupon Detail."
}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/json
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": "2026-01-01",
"endDate": "2026-01-01",
"allQualifyingItemsApply": 1,
"couponId": "text"
}Coupon Updated Successfully.
{
"status": 1,
"message": "Coupon Updated Successfully."
}Deletes the specified coupon by ID
ID of the coupon to delete
Bearer token for authentication.
Successfully deleted the coupon
1Successfully deleted CouponInvalid ID supplied
Coupon not found
DELETE /backend/api/delete-coupon/{couponId} HTTP/1.1
Host: 139.59.67.17
Authorization: text
Accept: */*
{
"status": 1,
"message": "Successfully deleted Coupon"
}Retrieves a list of products with optional limit and offset parameters.
The number of products to retrieve
The number of products to skip before starting to collect results
If set to 1, returns the total count of products
Bearer token for authentication.
Successfully retrieved the product list
1Successfully got the complete product listInvalid query parameters
GET /backend/api/product-list HTTP/1.1
Host: 139.59.67.17
Authorization: text
Accept: */*
{
"status": 1,
"message": "Successfully got the complete product list"
}Retrieves the details of a specific product by its ID.
ID of the product to retrieve details for
Product ID in query parameter
Bearer token for authentication.
Successfully retrieved the product details
1successfully got the details of given product idInvalid product ID
Product not found
GET /backend/api/product-related-detail/{productId} HTTP/1.1
Host: 139.59.67.17
Authorization: text
Accept: */*
{
"status": 1,
"message": "successfully got the details of given product id"
}Updates the related products for a given product.
Bearer token for authentication.
ID of the product to update related products for
Array of related product IDs to associate with the given product
Successfully updated the related products
1successfully updated the related productsInvalid request body
Product not found
POST /backend/api/update-product-related HTTP/1.1
Host: 139.59.67.17
Authorization: text
Content-Type: */*
Accept: */*
Content-Length: 38
{
"productId": 1,
"relatedProductId": [
1
]
}{
"status": 1,
"message": "successfully updated the related products"
}Last updated

