v1
latestOpenAPI 3.0.12026-07-24501176.6 MBEnable or Disable a Vendor
put/api_gateway/rewards/core/v1/vendor/{vendorId}/status/{action}/brand/{brandId}
Path parameters
vendorIdinteger required
Unique identifier of the vendor.
brandIdinteger required
Unique identifier of the brand
action'enable' | 'disable' required
Enable or disable the vendor.
Response
200
Example response
{
"status": {
"success": true,
"code": 5006,
"message": "Vendor status updated successfully"
},
"vendorRo": {
"id": 133,
"name": "VENDORHIRE",
"brandId": 61,
"type": "REWARDS",
"createdBy": 75161973,
"lastUpdatedBy": 75161973,
"createdOn": 1747307907000,
"lastUpdatedOn": 1748350778000,
"createdOnDateTime": "2025-05-15T11:18:27Z",
"lastUpdatedOnDateTime": "2025-05-27T12:59:38Z",
"rank": 1,
"code": "Doc0036",
"description": "The top priority vendor"
}
}