Product APIs

Create and manage products and product variants.

In this section

  • Collection — A collection represents a grouping of products that a shop owner can create to organize them or make their shops easier to browse.

  • CollectionSortKeys — The set of valid sort keys for the Collection query.

  • ExternalVideo — Represents a video hosted outside of Shopify.

  • Media

  • MediaContentType — The possible content types for a media object.

  • MediaImage — Represents a Shopify hosted image.

  • Model3d — Represents a Shopify hosted 3D model.

  • Model3dSource — Represents a source for a Shopify hosted 3d model.

  • 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).

  • ProductCollectionSortKeys — The set of valid sort keys for the ProductCollection query.

  • ProductImageSortKeys — The set of valid sort keys for the ProductImage query.

  • ProductOption — Custom product property names like 'Size', 'Color', and 'Material'. Products are based on permutations of these options. A product may have a maximum of 3 options. 255 characters limit each.

  • ProductPriceRange — The price range of the product.

  • ProductSortKeys — The set of valid sort keys for the Product query.

  • ProductVariant — A product variant represents a different version of a product, such as differing sizes or differing colors.

  • ProductVariantPricePair — The compare-at price and price of a variant sharing a currency.

  • ProductVariantSortKeys — The set of valid sort keys for the ProductVariant query.

  • SelectedOption — Custom properties that a shop owner can use to define product variants. Multiple options can exist. Options are represented as: option1, option2, option3, etc.

  • SelectedOptionInput — Specifies the input fields required for a selected option.

  • UnitPriceMeasurement — The measurement used to calculate a unit price for a product variant (e.g. $9.99 / 100ml).

  • UnitPriceMeasurementMeasuredType — The accepted types of unit of measurement.

  • UnitPriceMeasurementMeasuredUnit — The valid units of measurement for a unit price measurement.

  • Video — Represents a Shopify hosted video.

  • VideoSource — Represents a source for a Shopify hosted video.