Palbase Commerce & Promotions · API
GET
/commerce/discovery/rules/{rule_id}Get a merchandising rule
Retrieve a merchandising rule by UUID.
Called by your server, with the project's secret key.
Path
rule_idstring · requiredRule UUID.curl
curl -X GET "https://<your-ref>.palbase.studio/commerce/discovery/rules/<rule_id>" \
-H "apikey: $PALBASE_SECRET_KEY"Responses
200Merchandising rule
defaultStandard Palbase JSON error envelope (`error` and `error_description`).
Operation GetMerchandisingRule of commerce's contract.