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.

If the remove shopper information feature is enabled, then a 200 Success response doesn’t contain the shopper object.

Security

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

Parameters

NameInTypeRequiredDescription
order_idpathstringRequired

The 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
addressAddressRequired

The address of the delivery / pickup.

coordinatesCoordinatesRequired

The coordinates of the delivery / pickup address.

shopperShopperOptional

The shopper currently fulfilling this order.

dropoff_locationstringOptional

Drop-off location instructions from the customers.

notesstringOptional

Notes about the address.

instructionsstringRequired

Instructions associated with the delivery.

leave_unattendedbooleanOptional

Indicates whether the user wants the driver to leave the order unattended. Defaults to false.

alcoholicbooleanOptional

Indicates whether the order contains alcohol. Defaults to false.

certified_deliverybooleanOptional

Indicates whether the order requires a certified delivery. Defaults to false.

Address Object

FieldTypeRequiredDescription
address_line_1stringRequired

First line of the address.

address_line_2stringOptional

Second line of the address.

localitystringOptional

The locality of this address e.g. city.

administrative_areastringOptional

The administrative area of this address e.g. state.

postal_codestringRequired

The address postal code.

country_codestringRequired

The country code for the address.

Coordinates Object

FieldTypeRequiredDescription
latitudenumberRequired

The latitude.

longitudenumberRequired

The longitude.

Shopper Object

FieldTypeRequiredDescription
first_namestringRequired

The first name of the shopper.

avatar_urlstringOptional

The 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