List Auto Assignment Rules
GET
/orders/assignment/rulesThis endpoint allows you to retrieve all the orders auto-assignment rules per employee.
Request
Request samples
[api.label.responses]
Response status code, a numeric or alphanumeric identifier used to convey the outcome or status of a request, operation, or transaction in various systems and applications, typically indicating whether the action was successful, encountered an error, or resulted in a specific condition.
Response flag, boolean indicator used to signal a particular condition or state in the response of a system or application, often representing the presence or absence of certain conditions or outcomes.
A unique identifier assigned to a specific rule or condition that affects the pricing, discounts, or other aspects of an order.
A unique identifier assigned to a user of a system, application, or website.
{
"status": 200,
"success": true,
"data": [
{
"id": 219372983,
"user_id": 461258256,
"rules": [
{
"entity": "city",
"value": "2097610897"
},
{
"entity": "country",
"value": "SA"
},
{
"entity": "status",
"value": "7646469"
},
{
"entity": "branch",
"value": "566146469"
}
]
},
{
"id": 219372983,
"user_id": 3125825677,
"rules": [
{
"entity": "status",
"value": "5546369"
},
{
"entity": "branch",
"value": "21654322"
}
]
}
]
}