Get Stores

GET {{base_url}}/v1/delivery/stores

This endpoint allows a partner to enumerate the stores that this token is authorized against. Tokens generated via clientcredentials grant will return stores linked to your client ID. Tokens generated via authorizationcode grant will return stores linked to the user authorizing the client ID.

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring
User-Agentstring

RESPONSES

status: OK

{"stores":[{"id":"{store_id}","name":"{store_name}","contact":{"email":"{contact_email}","name":"{contact_name}","phone_number":"{contact_phone_number}"},"location":{"latitude":"{store_latitude}","longitude":"{store_longitude}","street_address_line_one":"{store_street_address}","city":" {store_city}","country":"{store_country}"},"timezone":"[store_timezone]","prep_times":{"default_value":15000},"onboarding_status":"ACTIVE"},{"id":"{store_id}","name":"{store_name}","contact":{"email":"{contact_email}","name":"{contact_name}","phone_number":"{contact_phone_number}"},"location":{"latitude":"{store_latitude}","longitude":"{store_longitude}","street_address_line_one":"{store_street_address}","city":" {store_city}","country":"{store_country}"},"timezone":"[store_timezone]","prep_times":{"default_value":900},"onboarding_status":"ACTIVE"}]}