Skip to main content

createTag

Creates a tag with the given name. Fails with BAD_REQUEST when a tag with that name already exists. Returns the new tag.

Required scopes​

The token needs the tags:write access scope.

createTag(
name: String!
): Tag!

Arguments​

createTag.name ● String! non-null scalar​

Name of the tag to create.

Type​

Tag object​

A free-form label that can be attached to any number of taggable entities (products, orders, customers, …).