Admin Marketing: Promotions
Create a catalog rule
Create a catalog rule
post/marketing/catalog-rules
Request
- Base URLhttp://localhost:8000/api/admin
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"name": "Summer 10% off",
"description": "Sitewide 10% off summer collection",
"starts_from": "2026-06-01",
"ends_till": "2026-08-31",
"status": 1,
"condition_type": 1,
"conditions": [],
"action_type": "by_percent",
"discount_amount": 10,
"channels": [
1
],
"customer_groups": [
1,
2
]
}Response
Catalog rule created.
Changes
No recorded changes to this operation across all 8 revisions of this API.