Business Delivery Information
Delivery Code
GET /delivery/get-delivery/{delivery-code} HTTP/1.1
Host: test.swooveapi.com
Accept: */*
{
"success": true,
"code": 200,
"message": "Delivery Found",
"responses": {
"pickup": {
"type": "text",
"value": "text",
"contact": {
"name": "text",
"mobile": "text",
"email": "text"
},
"country_code": "GH",
"lat": 1,
"lng": 1,
"location": "text"
},
"dropoff": {
"type": "text",
"value": "text",
"contact": {
"name": "text",
"mobile": "text",
"email": "text"
},
"country_code": "GH",
"lat": 1,
"lng": 1,
"location": "text"
},
"items": [
{
"itemName": "text",
"itemQuantity": 1,
"itemCost": 1,
"description": "text",
"itemWeight": 1,
"is_fragile": false,
"dimensions": {
"x": 1,
"y": 1,
"z": 1
}
}
],
"contact": {
"name": "text",
"mobile": "text",
"email": "text"
},
"instructions": "text",
"reference": "text",
"estimate_id": "text",
"agent_details": {
"agent_first_name": "text",
"agent_last_name": "text",
"agent_mobile": "text",
"agent_picture": "text",
"license_type": "text",
"license_number": "text",
"license_expiry": 1
},
"agency_details": {
"name": "Agency Name",
"mobile_number": 23350484565,
"logo": "text",
"rating": 1,
"location": {
"country_code": "GH",
"latitude": 0,
"longitude": 0,
"city": "text",
"country": "text"
}
},
"vehicle_details": {
"brand": "text",
"model": "text",
"color": "text",
"picture": "text",
"license_plate_number": "text",
"insurance_provider": "text"
},
"status": "AGENCY_ASSIGNED",
"delivery_code": "text",
"secret_code": "text",
"timestamp": 1,
"full_price": {
"discount": 0,
"value": 0,
"currency_code": "GHS",
"currency_symbol": "₵",
"currency_name": "Ghanaian cedi"
},
"time_completed": 1
}
}
Reference submitted during delivery creation
GET /delivery/single/get-by-reference/{reference} HTTP/1.1
Host: test.swooveapi.com
Accept: */*
{
"success": true,
"code": 200,
"message": "Delivery Found",
"responses": {
"pickup": {
"type": "text",
"value": "text",
"contact": {
"name": "text",
"mobile": "text",
"email": "text"
},
"country_code": "GH",
"lat": 1,
"lng": 1,
"location": "text"
},
"dropoff": {
"type": "text",
"value": "text",
"contact": {
"name": "text",
"mobile": "text",
"email": "text"
},
"country_code": "GH",
"lat": 1,
"lng": 1,
"location": "text"
},
"items": [
{
"itemName": "text",
"itemQuantity": 1,
"itemCost": 1,
"description": "text",
"itemWeight": 1,
"is_fragile": false,
"dimensions": {
"x": 1,
"y": 1,
"z": 1
}
}
],
"instructions": "text",
"reference": "text",
"status": "PENDING",
"delivery_code": "text",
"secret_code": "text",
"end_time": 1,
"full_price": {
"discount": 0,
"value": 0,
"currency_code": "GHS",
"currency_symbol": "₵",
"currency_name": "Ghanaian cedi"
},
"time_completed": 1
}
}
Reference submitted during delivery creation
GET /delivery/bulk/get-by-reference/{reference} HTTP/1.1
Host: test.swooveapi.com
Accept: */*
{
"success": true,
"code": 200,
"message": "Delivery Found",
"responses": [
{
"pickup": {
"type": "text",
"value": "text",
"contact": {
"name": "text",
"mobile": "text",
"email": "text"
},
"country_code": "GH",
"lat": 1,
"lng": 1,
"location": "text"
},
"dropoff": {
"type": "text",
"value": "text",
"contact": {
"name": "text",
"mobile": "text",
"email": "text"
},
"country_code": "GH",
"lat": 1,
"lng": 1,
"location": "text"
},
"items": [
{
"itemName": "text",
"itemQuantity": 1,
"itemCost": 1,
"description": "text",
"itemWeight": 1,
"is_fragile": false,
"dimensions": {
"x": 1,
"y": 1,
"z": 1
}
}
],
"instructions": "text",
"reference": "text",
"status": "PENDING",
"delivery_code": "text",
"secret_code": "text",
"end_time": 1,
"full_price": {
"discount": 0,
"value": 0,
"currency_code": "GHS",
"currency_symbol": "₵",
"currency_name": "Ghanaian cedi"
},
"time_completed": 1
}
]
}
This api allows you to fetch deliveries created by your api key. This route is paginated and defaults to 10 per page startiong from 0. It also allows a from and to date filter
This is the page number for the deliveries returned. It starts and defaults to 0
0
This is the number of deliveries to return. It defaults to 10
10
This is used to add the start date when fetching the delivery data. The from_date value should be the date and time in milliseconds.
0
This is used to add the end date when fetching the delivery data. The to_date value should be the date and time in milliseconds.
0
This is used to filter the deliveries returned by status. By default all deliveries are returned
GET /delivery/get-deliveries HTTP/1.1
Host: test.swooveapi.com
Accept: */*
{
"success": true,
"code": 200,
"message": "Delivery Found",
"responses": [
{
"pickup": {
"type": "text",
"value": "text",
"contact": {
"name": "text",
"mobile": "text",
"email": "text"
},
"country_code": "GH",
"lat": 1,
"lng": 1,
"location": "text"
},
"dropoff": {
"type": "text",
"value": "text",
"contact": {
"name": "text",
"mobile": "text",
"email": "text"
},
"country_code": "GH",
"lat": 1,
"lng": 1,
"location": "text"
},
"items": [
{
"itemName": "text",
"itemQuantity": 1,
"itemCost": 1,
"description": "text",
"itemWeight": 1,
"is_fragile": false,
"dimensions": {
"x": 1,
"y": 1,
"z": 1
}
}
],
"instructions": "text",
"reference": "text",
"status": "PENDING",
"delivery_code": "text",
"secret_code": "text",
"end_time": 1,
"full_price": {
"discount": 0,
"value": 0,
"currency_code": "GHS",
"currency_symbol": "₵",
"currency_name": "Ghanaian cedi"
},
"time_completed": 1
}
]
}
Was this helpful?