Skip to main content

Create an Instacart user

POST /v2/fulfillment_sandbox/instacart_users

Creates an Instacart user.

Security

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

Parameters

None.

Request

FieldTypeRequiredDescription
emailstringRequiredThe email of the Instacart User.
phonestringRequiredThe phone number of the Instacart User.
passwordstringRequiredThe password of the Instacart User.
express_memberbooleanOptionalDeprecated. Use 'instacartplus_member' instead. Defaults to false.
instacartplus_memberbooleanOptionalIndicates whether the Instacart User is an Instacart+ member. Defaults to false.

Request examples

curl --request POST \
--url https://connect.instacart.com/v2/fulfillment_sandbox/instacart_users \
--header 'Accept: application/json' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"email": "string",
"phone": "string",
"password": "string",
"express_member": true,
"instacartplus_member": true
}'

Response

FieldTypeRequiredDescription
idintegerRequiredThe ID of the Instacart user.

Response examples

200 Success

{
"id": 1
}

4XX Errors

Error responses return either a single error or multiple errors.

HTTP CodeCauseError MessageError CodeError Meta
400Account already exists"An account already exists with this email"1001{"key":"email"}