Skip to main content
DELETE
/
v2
/
reviews
/
{platform}
/
{merchant_id}
cURL
curl --request DELETE \
  --url https://api.loyaltylion.com/v2/reviews/{platform}/{merchant_id} \
  --header 'Authorization: Bearer <token>'
{
  "deleted": true
}
This endpoint is in preview, and is only available to partners and merchants who have opted-in
Use this endpoint to delete a review. Deleting a review cannot be undone, and will void any associated customer activities triggered by the review rule. To delete a review you’ll need the platform and the merchant_id you sent to LoyaltyLion when you first created the review.

Authorizations

Authorization
string
header
required

An API key linked to a Program in LoyaltyLion, with a set of permissions (scopes). API keys can be created manually, or acquired through an OAuth2 flow. The API key should be provided as a Bearer token in the Authorization header

Path Parameters

platform
string
required

The review platform. Use your platform identifier if you are a review partner, or "custom" if you are a merchant integrating a custom reviews app

Minimum string length: 1
Example:

"custom"

merchant_id
string
required

The ID of the review in the review platform

Minimum string length: 1

Response

204

deleted
boolean
required

A boolean indicating if the review was deleted. If the review was already deleted, this will be false