Rating and Review

Retrieve vendor product reviews and ratings

get

Fetches product reviews and ratings for a vendor with optional filters.

Query parameters
limitintegerOptional

Number of records to return.

offsetintegerOptional

Number of records to skip.

keywordstringOptional

Search keyword to filter results.

countintegerOptional

Flag to include count in the response.

startDatestringOptional

Start date for filtering results (YYYY-MM-DD).

endDatestringOptional

End date for filtering results (YYYY-MM-DD).

productNamestringOptional

Filter results by product name.

starCountstringOptional

Filter results by star count.

Header parameters
AuthorizationstringRequired
Responses
200

Vendor product reviews and ratings retrieved successfully.

get
GET /backend/api/vendor-product-rating HTTP/1.1
Host: 139.59.67.17
Authorization: text
Accept: */*
<?xml version="1.0"?>
<object>
	<status>1</status>
	<message>text</message>
</object>

Update vendor product rating status

put

Updates the status of one or more vendor product ratings.

Header parameters
AuthorizationstringRequired
Body
idsinteger[]Required
statusintegerRequired

The new status of the ratings. (0 = Inactive, 1 = Active)

Responses
200

Vendor rating status updated successfully.

put
PUT /backend/api/vendor-product-rating/status HTTP/1.1
Host: 139.59.67.17
Authorization: text
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 22

"ids=[1]&status=1"
<?xml version="1.0"?>
<object>
	<status>1</status>
	<message>text</message>
</object>

Last updated