📝 Summary
This endpoint allows users to update the details of an existing delivery. Users can modify various aspects of the delivery, such as the delivery address, package details, priority, or status. The update request will reflect changes in the delivery, including adjustments to the assigned driver, vehicle, and estimated delivery time.
📥 Requests
Body
Description:
Field Type Required Description customer_address
string customer_email
string customer_name
string customer_phone_code
string customer_phone_number
string delivery_fee
string items[0][item_description]
string items[0][item_quantity]
string optional items[0][item_uuid]
string items[0][item_value]
string optional items[1][item_description]
string items[1][item_quantity]
string items[1][item_value]
string riderid
string sender_address
string sender_email
string sender_name
string sender_phone
string sender_phonecode
string
📤 Responses
✅ 200 OK
❌ 422 Bad Request
Description:
Field Type Required Description data
object data.created_at
string data.customer_detail
object data.customer_detail.created_at
string data.customer_detail.customer_address
string data.customer_detail.customer_email
any / null data.customer_detail.customer_name
string data.customer_detail.customer_phone_code
string data.customer_detail.customer_phone_number
string data.customer_detail.uuid
string data.sender_latitude
string data.sender_longitude
string data.delivery_fee
string data.delivery_type
string data.fleet_id
any / null data.items
object data.items.created_at
string data.items.item_description
string data.items.item_quantity
number data.items.item_value
string data.items.uuid
string data.order_number
string data.organization_detail
object data.organization_detail.business_address
any / null data.organization_detail.created_at
string data.organization_detail.fleet_identity_number
any / null data.organization_detail.logo
any / null data.organization_detail.phone_code
string data.organization_detail.phone_number
string data.organization_detail.updated_at
string data.organization_detail.uuid
string data.sender_detail
object data.sender_detail.created_at
string data.sender_detail.sender_address
string data.sender_detail.sender_email
any / null data.sender_detail.sender_name
string data.sender_detail.sender_phone
string data.sender_detail.sender_phonecode
string data.sender_detail.updated_at
string data.sender_detail.uuid
string data.sender_latitude
string data.sender_longitude
string data.status
string data.uuid
string message
string status
string