Home
Documentation
Resources
Partners
Community

Resources

Check for updates on our solutions and system performance, or request technical support.

Partners

Discover our program for agencies or developers that offer integration services and sellers who want to hire them.

Community

Get the latest news, ask others for help and share your knowledge.

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

Intelligent search powered by OpenAI 

Get store by external ID

GET

https://api.mercadopago.com/proximity-integration/users/{SellerID}/stores/external_id/{ExternalID}
This endpoint gets stores by the external ID that was previously registered.
Request's parameters
PATH
SellerID
string

REQUIRED

ID that identifies the user who owns the store.
ExternalID
string

REQUIRED

External ID of the store that was previously registered.
Response parameters
id
number
Store ID linked to the external ID that was used as parameter.
user_id
number
ID that identifies the user who owns the store.
description
string
Name of the store.
business_hours
object
List of store opening hours. Each attribute of the object will be represented by a day of the week.
Errors

400Error

400

Missing_Parameter - Invalid store id

401Error

401

Unauthorized - Access Token is invalid

403Error

403

Forbidden - User cannot access this resource

424Error

424

Not Found - Failed to search stores associated with a user

500Error

500

Internal server error

Request
curl -X GET \
    'https://api.mercadopago.com/proximity-integration/users/{SellerID}/stores/external_id/{ExternalID}'\
    -H 'Content-Type: application/json' \
       -H 'Authorization: Bearer TEST-4599*********755-11221*********d497ae962*********ecf8d85-1*********' \
    
Sample answer
{
  "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"
}