palbaseDocs

Palbase Commerce & Promotions · API

PATCH/commerce/reviews/{review_id}

Moderate a product or store review status

Approve, reject, or hide a customer product or store review and recompute aggregate ratings.

Called by your server, with the project's secret key.

Path

review_idstring · requiredPath parameter review_id.
curl
curl -X PATCH "https://<your-ref>.palbase.studio/commerce/reviews/<review_id>" \
  -H "apikey: $PALBASE_SECRET_KEY" \
  -H "content-type: application/json" \
  -d '{}'

Responses

200Moderation result

defaultStandard Palbase JSON error envelope (`error` and `error_description`).

Operation AdminModerateReview of commerce's contract.