I am trying to add a tag to a contact using only IDs. I am using the official PHP SDK.
It appears that the SDK abstracts the REST API in a way that it is not possible to use the POST /contacts/{contactId}/tags
endpoint without first fetching the entire contact record. This is less than ideal, as it doubles the amount of time it takes to add a tag and counts double towards the rate limit. If I already have the contact ID and the tag ID, is there a way to do this that I’m just not seeing? I am aware that the XML-RPC addToGroup() method does this, but I’d prefer to stick with the same REST classes that the rest of my application is using.
Thanks!