📝 Summary
This endpoint allows updating the status of a specific delivery. The status can reflect various stages of the delivery process, such as pending, in transit, completed, or failed. This is typically used when there is a change in the delivery’s current state, helping to track its progress.
📥 Requests
Body
Description:
Field Type Required Description delivery_uuid
string dropoff_otp
string required if status is delivered pickup_otp
string required if status is in_transit status
string accepted in_transit delivered cancelled
📤 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