v1
latestOpenAPI 3.1.02026-07-1270243932.3 KBPickups
Create a pickup
Creates a pickup object. This request is for a carrier to come to a specified location to take a package for shipping.
post/pickups
Headers
SHIPPO-API-VERSIONstring
Example:2018-02-08
Optional string used to pick a non-default API version to use. See our <a href="https://docs.goshippo.com/docs/api_concepts/apiversioning/">API version</a> guide.
Request body
Example request
{
"carrier_account": "adcfdddf8ec64b84ad22772bce3ea37a",
"location": {
"address": {
"name": "Shwan Ippotle",
"company": "Shippo",
"street1": "215 Clayton St.",
"city": "San Francisco",
"state": "CA",
"zip": "94117",
"country": "US",
"phone": "+1 555 341 9393",
"email": "shippotle@shippo.com",
"is_residential": true,
"metadata": "Customer ID 123456",
"validate": true
},
"building_location_type": "Front Door",
"building_type": "apartment",
"instructions": "Behind screen door"
},
"transactions": [
"adcfdddf8ec64b84ad22772bce3ea37a"
]
}Response
Pickup
Example response
{
"carrier_account": "adcfdddf8ec64b84ad22772bce3ea37a",
"location": {
"address": {
"name": "Shwan Ippotle",
"company": "Shippo",
"street1": "215 Clayton St.",
"city": "San Francisco",
"state": "CA",
"zip": "94117",
"country": "US",
"phone": "+1 555 341 9393",
"email": "shippotle@shippo.com",
"is_residential": true,
"metadata": "Customer ID 123456",
"validate": true
},
"building_location_type": "Front Door",
"building_type": "apartment",
"instructions": "Behind screen door"
},
"transactions": [
"adcfdddf8ec64b84ad22772bce3ea37a"
],
"confirmed_start_time": "2020-05-09T12:00:00Z",
"confirmed_end_time": "2020-05-09T23:59:59.999Z",
"cancel_by_time": "2020-05-09T08:00:00Z",
"status": "CONFIRMED",
"confirmation_code": "WTC310058750",
"timezone": "US/Pacific",
"messages": []
}