Tags
Tags allow you to classify your sales by your own criteria, so you can organize them in endeve.
You can register tags on an sale through tags’ interface or incluiding it in the sale XML.
The only attribute is Description and it’s mandatory.
Tags are a nested resource on sales, so request URLs will always start with /sales/#{sale-id}.
CREATE
POST /sales/#{sale-id}/tags
Creates a new tag.
REQUEST
<tag>
<description>Tag 1</description>
</tag>
RESPONSE
Status: 201 Location: /sales/#{sale-id}
The XML of the sale is returned on a successful request.
DESTROY
DELETE /sales/#{sale-id}/tags/#{id-payment}
Deletes the tag at the referenced URL.
RESPONSE
Status: 200

