Light Mode
Create Auto Assignment Rules
POST
/orders/assignment/rulesLast modified:Â 16 days ago
This endpoint allows you to create multiple order auto assignment rules.
Request
Body Params application/json
No schema defined
Example
{
"user_id": 2897329,
"rules": [
{
"entity": "city",
"value": "2097610897"
},
{
"entity": "country",
"value": "SA"
},
{
"entity": "status",
"value": "7646469"
},
{
"entity": "branch",
"value": "566146469"
}
]
}
Request samples
Responses
Created Successfully(201)
Created Successfully
HTTP Code:Â 201
Content Type :Â JSONapplication/json
Data Schema
No schema defined
Example
{
"status": 201,
"success": true,
"data": {
"id": 123123123,
"user_id": 2897329,
"rules": [
{
"entity": "city",
"value": "2097610897"
},
{
"entity": "country",
"value": "SA"
},
{
"entity": "status",
"value": "7646469"
},
{
"entity": "branch",
"value": "566146469"
}
]
}
}
Last modified: 16 days ago