Intelligent search powered by OpenAI
GET
REQUIRED
400Error
INVALID_USER_ID
user_id must be a number - If this error appears, ensure that the user_id provided is strictly numeric.
INVALID_OFFSET
offset must be a number - If you encounter this error, verify that the offset is a numeric value.
INVALID_LIMIT
limit must be a number - In case this error occurs, please check that the limit is specified as a numeric value.
INVALID_EXTERNAL_ID
external_id must be alphanumeric - If this error appears, ensure the external_id contains only letters and numbers.
403Error
Forbidden
`You don't have permission to access the URL on this server.` If you receive this message, check the user_id field and ensure it is correct and numeric only.
404Error
store_not_found
`Store not found.` Check if the search parameter used to locate the store is valid and make a new request.
curl -X GET \
'https://api.mercadopago.com/users/{user_id}/stores/search?external_id=SUC001'\
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer TEST-3322*********190-03031*********46528954c*********0339910-1*********' \
[
{
"paging": {
"total": 1,
"offset": 0,
"limit": 30
},
"results": [
{
"id": 30163646,
"name": "Sucursal Instore",
"date_creation": "2021-04-16T14:54:28.573Z",
"business_hours": {
"monday": [
{
"open": "08:00",
"close": "13:00"
}
],
"tuesday": [
{
"open": "09:00",
"close": "18:00"
}
],
"wednesday": [
{
"open": "07:00",
"close": "18:00"
}
]
},
"location": {
"address_line": "Example Street Name, 0123, City name, State name.",
"reference": "3er Piso",
"latitude": 27.175193925922862,
"longitude": 78.04213533235064
},
"external_id": "SUC001"
}
]
}
]