Chameleoon MAX · Tags
removeInvoiceTag mutation
removeInvoiceTag is a GraphQL mutation of the Chameleoon MAX API. Send it as POST https://max-api.chameleoon.sk/api/v1/graphql with your API key, see Chameleoon MAX.
Takes a tag off the invoice. The tag is named by its code, as in addInvoiceTag;
every tag on the invoice with that code is taken off, an archived one too.
Permissions
Requires the invoice.read and invoice.write permissions.
Repeated calls
A tag the invoice does not have, or a code no tag has, changes nothing and returns
changed: false.
Errors
VALIDATIONwhen the code is blank.NOT_FOUNDwhen the invoice does not exist or your API key cannot see it.
Arguments
ref:InvoiceRefInput!· requiredtag:String!· required
Returns
Example
Mutation
Code
Variables
Code
Response
Code
Values are illustrative: replace IDs and codes with your own before you send the call.