Chameleoon MAX · Tags
updateTag mutation
updateTag 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.
Changes a live tag, named by its code. Fields you leave out stay as they are.
- A new
coderenames the code: integrations that use the old one stop finding the tag. group: a code moves the tag into that group,nulltakes it out of its group.
Permissions
Requires the tag.manage permission.
Errors
NOT_FOUNDwhen no tag has the code, or no tag group has the code ininput.group.VALIDATIONas increateTag.CONFLICTwith reasonTAG_GROUP_CONFLICTwhen the tag moves into a group that holds one tag at a time while records hold it and another of the group's tags. The message says how many.
Arguments
code:String!· requiredinput:UpdateTagInput!· required
Returns
Example
Mutation
Code
Variables
Code
Response
Code
Values are illustrative: replace IDs and codes with your own before you send the call.