Create a Store - Stores - Mercado Pago Developers
Developers
API Reference
Support
Sign in

    Start

    LISTA DE API

    Preferences

    Create a preference

    POST

    Search preferences

    GET

    Get a preference

    GET

    Update a preference

    PUT

    Identification Types

    Get document types

    GET

    Payment Methods

    Get the payment methods

    GET

    Payments

    Create payments

    POST

    Find payments

    GET

    Get a payment

    GET

    Update a payment

    PUT

    Chargebacks

    Get a chargeback

    GET

    Customers

    Create a customer

    POST

    Search for a customer

    GET

    Get a customer

    GET

    Update a customer

    PUT

    Cards

    Save a card

    POST

    Obtain customer cards

    GET

    Get a card

    GET

    Update a card

    PUT

    Delete a card

    DELETE

    Stores

    Get a Store

    GET

    Create a Store

    POST

    Search stores

    GET

    Update a Store

    PUT

    Delete a Store

    DELETE

    Point of Sale

    Create a POS

    POST

    Get all POS

    GET

    Get a POS

    GET

    Update a POS

    PUT

    Delete a POS

    DELETE

    Instore Orders

    Create an order

    POST

    Delete an order

    DELETE

    Instore Orders v2

    Create an order

    PUT

    Get an order

    GET

    Delete an order

    DELETE

    Merchant Orders

    Create an order

    POST

    Search for orders

    GET

    Get an order

    GET

    Update an order

    PUT

    Subscription Preferences

    Create a subscription

    POST

Create a Store

POST

/users/{user_id}/stores
Generates a physical store where customers can purchase products or services. You can create more than one store per account.
Products that use it:
QR Code
Request's parameters
user_id

REQUIRED

string
Localization: pathUser Id
business_hours
object
Localization: bodyBusiness hours. They are divided by day of the week and up to two opening and closing times per day are allowed
external_id
string
Localization: bodyUnique identifier of the store defined by integrator system
location
object
Localization: bodyStore location
Response parameters
id
string
Localization: bodyid
name
string
Localization: bodyname
date_created
string
Localization: bodydate_created
business_hours
object
Localization: bodybusiness_hours
Request
curl
curl -X POST \
    'https://api.mercadopago.com/users/{user_id}/stores' \
    -H 'Authorization: Bearer ACCESS_TOKEN_ENV' \ 
    -d '{
  "name": "Sucursal Instore",
  "business_hours": {
    "monday": [
      {
        "open": "08:00",
        "close": "12:00"
      }
    ],
    "tuesday": [
      {
        "open": "09:00",
        "close": "18:00"
      }
    ]
  },
  "external_id": 1234,
  "location": {
    "street_name": "Caseros 3039 Belgrano Capital Federal",
    "state_name": {},
    "latitude": -32.8897322,
    "logitude": -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": 1234
}
Errors
400bad_request
INVALID_USER_IDUSER_ID must be number.
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.
Was this information helpful?

Copyright © 1999-2021 DeRemate.com de Uruguay S.R.L.

Terms and conditionsHow we protect your privacy
Seller Central

Al navegar en este sitio aceptas las cookies que utilizamos para mejorar tu experiencia. Más información.