Skip to main content

Link an Instacart account

POST /v2/fulfillment/users/{user_id}/link

Links a customer's Connect user account to their Instacart account. Requires a valid linking token. After the accounts are linked, you can get Instacart account information.

Security#

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

Request#

FieldTypeRequiredDescription
linking_tokenstringโœ…The linking token.

Request Examples#

curl --request POST \  --url 'https://connect.instacart.com/v2/fulfillment/users/{user_id}/link' \  --header 'Accept: application/json' \  --header 'Authorization: Bearer <token>' \  --header 'Content-Type: application/json' \  --data '{  "linking_token": "string"}'

Response#

FieldTypeRequiredDescription
successbooleanโœ…Whether the request was successful.

Response Examples#

{  "success": true}