Body
-
external_id string
The order ID generated from a third-party system such as a CRM, POS, or accounting software
-
proof_of_delivery object
-
pickup_schedule object
-
delivery_schedule object
-
notes string
-
source_contact object
-
destination_contact object
-
collections array[object]
PATCH /orders/{order_uuid}
curl \
-X PATCH https://{workspace}.fleetrunnr.com/api/v1/orders/{order_uuid} \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"external_id":"4433","proof_of_delivery":{"signature":true,"image":true},"pickup_schedule":{"from":"2022-01-20 13:30","to":"2022-01-20 15:00"},"delivery_schedule":{"from":"2022-01-23 09:00","to":"2022-01-23 11:30"},"notes":"some notes here...","source_contact":{"name":"Amanda Murrin","email":"amanda.murrin@example.com","phone":"+12025550159"},"destination_contact":{"name":"Amanda Murrin","email":"amanda.murrin@example.com","phone":"+12025550159"},"collections":[{"type":"CASH","amount":120.75,"currency":"USD"}],"tags":["tag1","tag2"]}'
Request example
{
"external_id": "4433",
"proof_of_delivery": {
"signature": true,
"image": true
},
"pickup_schedule": {
"from": "2022-01-20 13:30",
"to": "2022-01-20 15:00"
},
"delivery_schedule": {
"from": "2022-01-23 09:00",
"to": "2022-01-23 11:30"
},
"notes": "some notes here...",
"source_contact": {
"name": "Amanda Murrin",
"email": "amanda.murrin@example.com",
"phone": "+12025550159"
},
"destination_contact": {
"name": "Amanda Murrin",
"email": "amanda.murrin@example.com",
"phone": "+12025550159"
},
"collections": [
{
"type": "CASH",
"amount": 120.75,
"currency": "USD"
}
],
"tags": [
"tag1",
"tag2"
]
}
Response examples (200)
{
"message": "success"
}