tag.update

Update a contact Tag in the Brightpearl system.

Parameters

tag_id required Update this Tag
tag_name optional  
tag_colour optional hex value eg #44DDAA
tag_parent_id optional  

Any missing parameters will not be updated.

Request

<?xml version="1.0" encoding="utf-8"?> 
<request method="tag.update">
<auth token="xxxxxxxx" user="user@test.com" pass="xxxxxxxx" />
 <tag_id>10</tag_id>
<tag_name>VIP customers</tag_name>
<tag_colour>#336699</tag_colour>
<tag_parent_id>5</tag_parent_id>
</request>

 

Response

The Brightpearl ID of the Tag update will be returned.

<?xml version="1.0" encoding="UTF-8"?>
<response>
<status>OK</status>
<message></message>
<datetimeutc>2009-10-29T09:06:42Z</datetimeutc>
<requesttime>0.23490</requesttime>
</response>