class Falsify::Product

The Product resource lets you update and create products in a merchant's store. See the [API documentation](help.shopify.com/en/api/reference/products/product).

Required Fields:

Attributes

body_html[RW]

A description of the product. Supports HTML formatting. @return [String]

created_at[R]

The date and time ([ISO 8601 format](en.wikipedia.org/wiki/ISO_8601)) when the product was created. @return [String]

handle[RW]

A unique human-friendly string for the product. Automatically generated from the product's `title`. Used by the Liquid templating language to refer to objects. @return [String]

id[R]

An unsigned 64-bit integer that's used as a unique identifier for the product. Each `id` is unique across the Shopify system. No two products will have the same `id`, even if they're from different shops. @return [String]

images[RW]

A list of [product image](help.shopify.com/en/api/reference/products/product-image) objects, each one representing an image associated with the product. @return [String]

metafields_global_description_tag[RW]

A description of the product used for [SEO purposes](help.shopify.com/en/manual/promoting-marketing/seo#meta-description). Generally added to the `<meta name='description'>` tag. @return [String]

metafields_global_title_tag[RW]

The name of the product used for [SEO purposes](help.shopify.com/en/manual/promoting-marketing/seo#page-title). Generally added to the `<meta name='title'>` tag. @return [String]

options[RW]

The custom product property names like `Size`, `Color`, and `Material`. You can add up to 3 options of up to 255 characters each. @return [String]

product_type[RW]

A categorization for the product used for filtering and searching products. @return [String]

published_at[RW]

The date and time ([ISO 8601 format](en.wikipedia.org/wiki/ISO_8601)) when the product was published. Can be set to `null` to unpublish the product from the Online Store channel. @return [String]

tags[RW]

A string of comma-separated tags that are used for filtering and search. A product can have up to 250 tags. Each tag can have up to 255 characters. @return [String]

template_suffix[RW]

The suffix of the Liquid template used for the product page. If this property is specified, then the product page uses a template called “product.suffix.liquid”, where “suffix” is the value of this property. If this property is `“”` or `null`, then the product page uses the default template “product.liquid”. (default: `null`) @return [String,nil]

title[RW]

The name of the product. @return [String]

updated_at[R]

The date and time ([ISO 8601 format](en.wikipedia.org/wiki/ISO_8601)) when the product was last modified. @return [String]

variants[RW]

A list of [product variants](/en/api/reference/products/product-variant), each representing a different version of the product. The `position` property is read-only. The position of variants is indicated by the order in which they are listed. To retrieve the `presentment_prices` property on a variant, include the request header `'X-Shopify-Api-Features': 'include-presentment-prices'`. @return [Array<ProductVariant>]

vendor[RW]

The name of the product's vendor. @return [String]