Post Cart Coupon Condition Add
POST {{baseUrl}}/cart.coupon.condition.add.json?store_id=<string>&coupon_id=<string>&target=<string>&entity=<string>&key=<string>&operator=<string>&value=<string>
Create new coupon condition
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
store_id | string | Defines store id where the webhook should be assigned | |
coupon_id | string | Coupon Id | |
target | string | Defines condition operator | |
entity | string | Specify the entity that you want to enable webhooks for (e.g product, order, customer, category) | |
key | string | Defines condition entity attribute key | |
operator | string | Defines condition operator | |
value | string | Defines condition value, can be comma separated according to the operator. |