- 🐶 Walk through Apidog
- hey couriers
- Web
- Hey Courier
- Auth
- Group Permission
- Webhook Secret Key
- Profile Update
- Common
- Employee
- Package Model
- Assign Package To Driver
- Photo Upload in Assign Package
- Route
- Delivery Rates
- Driver Delivery Rates
- Dashboard API
- Optimize Route List of Package
- Return Report
- Delivery Attempt
- Company
- Delivery Status Manage Model
- Warehouse
- Pickup Point
- Driver Lat-Long Manage
- Company Package Upload
- Package by Company Key
- Driver Support
- Pickup Package
- Wallet
- Pickup Route
- Pickup Package by Webhook
- Wallet Adjustment
- Invoice
- App
- Untitled EndpointGET
- Untitled EndpointGET
- Untitled EndpointPOST
Testing
POST
{{base_url}}assign-package-to-driver/
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.Example:
Authorization: Bearer ********************
Body Params application/json
packages
array[integer]
required
driver
integer
required
route_id
integer
required
Example
{
"packages": [
13
],
"driver": 21,
"route_id": 56,
"old_route_id": []
}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request POST '{{base_url}}assign-package-to-driver/' \
--header 'Content-Type: application/json' \
--data-raw '{
"packages": [
13
],
"driver": 21,
"route_id": 56,
"old_route_id": []
}'
Responses
🟢200Success
application/json
Body
object {0}
Example
{}
Modified at 2024-11-22 06:13:56