Product object
Represents a product.
On this page
Fields
-
gates (
[GateSubject!]!
)Returns active gate subjects bound to the resource.
-
handle (
String!
)A unique human-friendly string of the product's title.
-
hasAnyTag (
Boolean!
)Whether the product has any of the given tags.
Argument Description tags
([String!]!
) requiredThe tags to search for.
Default value:[]
-
id (
ID!
)A globally-unique identifier.
-
inAnyCollection (
Boolean!
)Whether the product has any of the given collection.
Argument Description ids
([ID!]!
) requiredThe collections to search for.
Default value:[]
-
isGiftCard (
Boolean!
)Whether the product is a gift card.
-
metafield (
Metafield
)Returns a metafield by namespace and key that belongs to the resource.
-
productType (
String
)The product type specified by the merchant.
-
vendor (
String
)The name of the product's vendor.
Types that return Product
Implements
Represents a product.
On this page
Fields
-
handle (
String!
)A unique human-friendly string of the product's title.
-
hasAnyTag (
Boolean!
)Whether the product has any of the given tags.
Argument Description tags
([String!]!
) requiredThe tags to search for.
Default value:[]
-
id (
ID!
)A globally-unique identifier.
-
inAnyCollection (
Boolean!
)Whether the product has any of the given collection.
Argument Description ids
([ID!]!
) requiredThe collections to search for.
Default value:[]
-
isGiftCard (
Boolean!
)Whether the product is a gift card.
-
metafield (
Metafield
)Returns a metafield by namespace and key that belongs to the resource.
-
productType (
String
)The product type specified by the merchant.
-
vendor (
String
)The name of the product's vendor.