Schedule a Carrier Pickup
With ShipEngine, you can request a carrier pickup at your office, warehouse, or other location using the v1/pickups
endpoint. This allows the carrier to come and get your packages so you don't have to drop them off in a drop box or store.
Some carriers charge a fee for this service depending on the pickup type and frequency, so check with your carrier to ensure you don't incur any unexpected charges.
Requirements
- Use a carrier that supports scheduling pickups via ShipEngine.
- To schedule a pickup, you'll need to include the list of the
label_ids
that you would like picked up. - All the labels must be from the same carrier and have the same warehouse id. The pickup location will be the ship from or warehouse id you used when you created the label.
- The Pickup requests must also include:
- The
contact_details
object with the contactname
,email
, andphone
properties. - The
pickup_window
object with thestart_at
andend_at
properties. Thepickup_window
rangestart_at
andend_at
values must be specified as valid ISO 8601 strings. All times should be submitted in UTC. If only a date is specified with no time value, then the pickup time is the entire business day.
- The
Example Request & Response
POST /v1/pickups
Response
The response will include a pickup_id
, the associated pickup properties, the carrier's pickup window, a request_id
(useful if you need to contact support to debug an issue), and an error object (if any errors occured).
Cancel a Pickup
If you would like to cancel a pickup that you've previously scheduled, you can use the DELETE method with the /v1/pickups/:pickup_id
endpoint. You'll need the pickup_id
of the pickup you wish to cancel. Note that some carriers have rules around how close to the pickup window you can cancel a pickup.
Example Request & Response
DELETE /v1/pickups/:pickup_id
Response
If successful, the response includes the ID of the cancelled pickup.
List Your Pickups
You may also list all your pickups, including those that have been cancelled or have already been picked up, by using the /v1/pickups
endpoint. This is the same endpoint you used to schedule the pickups but you will use the GET method rather than the POST method to list your pickups.
Example Request & Response
GET /v1/pickups
Response
View a Specific Pickup
You can get information about a specific pickup by adding the pickup_id
to the /v1/pickups/
endpoint.
Example Request & Response
GET /v1/pickups/:pickup_id
Response
Supported Carriers
This is a list of popular carriers that support the schedule pickup endpoint. This may not represent all carriers that support pickups. If your carrier is not in the list, contact your carrier to find out if you can use our pickup endpiont to schedule a pickup with them.
- Aramex International
- Australia Post MyPost Business
- BRT IT
- Canada Post
- Deutsche Post DHL
- Direct Freight
- DHL Express
- DPD Hungary
- DPD Portugal
- FedEx
- GLS Canada
- GLS NL
- GLS US
- Hermes Germany
- Loomis
- Redpack
- TNT
- UPS
- USPS
- Yamato