Skip to content

product object

Information about a product.

Properties


NameTypeDescription
idstringProduct identifier
namestringProduct name
slugstringProduct slug
descriptionstringProduct full description
pricenumberProduct price
visiblebooleanProduct visibility
compare_at_pricenumberCompare at price
categoriesarray of category objectProduct categories
imagesarrayProduct images
variantsproduct_variant[]The variants of the product
availablebooleanProduct is available for purchase
selected_or_first_available_variantproduct_variant or nullDefault selected variant "or" the first available product for purchase
first_available_variantproduct_variant or nullFirst available product for purchase
selected_variantproduct_variant or nullDefault selected variant
has_only_default_variantbooleanIf a product only has the default variant