• 0
Sign in to follow this  
mcanepa

Actualizar descripción de artículo

Question

Al momento de crear una publicacion armo los datos de la siguiente manera:

$item = [
    "title" => ...
    "description" =>
        [
            "plain_text" => $decription
        ],
    "price" ...
];

luego hago el post y todo funciona bien, pero si luego quiero hacer un put recibo el siguiente error:

Cannot update item XXX [status:active, has_bids:false]. description.plain_text is not modifiable.description is not modifiable.

La unica forma en la que pude actualizar la descripcion, es como se indica aqui haciendo un put a

https://api.mercadolibre.com/items/{ITEM_ID}/description?access_token=$ACCESS_TOKEN

Quisiera evitarme hacer un segundo put, no hay forma de actualizar la descripcion junto a otros datos como el titulo o precio

Share this post


Link to post
Share on other sites

3 answers to this question

Recommended Posts

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this