palbaseDocs

Palbase Commerce & Promotions · API

POST/commerce/hooks

Register or rotate blocking extension hook

Register or rotate blocking extension hook

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

curl
curl -X POST "https://<your-ref>.palbase.studio/commerce/hooks" \
  -H "apikey: $PALBASE_SECRET_KEY" \
  -H "content-type: application/json" \
  -d '{}'

Responses

201Register or rotate blocking extension hook

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

Operation UpsertHook of commerce's contract.