Skip to Content

Pickups

Schedule carrier pickups at your warehouse or shipping location. Pickups are tied to a carrier account and specify a time window for the carrier driver to collect packages.

List Pickups

GET/api/pickups

List all scheduled pickups for the organization.

Requiredpickups:read

Returns a paginated list of pickups with their status and scheduling details.

Query Parameters

ParameterTypeDescription
pagenumberPage number (default: 1)
limitnumberItems per page (default: 20, max: 100)
statusstringFilter by status: scheduled, completed, cancelled
carrier_account_idstringFilter by carrier account
curl -X GET "https://api.orderly.dev/api/pickups?status=scheduled" \ -H "Authorization: Bearer ord_sk_..."

Response

{ "data": [ { "id": "uuid", "carrier_account_id": "uuid", "carrier": "fedex", "status": "scheduled", "pickup_date": "2026-01-16", "ready_time": "09:00", "close_time": "17:00", "package_count": 15, "confirmation_number": "FDXP123456", "address": { "street1": "123 Warehouse St", "city": "Newark", "state": "NJ", "zip": "07102", "country": "US" }, "created_at": "2026-01-15T10:00:00Z" } ], "pagination": { "page": 1, "limit": 20, "total": 2, "totalPages": 1, "hasMore": false } }

Create Pickup

POST/api/pickups

Schedule a new carrier pickup.

Requiredpickups:write

Schedules a pickup with the specified carrier. The carrier account must be verified and support pickups.

Request Body

FieldTypeRequiredDescription
carrier_account_idstringYesCarrier account to use
pickup_datestringYesPickup date (YYYY-MM-DD)
ready_timestringYesEarliest pickup time (HH:MM, local time)
close_timestringYesLatest pickup time (HH:MM, local time)
package_countnumberYesNumber of packages
total_weightnumberNoCombined weight of all packages
addressobjectNoPickup address (defaults to org address)
instructionsstringNoSpecial instructions for the driver
curl -X POST "https://api.orderly.dev/api/pickups" \ -H "Authorization: Bearer ord_sk_..." \ -H "Content-Type: application/json" \ -d '{ "carrier_account_id": "550e8400-e29b-41d4-a716-446655440000", "pickup_date": "2026-01-16", "ready_time": "09:00", "close_time": "17:00", "package_count": 15, "total_weight": 120, "instructions": "Ring doorbell at loading dock" }'

Response

{ "data": { "id": "uuid", "status": "scheduled", "confirmation_number": "FDXP123456", "pickup_date": "2026-01-16" } }

Cancel Pickup

DELETE/api/pickups/:id

Cancel a scheduled pickup.

Requiredpickups:write

Cancels a scheduled pickup. Only pickups in scheduled status can be cancelled. Some carriers may have cancellation deadlines.

curl -X DELETE "https://api.orderly.dev/api/pickups/550e8400-e29b-41d4-a716-446655440000" \ -H "Authorization: Bearer ord_sk_..."