The Product object contains basic product information including ID, measurement type, and a list of variants. This object appears in variant responses to provide context about the parent product, and can also be returned with its variants nested inside.
| Field | Type | Description |
|---|---|---|
id | string | Shopify product REST ID |
measurementType | MeasurementType | The type of measurement used for this product |
variants | array of Variant | Array of Variant objects |
Note
This object is included in variant responses to provide context about the parent product (without the variants field). When fetching a product with variants, the product object appears at the top level with the variants array nested inside.
Related: