Hide Product Review
2/7/25Less than 1 minute
Hide Review
Description
This API allows you to hide a product review by its unique ID. Once hidden, the review will no longer be visible to customers.
Endpoint
- URL:
/v1/reviews/hide/{reviewId}
- Method:
PATCH
Required Headers
{
"Authorization": "Bearer JWT_TOKEN",
"X-MerchantApiKey": "MERCHANT_API_KEY",
"Content-Type": "application/json"
}
๐ฅ Request Body
None
Example API Call (Using Fetch)
fetch("https://api.shopsynch.com/v1/reviews/hide/679f8f5a3b5f2173201c2582", {
method: "PATCH",
headers: {
"Authorization": "Bearer JWT_TOKEN",
"X-MerchantApiKey": "MERCHANT_API_KEY",
"Content-Type": "application/json"
}
})
.then(response => response.json())
.then(data => console.log(data))
.catch(error => console.error("Error:", error));
โ Sample 200 Response (Success)
{
"status": true,
"message": "Review hidden successfully"
}
โ Sample 404 Response (Not Found)
{
"status": false,
"message": "Review not found"
}
Next Steps
- Learn more about Fetching Product Reviews