This is fake endpoint to describe variant of PUT /api/v2.1/rules/{id}Ask AIput https://admin.sandbox.vouchery.app/api/v2.1/rules/{id}#___customer_categoryUpdate a rule.Path ParamsidintegerrequiredRule IDBody ParamsThe object with fields to updatecategorystringNullable. Name of category, rule will be related to.category_typestringenumrequiredcustomerAllowed:customermatching_typestringenumrequiredany_of means that all customer should have tags in mentioned category. none_of - customer shouldn't have tags.any_ofnone_ofAllowed:any_ofnone_oftagsarray of stringsrequiredtags*ADD stringtypestringenumrequiredCustomerCategoryAllowed:CustomerCategoryResponses 200Updated object 401Unauthorized error. 403Forbidden error. 422Unprocessable entity error. Validation failed. 500Internal server error. Try again in a few minutes or contact support.Updated over 2 years ago