palbaseDocs

Palbase Commerce & Promotions · API

POST/commerce/stores/{store_id}/members

Add or update store portal member role

Add or update store portal member role

Called by a signed-in user of your app, with their token and the publishable key; or your server, with the project's secret key.

Path

store_idstring · requiredPath parameter store_id.
curl
curl -X POST "https://<your-ref>.palbase.studio/commerce/stores/<store_id>/members" \
  -H "apikey: $PALBASE_SECRET_KEY" \
  -H "content-type: application/json" \
  -d '{}'

Responses

200Add or update store portal member role

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

Operation AddStoreMember of commerce's contract.