palbaseDocs

Palbase Commerce & Promotions · API

POST/commerce/me/reviews/upload-url

Mint signed Storage upload URL for review photo or video

Mint a short-lived direct-to-Storage PUT URL for uploading a customer review image (up to 10 MiB) or video (up to 50 MiB).

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

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

Responses

201Signed Storage upload URL

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

Operation MintReviewUploadURL of commerce's contract.