Create Order
POST
http://82.180.154.188:4352/orders
Last modified:2025-04-12 13:30:49
The order created will be assign to the nearst branch.
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://82.180.154.188:4352/orders' \
--header 'Authorization: Bearer ' \
--header 'Content-Type: application/json' \
--data-raw '{
"pickUpDateFrom": "2025-04-11T14:00:00Z",
"pickUpDateTo": "2025-04-11T16:00:00Z",
"deliveryDateFrom": "2025-04-12T14:00:00Z",
"deliveryDateTo": "2025-04-12T16:00:00Z"
}'
Response Response Example
{
"status": "success",
"message": "Order created successfully"
}
Request
Header Params
Authorization
string
required
Example:
Bearer {{JWT}}
Body Params application/json