palbaseDocs

Palbase Commerce & Promotions · API

DELETE/commerce/discovery/rules/{rule_id}

Delete a merchandising rule

Delete a merchandising rule by UUID.

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

Path

rule_idstring · requiredRule UUID.
curl
curl -X DELETE "https://<your-ref>.palbase.studio/commerce/discovery/rules/<rule_id>" \
  -H "apikey: $PALBASE_SECRET_KEY"

Responses

200Rule deleted

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

Operation DeleteMerchandisingRule of commerce's contract.