create_item
Create and publish a new Mercado Livre listing by submitting title, category, price, stock, required attributes, and pictures; returns item ID, status, and permalink.
Instructions
Create and PUBLISH a new listing on Mercado Livre — this is a real write operation: the item becomes public (immediately or per account settings) and selling fees apply once it sells. Confirm the details with the user before calling. Recommended flow: (1) predict_category with the title to get category_id; (2) get_category_attributes on that category and fill every attribute marked required via the attributes parameter; (3) optionally get_listing_types/get_listing_prices to choose the listing type and estimate fees; (4) call create_item. The title is limited to 60 characters. If Meli rejects the payload with a validation error, the full error body is returned — read it, fix the offending fields (usually missing required attributes) and retry. Returns the created item id, status and permalink.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| price | Yes | Sale price in currency_id | |
| title | Yes | Listing title, max 60 characters | |
| pictures | No | Image URLs; Meli downloads them (pictures[].source). For local files, upload first with upload_picture | |
| shipping | No | Shipping options object, e.g. {free_shipping: true, mode: 'me2'} | |
| video_id | No | Id of a video previously uploaded to the seller's account | |
| condition | No | Item condition: 'new' or 'used' (default 'new') | new |
| attributes | No | Item attributes; MUST include all attributes marked required by get_category_attributes | |
| buying_mode | No | Buying mode; keep 'buy_it_now' unless the user explicitly wants auction | buy_it_now |
| category_id | Yes | Category id from predict_category, e.g. 'MLB1055' | |
| currency_id | No | ISO currency of the price. Defaults to the site currency (BRL for MLB) | |
| description | No | Plain-text listing description | |
| listing_type_id | No | Exposure plan id from get_listing_types, e.g. 'gold_special' (Clássica, default) or 'gold_pro' (Premium) | gold_special |
| available_quantity | Yes | Stock quantity available for sale |