Admin Marketing: Promotions
Update a catalog rule
Partial update — send only the fields you change. channels + customer_groups, when supplied, fully replace the current pivots.
put/marketing/catalog-rules/{id}
Request
- Base URLhttp://localhost:8000/api/admin
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idstring required
Marketing catalog rule ID
Request body
Example request
{
"name": "Summer 15% off",
"description": "Updated description",
"channels": [
1
],
"customer_groups": [
1,
2
],
"condition_type": 1,
"conditions": [
{
"attribute": "product|category_ids",
"operator": "{}",
"value": "5",
"attribute_type": "select"
}
],
"action_type": "by_percent",
"discount_amount": 15,
"starts_from": "2026-06-01",
"ends_till": "2026-08-31",
"status": 1
}Response
Catalog rule updated; returns the updated detail.
Changes
No recorded changes to this operation across all 8 revisions of this API.