Chameleoon MAX · Tags
removeSalesOrderTag mutation
removeSalesOrderTag 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 order. The tag is named by its code, as in addSalesOrderTag;
every tag on the order with that code is taken off, an archived one too.
Permissions
Requires the order.write and order.read permissions.
Repeated calls
A tag the order does not have, or a code no tag has, changes nothing and returns
changed: false.
Errors
VALIDATIONwhen the code is blank.NOT_FOUNDwhen the order does not exist or your API key cannot see it.
Arguments
ref:SalesOrderRefInput!· 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.