Skip to content

Create Catalog Rule

EndpointMethod
/api/admin/marketing/catalog-rulesPOST

Request Body

FieldTypeRequiredNotes
namestringyes
descriptionstringno
starts_fromstringnoYYYY-MM-DD.
ends_tillstringno
statusintno0/1.
sort_orderintno
condition_typeintno
conditionsarrayno
end_other_rulesintno
action_typestringyesby_percent, by_fixed, etc.
discount_amountnumberyes
channelsint[]yes
customer_groupsint[]yes

Permission: marketing.promotions.catalog_rules.create.

Released under the MIT License.