Skip to main content

Get order handling information

GET /v2/post_checkout/orders/{order_id}/handling

Retrieves handling information related to the specified order. This includes the delivery or pickup address, the coordinates of the delivery of pickup address, the information about the current shopper, and any notes or instructions included with the order.

Security

NameInDescription
AuthorizationheaderThe Authorization header with the bearer token acquired during authentication.

Parameters

NameInTypeRequiredDescription
order_idpathstringRequiredThe ID of the order.

Request

None.

Request examples

curl --request GET \
--url 'https://connect.instacart.com/v2/post_checkout/orders/{order_id}/handling' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer <token>'

Response

FieldTypeRequiredDescription
addressAddressRequiredThe address of the delivery / pickup.
coordinatesCoordinatesRequiredThe coordinates of the delivery / pickup address.
shopperShopperOptionalThe shopper currently fulfilling this order.
dropoff_locationstringOptionalDrop-off location instructions from the customers.
notesstringOptionalNotes about the address.
instructionsstringRequiredInstructions associated with the delivery.
leave_unattendedbooleanOptionalIndicates whether the user wants the driver to leave the order unattended. Defaults to false.
alcoholicbooleanOptionalIndicates whether the order contains alcohol. Defaults to false.
certified_deliverybooleanOptionalIndicates whether the order requires a certified delivery. Defaults to false.

Address Object

FieldTypeRequiredDescription
address_line_1stringRequiredFirst line of the address.
address_line_2stringOptionalSecond line of the address.
localitystringOptionalThe locality of this address e.g. city.
administrative_areastringOptionalThe administrative area of this address e.g. state.
postal_codestringRequiredThe address postal code.
country_codestringRequiredThe country code for the address.

Coordinates Object

FieldTypeRequiredDescription
latitudenumberRequiredThe latitude.
longitudenumberRequiredThe longitude.

Shopper Object

FieldTypeRequiredDescription
first_namestringRequiredThe first name of the shopper.
avatar_urlstringOptionalThe url of the shopper's avatar image.

Response examples

200 Success

{
"address": {
"address_line_1": "129 West 81st Street",
"address_line_2": "Apartment 5A",
"locality": "New York",
"administrative_area": "New York",
"postal_code": "10024",
"country_code": "US"
},
"coordinates": {
"latitude": 40.7837619,
"longitude": -73.9765552
},
"shopper": {
"first_name": "Robert",
"avatar_url": "https://speedwagon.foundation/avatar/reospeedwagon.jpg"
},
"dropoff_location": "",
"notes": "",
"instructions": "",
"leave_unattended": false,
"alcoholic": false,
"certified_delivery": false
}

4XX Errors

Error responses return either a single error or multiple errors.

HTTP CodeCauseError MessageError CodeError Meta
404Order not found"Resource not found"4000Not applicable