palbaseDocs

Palbase Commerce & Promotions · API

POST/commerce/categories

Create category

Create category

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

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

Responses

201Create category

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

Operation CreateCategory of commerce's contract.