Did you find this information useful?
Yes
No
Get all stores/proximity-integration/users/{seller_id}/storesThis endpoint returns all stores owned by a user, using the User ID as a parameter.
GET
Products that use it:
Request's parameters
seller_idstring
Localization: pathUser ID that can be used to retrieve the stores.REQUIRED
Response parameters
id
Localization: bodyID that identifies the store.number
user_id
Localization: bodyID that identifies the user who owns the store.number
description
Localization: bodyName of the store.string
business_hours
Localization: bodyList of store opening hours. Each attribute of the object will be represented by a day of the week.object
Request
curl
curl -X GET \
'https://api.mercadopago.com/proximity-integration/users/{seller_id}/stores' \
-H 'Authorization: Bearer YOUR_ACCESS_TOKEN \
Answer
json
[
{
"id": 41517088,
"user_id": 813887163,
"description": "Doc's grocery store",
"business_hours": {
"monday": [
{
"open": "8:00",
"close": "15:00"
}
],
"tuesday": [
{
"open": "8:00",
"close": "15:00"
}
],
"wendsday": [
{
"open": "8:00",
"close": "15:00"
}
],
"thursday": [
{
"open": "8:00",
"close": "15:00"
}
],
"friday": [
{
"open": "8:00",
"close": "15:00"
}
]
},
"location": {
"address_line": "Viaduto Arapuã - Saude, São Paulo - SP, 04307-070, Brasil",
"reference": "Next to a bakery",
"latitude": -23.630159633405057,
"longitude": -46.64532809999999
},
"external_id": "A15154DE"
}
]
Errors
401bad_request
401
403bad_request
403 Forbidden - User cannot access this resource
424bad_request
424 Not Found - Failed to get some information of the stores
500bad_request
500 Internal server error