palbaseDocs

Palbase Commerce & Promotions · API

GET/promotions/rules

List promotion rules

List promotion rules

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

Query

limitinteger · optionalMaximum number of items per page (1..200).
cursorstring · optionalOpaque keyset pagination cursor.
statusstring · optionalFilter by status.
store_idstring · optionalFilter by owning store UUID.
curl
curl -X GET "https://<your-ref>.palbase.studio/promotions/rules" \
  -H "apikey: $PALBASE_SECRET_KEY"

Responses

200List promotion rules

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

Operation ListPromotionRules of commerce's contract.