Creating ABSOLUTE Coupon with MinOrderValue SelectedUser
POST {{api-url}}/caas-coupon/{{tenant}}/coupons
Request Body
{"name"=>"ABSOLUTE Coupon with MinOrderValue SelectedUser", "code"=>"ABS03", "description"=>"ABS coupon", "discountType"=>"ABSOLUTE", "categoryRestricted"=>false, "discountAbsolute"=>{"amount"=>10, "currency"=>"EUR"}, "restrictions"=>{"validFor"=>["CustomerId"], "minOrderValue"=>{"amount"=>"50", "currency"=>"EUR"}, "validFrom"=>"2021-10-21T09:04:35.446Z", "validUntil"=>"2030-12-31T10:04:35.446Z"}, "allowAnonymous"=>false}