Búsqueda inteligente powered by OpenAI
Actualizar ID externo
PUT
Productos que lo utilizan:
Parámetros para la solicitud
PATH
StoreID
ID de la tienda.string
REQUERIDO
BODY
external_id
Valor del ID externo que se vinculará a la tienda.string
Parámetros de respuesta
id
ID que identifica la tienda.number
user_id
ID que identifica al usuario propietario de la tienda.number
description
Nombre de la tienda.string
business_hours
Lista de horarios de apertura de tiendas. Cada atributo del objeto estará representado por un día de la semana.object
Errores
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 get some information of the store
500Error
500
Internal server error
Solicitud
curl -X PUT \
'https://api.mercadopago.com/proximity-integration/stores/{StoreID}/external_id'\
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer TEST-4599*********755-11221*********d497ae962*********ecf8d85-1*********' \
-d '{
"external_id": "9320001PC21"
}'
Respuesta de ejemplo
{
"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"
}