Get store by external ID - Delivery stores - Mercado Pago Developers
Get store by external ID

GET

/proximity-integration/users/{SellerID}/stores/external_id/{ExternalID}
This endpoint gets stores by the external ID that was previously registered.
Request's parameters
SellerID

REQUIRED

string
Localization: pathUnique ID that identifies the user who owns the store.
ExternalID

REQUIRED

string
Localization: pathStore external ID that was previously registered.
Response parameters
id
number
Localization: bodyStore ID linked to the external ID that was used as search parameter.
user_id
number
Localization: bodyUnique ID that identifies the user who owns the store.
description
string
Localization: bodyName of the store.
business_hours
object
Localization: bodyList of store opening hours. Each attribute of the object will be represented by a day of the week.
Request
curl
curl -X GET \
    'https://api.mercadopago.com/proximity-integration/users/{SellerID}/stores/external_id/{ExternalID}' \
    -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": "9320001PC21"
}