palbaseDocs

Palbase Commerce & Promotions · API

GET/promotions/rules/{rule_id}

Get promotion rule

Get promotion rule

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

Path

rule_idstring · requiredPath parameter rule_id.
curl
curl -X GET "https://<your-ref>.palbase.studio/promotions/rules/<rule_id>" \
  -H "apikey: $PALBASE_SECRET_KEY"

Responses

200Get promotion rule

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

Operation GetPromotionRule of commerce's contract.