upload_picture
Upload an image to a Mercado Livre seller account and get a picture ID for use in item listings. Accepts a public URL or local file path for marketplace images.
Instructions
Upload a picture to the seller's Mercado Livre account and get back a picture id. Provide exactly ONE of: url (a public image URL that Meli will download) or file_path (a local image file, uploaded as multipart). Use the returned id in create_item's pictures when the images are local files; for images already hosted at a public URL, passing the URL directly to create_item also works. Returns the picture id, source URL and size variations.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Public URL of the image; Meli downloads it | |
| file_path | No | Absolute path to a local image file (jpg/png); sent as multipart upload |