Commerce
Reviews
Manage product reviews and ratings submitted by customers.
Create a review
POST
/modules/commerce/reviews
Create a product review.
curl
curl -X POST https://api.saasignal.saastemly.com/modules/commerce/reviews \
-H "Authorization: Bearer sk_live_..." \
-H "Content-Type: application/json" \
-d '{"product_id":"...","rating":1}'
json — 201 Created
{ "status": "ok" }
Body field
Type
Description
product_id requiredstring
customer_idstring
order_idstring
rating requiredinteger
range ≥1 .. ≤5
titlestring
max 256 chars
bodystring
max 10000 chars
imagesarray
max 10 items
metadataobject
Error responses
401 Unauthorized
402 Insufficient tokens
429 Rate limited
List reviews
GET
/modules/commerce/reviews
List product reviews.
curl
curl https://api.saasignal.saastemly.com/modules/commerce/reviews \
-H "Authorization: Bearer sk_live_..."
json — 200 OK
{ "status": "ok" }
Query param
Type
Description
product_idstring
customer_idstring
statusstring
min_ratinginteger
range ≥1 .. ≤5
limitinteger
range ≥1 .. ≤100default
25cursorstring
Error responses
401 Unauthorized
402 Insufficient tokens
429 Rate limited
Get a review
GET
/modules/commerce/reviews/{review_id}
Retrieve a single review.
curl
curl https://api.saasignal.saastemly.com/modules/commerce/reviews/{review_id} \
-H "Authorization: Bearer sk_live_..."
json — 200 OK
{ "status": "ok" }
Path param
Type
Description
review_id requiredstring
Error responses
401 Unauthorized
402 Insufficient tokens
404 Not found
429 Rate limited
commerceReviewUpdate
GET
Delete a review
DELETE
/modules/commerce/reviews/{review_id}
Permanently remove a review.
curl
curl -X DELETE https://api.saasignal.saastemly.com/modules/commerce/reviews/{review_id} \
-H "Authorization: Bearer sk_live_..."
json — 200 OK
{ "status": "ok" }
Path param
Type
Description
review_id requiredstring
Error responses
401 Unauthorized
402 Insufficient tokens
404 Not found
429 Rate limited