palbaseDocs

Palbase Commerce & Promotions · API

POST/commerce/collections

Create collection

Create collection

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

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

Responses

201Create collection

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

Operation CreateCollection of commerce's contract.