id
of the allocated branch as a path parameter; the response includes the assigned shipping companies based on branch coordinates.branches.read
- Branchs ReadAuthorization: Bearer ********************
curl --location --request GET 'https://api.salla.dev/admin/v2/branches/allocation/1939592358' \
--header 'Authorization: Bearer <token>'
{
"status": 200,
"success": true,
"data": {
"id": 1939592358,
"name": "Allocation Rout Name",
"company_id": 665151403,
"priority": 1,
"rules": [
{
"type": "total_quantity",
"operator": ">=",
"value": [
"3"
]
}
],
"action": {
"type": "branches",
"strategy": "most_stock",
"branch_ids": [],
"single_branch_only": false
}
}
}