Intelligent search powered by OpenAI
Catalog import
POST
Products that use it:
Request's parameters
BODY
store_ids
Array that receives external_ids of the stores that should receive the catalog. The external_ids of each store can be configured using the Mercado Pago Delivery API.array
sections
Array of objects that contain information about the sections that should be imported into the catalog.array
Response parameters
msg
Description of the operation result.string
results
Array of publication results per store. List of publications that were sent to the processing queue.array
Errors
400Description of the error.
error
Publication error caused by some inconsistency in the fields.
Request
curl -X POST \
'https://api.mercadopago.com/proximity/integration/v1/catalog'\
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer TEST-4599*********755-11221*********d497ae962*********ecf8d85-1*********' \
-d '{
"store_ids": [
{}
],
"sections": [
{
"description": "The most delicious burgers in town",
"name": "Hamburguers",
"items": [
{
"description": "Item Description",
"external_id": "M147",
"image": "https://",
"name": "Cheese Burger",
"price": 25.5,
"discount_price": 20.5,
"status": "active",
"options": [
{
"name": "Desserts",
"group_min": 1,
"group_max": 5,
"complements": [
{
"description": "Complement description",
"external_id": "D184",
"image": "https://",
"min": 1,
"max": 5,
"name": "Chocolate ice cream",
"price": 7.25,
"status": "active"
}
]
}
]
}
]
}
]
}'
Sample answer
{
"msg": "Success",
"results": [
{
"store_id": "external_store_id_01",
"catalog_id": "b2f6b992-5133-11ed-a81f-acde48001122",
"status": "processing"
}
]
}