Skip to main content

Tag

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

type Tag implements Node {
id: ID!
name: String!
products(
first: Int = 10
after: String
filter: ProductFilterInput
): ProductConnection
customers(
first: Int = 10
after: String
filter: CustomerFilterInput
): CustomerConnection
orders(
first: Int = 10
after: String
filter: OrderFilterInput
): OrderConnection
}

Fields

Tag.id ● ID! non-null scalar

Global identifier for this entity.

Tag.name ● String! non-null scalar

Free-form tag label. Unique across all tags in the shop.

Tag.products ● ProductConnection object

Tag.products.first ● Int scalar
Tag.products.after ● String scalar
Tag.products.filter ● ProductFilterInput input

Tag.customers ● CustomerConnection object

Tag.customers.first ● Int scalar
Tag.customers.after ● String scalar
Tag.customers.filter ● CustomerFilterInput input

Tag.orders ● OrderConnection object

Tag.orders.first ● Int scalar
Tag.orders.after ● String scalar
Tag.orders.filter ● OrderFilterInput input

Interfaces

Node interface

Any entity that can be loaded by its global id through the node(id: ID!) query.

Returned By

tag query

Member Of

TagEdge object