Create Cart Rule
| Endpoint | Method |
|---|---|
/api/admin/marketing/cart-rules | POST |
Request Body
| Field | Type | Required | Notes |
|---|---|---|---|
name | string | yes | |
description | string | no | |
channels | int[] | yes | |
customer_groups | int[] | yes | |
starts_from | datetime | no | |
ends_till | datetime | no | |
status | int | no | 0/1. |
coupon_type | int | yes | 1 = no coupon, 2 = specific coupon. |
action_type | enum | yes | by_percent, by_fixed, cart_fixed, buy_x_get_y. |
discount_amount | number | yes | |
condition_type | int | no | 0/1. |
conditions | array | no |
Permission: marketing.promotions.cart_rules.create.

