class Falsify::ProductVariant
A variant can be added to a Product
resource to represent one version of a product with several options.
See the [API documentation](help.shopify.com/en/api/reference/products/product-variant).
Attributes
The barcode, UPC, or ISBN number for the product. @return [String]
The original price of the item before an adjustment or a sale. @return [String]
The date and time ([ISO 8601 format](en.wikipedia.org/wiki/ISO_8601)) when the product variant was created. @return [String]
The fulfillment service associated with the product variant. Valid values: `manual` or the handle of a [fulfillment service](help.shopify.com/en/api/reference/shipping-and-fulfillment/fulfillmentservice). @return [String]
The weight of the product variant in grams. @return [String]
The unique numeric identifier for the product variant. @return [String]
The unique numeric identifier for a product's image. The image must be associated to the same product as the variant. @return [String]
The unique identifier for the inventory item, which is used in the Inventory API to query for inventory information. @return [String]
The fulfillment service that tracks the number of items in stock for the product variant. If you track the inventory yourself using the admin, then set the value to “shopify”. Valid values: `shopify` or the handle of a [fulfillment service](help.shopify.com/en/api/reference/shipping-and-fulfillment/fulfillmentservice) that has inventory management enabled. Must be the same fulfillment service referenced by the `fulfillment_service` property. @return [String]
An aggregate of inventory across all locations. To adjust inventory at a specific location, use the [InventoryLevel](help.shopify.com/en/api/reference/inventory/inventorylevel) resource. @return [String]
@deprecated Use the [InventoryLevel](help.shopify.com/en/api/reference/inventory/inventorylevel) resource instead. @return [Integer]
@deprecated Use the [InventoryLevel](help.shopify.com/en/api/reference/inventory/inventorylevel) resource instead. @return [Integer]
The custom properties that a shop owner uses to define product variants. You can define three options for a product: `option1`, `option2`, `option3`. Default value: `Default Title`. @return [String]
The order of the product variant in the list of product variants. The first position in the list is `1`. The position of variants is indicated by the order in which they are listed. @return [Integer]
A list of the variant's presentment prices and compare-at prices in each of the shop's enabled presentment currencies. Each price object has the following properties:
-
`currency_code`: The three-letter code ([ISO 4217](en.wikipedia.org/wiki/ISO_4217) format) for one of the shop's enabled presentment currencies.
-
`amount`: The variant's price or compare-at price in the presentment currency.
@return [Array<String>]
The price of the product variant. @return [String]
The unique numeric identifier for the product. @return [String]
Whether a customer needs to provide a shipping address when placing an order for the product variant. @return [Boolean]
A unique identifier for the product variant in the shop. Required in order to connect to a [FulfillmentService](help.shopify.com/api/reference/fulfillmentservice). @return [Boolean]
This parameter applies only to the stores that have the [Avalara AvaTax](help.shopify.com/en/manual/taxes/tax-services/taxation) app installed. Specifies the Avalara tax code for the product variant. @return [String]
Whether a tax is charged when the product variant is sold. @return [Boolean]
The title of the product variant. @return [String]
The date and time when the product variant was last modified. Gets returned in [ISO 8601 format](en.wikipedia.org/wiki/ISO_8601). @return [String]
The weight of the product variant in the unit system specified with `weight_unit`. @return [String]