Skip to main content

Create or update order feedback (frontend)

POST /v2/feedback/orders/{order_id}/rating

Create or update the feedback for an order.

info

Use this endpoint with a user access token for frontend implementations. For backend implementations, see Create or update order feedback (backend).

The following table describes the list of valid rating values:

ValueDescription
STARS1Dissatisfied with the order. The lowest rating.
STARS2Somewhat dissatisfied with the order.
STARS3OK with the order.
STARS4Satisfied with the order.
STARS5Happy with the order. The highest rating.

The following table describes the list of valid highlights:

ValueDescription
QUALITY_ITEMSThe shopper selected quality items.
SMART_BAGGINGThe shopper proficiently bagged the items.
EXTRA_EFFORTThe shopper made an extra effort with the order.
HELPFUL_CHATThe shopper provided helpful chat messages.
GOOD_REPLACEMENTSThe shopper selected good replacement items.
SMOOTH_DELIVERYThe shopper ensured a smooth delivery of the order.
FAST_PICKUPThe pickup process was fast.
CLEAR_PICKUP_INSTRUCTIONSThe pickup instructions were clear.
EASY_PARKINGThe pickup area enabled easy parking.
SMOOTH_HANDOFFThe handoff of the pickup order was smooth.

Security

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

Parameters

NameInTypeRequiredDescription
order_idpathstringRequiredThe ID of the order.

Request

FieldTypeRequiredDescription
rating_valuestringRequiredThe rating value.
highlightsArray(string)OptionalThe highlights.
thank_you_notestringOptionalA thank you note.

Request examples

curl --request POST \
--url 'https://connect.instacart.com/v2/feedback/orders/{order_id}/rating' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"rating_value": "STARS1",
"highlights": [
"string"
],
"thank_you_note": "string"
}'

Response

FieldTypeRequiredDescription
successbooleanRequiredWhether the request was successful.

Response examples

200 Success

{
"success": true
}

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