Skip to main content
GET
https://api.usedroptrail.com
/
delivery-requests
List Delivery Requests
curl --request GET \
  --url https://api.usedroptrail.com/delivery-requests \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "id": "<string>",
      "status": "<string>",
      "from_location": "<string>",
      "to_location": "<string>",
      "estimated_weight": 123,
      "package_count": 123,
      "created_at": "<string>",
      "estimated_price": 123
    }
  ],
  "pagination": {
    "total": 123,
    "pages": 123,
    "current_page": 123,
    "per_page": 123
  }
}
Get a paginated list of delivery requests associated with your account.

Query Parameters

page
integer
Page number for pagination (default: 1)
limit
integer
Number of records per page (default: 20, max: 100)
status
string
Filter by delivery status (PENDING, ACCEPTED, IN_TRANSIT, DELIVERED, CANCELLED)
from_date
string
Filter requests created on or after this date (ISO 8601)
to_date
string
Filter requests created before this date (ISO 8601)

Response

data
array
List of delivery request objects
pagination
object
Pagination information

Example Response