reviews
POST /v2/reviews/{platform}
Changed onRequest
- Base URLhttps://api.loyaltylion.com
- URLhttps://api.loyaltylion.com/v2/reviews/{platform}
- AuthHTTP bearer
Path parameters
platformstring required
Example:custom
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
Query parameters
site_idnumber
Create the review in the specified site. This is only required for programs that have multiple sites. Programs with only a single site can omit this parameter, and the review will be created in the program's only site
Request body
Example request
{
"date": "2026-01-01T12:00:00Z"
}Response
201
Example response
{
"review": {
"platform": "custom",
"full_text": "Lorem ipsum dolor sit amet, consectetur adipiscing elit",
"rating": 5,
"images_count": 3
}
}Changes
- breaking
added to the
response propertyoneOflist for the response status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added
unsupported_platformmerchant_id_already_existsinvalid_site_idcustomer_deleteddiscriminator mapping keys to theresponse property for the response status
- breaking