shipping.read_write
{ "status": true, "companies": [ { "id": 12981994637, "priority": 1 } , { "id": 566146469, "priority": 2 } ] , "strategy": { "type": "manual" } }
curl --location --request PATCH 'https://api.salla.dev/admin/v2/shipping/routes/default' \ --header 'Content-Type: application/json' \ --data-raw '{ "status": true, "companies": [ { "id": 12981994637, "priority": 1 } , { "id": 566146469, "priority": 2 } ] , "strategy": { "type": "manual" } }'
{ "status": 200, "success": true, "data": { "id": 1637823335, "name": "المسار الافتراضي", "status": true, "type": "default", "companies": [ { "id": 1298199463, "priority": 1, "capacity": 0 }, { "id": 566146469, "priority": 2, "capacity": 0 } ], "strategy": { "type": "manual" } } }