Which documentation are you looking for?
Do not know how to start integrating?
Check the first stepsDid you find this information useful?
Yes
No
Create store/users/{user_id}/storesGenerates a physical store where customers can purchase products or services. You can create more than one store per account.
POST
Products that use it:
Request's parameters
user_idstring
Localization: pathUser IdREQUIRED
business_hours
Localization: bodyBusiness hours. They are divided by day of the week and up to two opening and closing times per day are allowed.object
external_id
Localization: bodyUnique identifier of the store defined by integrator system.string
location
Localization: bodyStore location.object
Response parameters
id
Localization: bodyidstring
name
Localization: bodynamestring
date_created
Localization: bodydate_createdstring
business_hours
Localization: bodybusiness_hoursobject
Request
curl
curl -X POST \
'https://api.mercadopago.com/users/{user_id}/stores' \
-H 'Authorization: Bearer YOUR_ACCESS_TOKEN \
-H 'Content-Type: application/json' \
-d '{
"name": "Sucursal Instore",
"business_hours": {
"monday": [
{
"open": "08:00",
"close": "12:00"
}
],
"tuesday": [
{
"open": "09:00",
"close": "18:00"
}
]
},
"external_id": "SUC001",
"location": {
"street_number": 3039,
"street_name": "Caseros",
"city_name": "Belgrano",
"state_name": "Capital Federal",
"latitude": -32.8897322,
"longitude": -68.8443275,
"reference": "3er Piso"
}
}'
Answer
json
{
"id": 1234567,
"name": "Sucursal Instore",
"date_created": "2019-08-08T19:29:45.019Z",
"business_hours": {
"monday": [
{
"open": "08:00",
"close": "12:00"
}
],
"tuesday": [
{
"open": "09:00",
"close": "18:00"
}
]
},
"location": {
"address_line": "Caseros 3039 Belgrano Capital Federal",
"latitude": -32.8897322,
"longitude": -68.8443275,
"reference": "3er Piso"
},
"external_id": "SUC001"
}
Errors
400bad_request
INVALID_USER_ID
UNKNOWN_FIELDUnknown field.
INVALID_NAMEName must be string.
INVALID_BUSINESS_HOURSBUSINESS_HOURS must be json_object.
INVALID_DAYDay must be json_array.
INVALID_LOCATIONLOCATION must be json_object.
INVALID_STREET_NAMESTREET_NAME must be string.
INVALID_STREET_NUMBERSTREET_NUMBER must be string.
INVALID_ZIP_CODEZIP_CODE must be string.
INVALID_CITY_NAMECITY_NAME must be string.
INVALID_STATE_NAMESTATE_NAME must be string.
INVALID_LATITUDELATITUDE must be number.
INVALID_LONGITUDELONGITUDE must be number.
INVALID_REFERENCEREFERENCE must be string.
VALIDATION_ERRORExternal_id-already-used-