palbaseDocs

Palbase Commerce & Promotions · API

POST/commerce/me/products/{product_id_or_handle}/reviews

Submit a product review with verified store attribution and optional photo/video media

Submit a customer review for a product. Automatically links to the buyer's paid order line and purchased-from seller store when present.

Called by a signed-in user of your app, with their token and the publishable key.

Path

product_id_or_handlestring · requiredPath parameter product_id_or_handle.
curl
curl -X POST "https://<your-ref>.palbase.studio/commerce/me/products/<product_id_or_handle>/reviews" \
  -H "apikey: $PALBASE_PUBLISHABLE_KEY" \
  -H "authorization: Bearer $USER_ACCESS_TOKEN" \
  -H "content-type: application/json" \
  -d '{}'

Responses

201Created product review

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

Operation CreateProductReview of commerce's contract.