Deliveries
All related APIs for deliveries
List Deliveries
Query Parameters
Name
Type
Description
{
"deliveries": {
"current_page_number": 1,
"num_items_per_page": 10,
"items": [
{
"route": "Tanero Business -> Mado",
"id": 5,
"app": "business",
"type": "delivery",
"uu_id": "1f0bce14-0d8a-410d-b3fa-2c65f84aa166",
"origin": "Tanero Business",
"destination": "Mado",
"origin_location": "-35.455587,48.989665",
"destination_location": "-35.455585,48.989664",
"seats": 1,
"duration": 1000,
"distance": 1.2,
"tip": 0.0,
"payment_type": "card",
"payment_detail": {
"card": {
"brand": "Visa",
"last4": "0232",
"uu_id": "ff0d715a-73be-4bbb-bd29-1462d6567747"
},
"payment_intent": "pi_1HFfjaKyxYMZ8PLcO4cZeCHo",
"payment_method": "pm_1HFfhWKyxYMZ8PLcRRpIzY0C",
"return_payment_intent": "pi_1HFfjcKyxYMZ8PLc4mZkXN24"
},
"status": "pending",
"mile_on_pre_ride": 0.0,
"mile_on_ride": 0.0,
"is_free_ride": false,
"is_invited": false,
"is_return_ride_done": "0",
"is_free": false,
"package_message": "Hohohoh",
"package_amount": 59.5,
"package_qr_code": "AB_1",
"total_package": 10,
"is_delivery_return_ride": false,
"is_package_rejected": false,
"package_delivery_at": "2020-09-01T07:57:05+00:00",
"created_at": "2020-09-01T07:51:10+00:00",
"updated_at": "2020-09-01T07:51:10+00:00",
"customer": {
"id": 8,
"username": "[email protected]",
"email": "[email protected]",
"is_active": true,
"status": "Pending",
"is_email_confirmed": true,
...
},
"friends": [],
"city": {
"id": 2,
"name": "Izmir",
"slug": "izmir",
...
},
}
],
"total_count": 1,
"paginator_options": {
"pageParameterName": "page",
"sortFieldParameterName": "sort",
"sortDirectionParameterName": "direction",
"filterFieldParameterName": "filterField",
"filterValueParameterName": "filterValue",
"distinct": true
},
"custom_parameters": [],
"route": "api_schedule_deliveries_list",
"params": {
"page": "1",
"limit": "10"
},
"page_range": 5,
"template": "@KnpPaginator/Pagination/sliding.html.twig",
"sortable_template": "@KnpPaginator/Pagination/sortable_link.html.twig",
"filtration_template": "@KnpPaginator/Pagination/filtration.html.twig"
}
}Detail of a Delivery
Path Parameters
Name
Type
Description
Check Pricing
Request Body
Name
Type
Description
Create a Delivery
Request Body
Name
Type
Description
Last updated