product
object
Information about a product.
Properties
Name | Type | Description |
---|---|---|
id | string | Product identifier |
name | string | Product name |
slug | string | Product slug |
description | string | Product full description |
price | number | Product price |
visible | boolean | Product visibility |
compare_at_price | number | Compare at price |
categories | array of category object | Product categories |
images | array | Product images |
variants | product_variant[] | The variants of the product |
available | boolean | Product is available for purchase |
selected_or_first_available_variant | product_variant or null | Default selected variant "or" the first available product for purchase |
first_available_variant | product_variant or null | First available product for purchase |
selected_variant | product_variant or null | Default selected variant |
has_only_default_variant | boolean | If a product only has the default variant |