palbaseDocs

Palbase Commerce & Promotions · API

DELETE/promotions/rules/{rule_id}

Archive promotion rule

Archive promotion rule

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

Path

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

Responses

200Archive promotion rule

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

Operation ArchivePromotionRule of commerce's contract.