update_item_status
Pause, reactivate, or close a Mercado Livre listing by changing its visibility status. Closing requires confirm=true and cannot be undone for items that had sales.
Instructions
Change the visibility status of a listing: 'pause' temporarily hides it (reversible), 'activate' re-publishes a paused item, and 'close' finishes the listing. WARNING: closing is effectively irreversible for items that had sales — a closed item cannot be reactivated; a new listing would have to be created. Because of that, action='close' is refused unless confirm=true is passed explicitly. Always confirm with the user before closing. Paused items keep their history and can be reactivated at any time with 'activate'. Returns the item id and its new status.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Action to apply: 'pause' (hide, reversible), 'activate' (re-publish a paused item), 'close' (finish; irreversible when the item has sales) | |
| confirm | No | Required for action='close': must be exactly true to confirm the irreversible closing. Ignored for pause/activate | |
| item_id | Yes | Full item id with site prefix, e.g. 'MLB123456789' |