tagsTag
Attach a set of tags to (or detach them from) one or more target entities.
This replaces the tag assignment for type on each entity in targetIds
with exactly tagIds — pass an empty tagIds array to remove all tags of
that type from the targets.
Auth · x-app-token · authenticated
Related: tags, tagsAdd, Authentication
MUTATION
tagsTag(type: String!, targetIds: [String!]!, tagIds: [String!]!): StringArguments
type
String!
required
Content type of both the tags and the target entities (e.g. core:customer).
targetIds
[String!]!
required
Ids of the entities to tag.
tagIds
[String!]!
required
Ids of the tags to assign. Must all exist and match type, or the mutation fails.
Returns
String
Mutation
Variables
Response
آخر تعديل في ١١ أغسطس ٢٠٢٦