write_reviewsThis endpoint is in preview, and is only available to partners and merchants who
have opted-inplatform parameter. If you are a merchant integrating a custom reviews app,
use custom.
Reviews must be connected to a customer in LoyaltyLion, matched using their
merchant_id. If you are a review partner, this must be the ID of the customer
in the connected store, e.g. a Shopify customer ID.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
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
1"custom"
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
Body
The ID of the review in your review platform
1The customer who left the review
The current status of the review, which determines how and when associated rules are triggered. One of: pending (the review is pending review), flagged (the review has been flagged for review), approved (the review has been approved/published), rejected (the review has been rejected)
approved, flagged, pending, rejected The full text of the review
1The rating given in the review
x >= 1The number of images attached to the review
0 <= x <= 1000The number of videos attached to the review
0 <= x <= 1000The date this review was created in the review platform, as an ISO 8601 timestamp
"2026-01-01T12:00:00Z"
If this review was for a specific product, this should be set to the product ID in your ecommerce platform. If you are a review partner, this must be the ID of the product in the connected store, e.g. a Shopify product ID
1Optional URL to moderate the review in the review platform
201