Update Auto Assignment Rule
PUT {{baseUrl}}/orders/assignment/rules/:rule_id
This endpoint allows you to update the order rules per employee by passing the rule_id
as the path parameter.
orders.read_write
- Orders Read & Write
Request Body
{"0"=>{"entity"=>"<string>", "value"=>"<string>"}, "1"=>{"entity"=>"<string>", "value"=>"<string>"}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"status":"\u003cinteger\u003e","success":"\u003cboolean\u003e","data":{"id":"\u003cinteger\u003e","user_id":"\u003cinteger\u003e","rules":[{"entity":"\u003cstring\u003e","value":"\u003cstring\u003e"},{"entity":"\u003cstring\u003e","value":"\u003cstring\u003e"}]}}