Skip to main content
mutation

Adds tags to a resource in the store. Supported resources include Order, DraftOrder, Customer, Product, and Article.

Tags help merchants organize and filter resources. See the tags argument for supported input formats.

Learn more about using tags to organize subscription orders.

ID!
required

The ID of a resource to add tags to.

[String!]!
required

A list of tags to add to the resource. Can be an array of strings or a single string composed of a comma-separated list of values. Example values: ["tag1", "tag2", "tag3"], "tag1, tag2, tag3".


Was this section helpful?

Anchor to TagsAddPayload returnsTagsAddPayload returns

Node

The object that was updated.

[UserError!]!
non-null

The list of errors that occurred from executing the mutation.


Was this section helpful?