Marketing

get
/vendor-coupon/vendor-coupon-list
Header parameters
AuthorizationstringRequired

Bearer token for vendor authentication

Responses
200

Successfully retrieved vendor coupon list

get
/vendor-coupon/vendor-coupon-list
200

Successfully retrieved vendor coupon list

Update Coupon Status

put
/vendor-coupon/status-update

Updates the status of one or more coupons.

Header parameters
AuthorizationstringRequired

Bearer token for vendor authentication

Body
idinteger[]RequiredExample: [86]
statusintegerRequiredExample: 1
Responses
200

Coupon status updated successfully

put
/vendor-coupon/status-update

Get Vendor Coupon Details

get
/vendor-coupon/vendor-coupon-detail

Retrieves detailed information for a specific vendor coupon.

Query parameters
vendorCouponIdintegerRequired

The ID of the vendor coupon to retrieve details for.

Header parameters
AuthorizationstringRequired

Bearer token for vendor authentication

Responses
200

Successfully retrieved vendor coupon details.

get
/vendor-coupon/vendor-coupon-detail

Get Vendor Product List

get
/vendor-product
Query parameters
limitintegerOptional
offsetintegerOptional
countintegerOptional
keywordstringOptional
sortOrderstring · enumOptionalPossible values:
Header parameters
AuthorizationstringRequired

Bearer token for vendor authentication

Responses
200

Successfully retrieved the product list

get
/vendor-product

Update Vendor Coupon

put
/vendor-coupon/update-vendor-coupon/{vendorCouponId}

Updates the details of an existing vendor coupon based on the coupon ID.

Path parameters
vendorCouponIdintegerRequired

The ID of the vendor coupon to update.

Header parameters
AuthorizationstringRequired

Bearer token for vendor authentication

Body
couponNamestringRequired

The name of the coupon.

couponCodestringRequired

The coupon code.

statusinteger · int32Required

The status of the coupon (e.g., active/inactive).

couponTypeinteger · int32Required

The type of coupon.

discountstringRequired

The discount amount or percentage.

minimumPurchaseAmountinteger · int32Required

The minimum purchase amount for the coupon.

maximumPurchaseAmountinteger · int32Required

The maximum purchase amount for the coupon.

emailRestrictionsstringOptional

Restrictions for coupon usage by email.

applicableForstringOptional

Specifies who the coupon applies to.

allQualifyingItemsApplyinteger · int32Required

Whether all qualifying items apply for the coupon.

startDatestring · dateRequired

The start date for the coupon's validity.

endDatestring · dateRequired

The end date for the coupon's validity.

maxUserPerCouponinteger · int32Required

The maximum number of users who can use the coupon.

noOfTimeCouponValidPerUserinteger · int32Required

The maximum number of times the coupon can be used by each user.

appliedCartItemsCountinteger · int32Required

The number of items in the cart that are eligible for the coupon.

productType[0][type]integer · int32Required

The type of product the coupon applies to.

productType[0][referenceId][]integer[]Required

The reference IDs of products for which the coupon is valid.

Responses
200

Successfully updated the vendor coupon.

put
/vendor-coupon/update-vendor-coupon/{vendorCouponId}

Delete Vendor Coupon

delete
/vendor-coupon/delete-vendor-coupon/{vendorCouponId}

Deletes a vendor coupon based on the coupon ID.

Path parameters
vendorCouponIdintegerRequired

The ID of the vendor coupon to delete.

Header parameters
AuthorizationstringRequired

Bearer token for vendor authentication

Responses
200

Successfully deleted the vendor coupon.

delete
/vendor-coupon/delete-vendor-coupon/{vendorCouponId}

Last updated