📝 Summary
This endpoint allows users to create a new delivery request in the system. It accepts details such as sender and recipient information, delivery address, package details, and delivery preferences. Upon successful creation, it returns a unique delivery ID and the status of the delivery request.
📥 Requests
Body Parameters
Description:
Field Type Required Description creation_date
string customer_address
string customer_email
string customer_name
string optional customer_phone_number
string delivery_fee
string iam_sender
string is_paid
string items[0][item_description]
string items[0][item_quantity]
string optional items[0][item_value]
string optional items[1][item_description]
string items[1][item_quantity]
string items[1][item_value]
string receivers[0][customer_address]
string receivers[0][customer_name]
string receivers[0][customer_phone_code]
string receivers[0][customer_phone_number]
string receivers[1][customer_address]
string receivers[1][customer_name]
string receivers[1][customer_phone_code]
string receivers[1][customer_phone_number]
string riderid
string send_sms
string True Or False 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.creation_mode
any / null data.currecncy
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.customer_latitude
any / null data.customer_longitude
any / null data.delivery_fee
string data.delivery_info_from_rider
any / null data.dropoff_at
any / null data.fleet_identity_number
string data.is_paid
boolean data.items
object data.items.created_at
string data.items.currency
string data.items.item_description
string data.items.item_quantity
number data.items.item_value
string data.items.uuid
string data.note
any / null data.order_number
string data.pickup_at
any / null data.rider_info
any / null data.sender_detail
object data.sender_detail.business_owned
boolean data.sender_detail.created_at
string data.sender_detail.sender_address
string data.sender_detail.sender_email
string 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
any / null data.sender_longitude
any / null data.service_charge
any / null data.status
string data.status_label
string data.uuid
string message
string status
string