Skip to Content

CombinedListing

Describes a combined listing with product options and their values.

Type Definition

type CombinedListing { options: [String] optionsWithValues: [ProductOption] optionsByHandle: [ProductOption] }

Fields

FieldTypeDescription
options[String]Returns the options handles.
optionsWithValues[ProductOption]Returns array of options.
optionsByHandle[ProductOption]Returns array of options indexed by handle.

Relationships

CombinedListing is used by the Product type to provide detailed product option information. It contains references to ProductOption objects that represent the various customizable options available for a product and their corresponding values.

Example

{ options optionsWithValues { id name } optionsByHandle { id name } }

Implements

This type does not implement any interfaces.