Update item
ml_update_itemUpdate fields of a Mercado Livre item, such as price, stock, or title. Preview the exact request first; changes apply only when confirm is true.
Instructions
Change fields of one of your Mercado Livre items (price, stock, title, status, pictures, variations, ...). Nothing is changed unless confirm=true. Call it without confirm first to get a preview (before, after and the exact request), show that preview to the user, and call again with confirm=true only after their explicit approval. Partial variations are completed with the ids of the item's other variations, because Mercado Livre deletes any variation missing from the request.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | Yes | Fields to change, sent as the PUT body, for example {"price": 59.9}. | |
| confirm | No | false (default) returns a preview and changes nothing; true applies the change. | |
| item_id | Yes | Item id, for example MLB000000001. |