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

KeyDatatypeRequiredDescription
store_idstringDefines store id where the webhook should be assigned
coupon_idstringCoupon Id
targetstringDefines condition operator
entitystringSpecify the entity that you want to enable webhooks for (e.g product, order, customer, category)
keystringDefines condition entity attribute key
operatorstringDefines condition operator
valuestringDefines condition value, can be comma separated according to the operator.