OBJECT
Product
A product represents an individual item for sale in a Shopify store. Products are often physical, but they don't have to be. For example, a digital download (such as a movie, music or ebook file) also qualifies as a product, as do services (such as equipment rental, work for hire, customization of another product or an extended warranty).
link GraphQL Schema definition
- type Product implements Node {
- # List of collections a product belongs to.
- #
- # Arguments
- # first: [Not documented]
- # after: [Not documented]
- # reverse: [Not documented]
- Int!, : String, : Boolean): CollectionConnection! ( :
- # The date and time when the product was created.
- DateTime! :
- # Stripped description of the product, single line with HTML tags removed.
- #
- # Arguments
- # truncateAt: Truncates string after the given length.
- Int): String! ( :
- # The description of the product, complete with HTML formatting.
- HTML! :
- # A human-friendly unique string for the Product automatically generated from its
- # title.
- # They are used by the Liquid templating language to refer to objects.
- String! :
- ID! :
- # List of images associated with the product.
- #
- # Arguments
- # first: [Not documented]
- # after: [Not documented]
- # reverse: [Not documented]
- # maxWidth: Image width in pixels between 1 and 2048
- # maxHeight: Image height in pixels between 1 and 2048
- # crop: If specified, crop the image keeping the specified region
- # scale: Image size multiplier retina displays. Must be between 1
- # and 3
- (
- Int!, :
- String, :
- Boolean, :
- Int, :
- Int, :
- CropRegion, :
- Int :
- ): ImageConnection!
- # Lst of custom product options (maximum of 3 per product).
- #
- # Arguments
- # first: Truncate the array result to this size
- Int): [ProductOption!]! ( :
- # A categorization that a product can be tagged with, commonly used for filtering
- # and searching.
- String! :
- # The date and time when the product was published to the Online Store channel.
- # A value of `null` indicates that the product is not published to Online Store.
- DateTime! :
- # A categorization that a product can be tagged with, commonly used for filtering
- # and searching.
- # Each comma-separated tag has a character limit of 255.
- String!]! : [
- # The product’s title.
- String! :
- # The date and time when the product was last modified.
- DateTime! :
- # Find a product’s variant based on its selected options.
- # This is useful for converting a user’s selection of product options into a
- # single matching variant.
- # If there is not a variant for the selected options, `null` will be returned.
- #
- # Arguments
- # selectedOptions: [Not documented]
- (
- SelectedOptionInput!]! : [
- ): ProductVariant
- # List of the product’s variants.
- #
- # Arguments
- # first: [Not documented]
- # after: [Not documented]
- # reverse: [Not documented]
- Int!, : String, : Boolean): ProductVariantConnection! ( :
- # The product’s vendor name.
- String! :
- }