Capsule API

Party Tags API

View Tags

GET /api/party/{party-id}/tag

Example response:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<tags size="2">
    <
tag>
        <
name>Customer</name>
    </
tag>
    <
tag>
        <
name>VIP</name>
    </
tag>
</
tags

Add Tag

POST /api/party/{party-id}/tag/{tag-name}

The tag name will need to be URL encoded. If the tag is already present on the Person or Organisation status in the response will be 200 OK, when the tag is added the response will be 201 Created.

Delete Tag

DELETE /api/party/{party-id}/tag/{tag-name}

The tag name will need to be URL encoded

Capsule is a service of Zestia Ltd which is a company registered in England with company number 06418281. © 2008-2012 Zestia Ltd. All Rights Reserved.