Append item tag instead of overwriting using API

Hello,

I am updating multiple tags in library items using Update API.(https://www.zotero.org/support/dev/web_api/v3/write_requests#updating_multiple_objects)

First when I send update request with tags data in result API overwrites the exiting tags(removes previous tag and adds new tag). So each time I have first get previous tags and then append my new tag to it and the send a update request, to add new tag to item.

So I want to know here is there a way I can append new tag instead of overwriting existing tags using API.

Thanks in advance.
  • Better to post this to zotero-dev — we try to keep technical discussions there.

    If you want to keep existing tags, you just need to include the existing tags in your request. If you remove them from the JSON, they'll be removed.

    Post to zotero-dev with a code sample if you're still having trouble.
This discussion has been closed.