# KlaviyoAPI::CatalogVariantCreateQueryResourceObjectAttributes ## Properties | Name | Type | Description | Notes | | ---- | ---- | ----------- | ----- | | **external_id** | **String** | The ID of the catalog item variant in an external system. | | | **catalog_type** | **String** | The type of catalog. Currently only \"$default\" is supported. | [optional][default to '$default'] | | **integration_type** | **String** | The integration type. Currently only \"$custom\" is supported. | [optional][default to '$custom'] | | **title** | **String** | The title of the catalog item variant. | | | **description** | **String** | A description of the catalog item variant. | | | **sku** | **String** | The SKU of the catalog item variant. | | | **inventory_policy** | **Integer** | This field controls the visibility of this catalog item variant in product feeds/blocks. This field supports the following values: `1`: a product will not appear in dynamic product recommendation feeds and blocks if it is out of stock. `0` or `2`: a product can appear in dynamic product recommendation feeds and blocks regardless of inventory quantity. | [optional] | | **inventory_quantity** | **Float** | The quantity of the catalog item variant currently in stock. | | | **price** | **Float** | This field can be used to set the price on the catalog item variant, which is what gets displayed for the item variant when included in emails. For most price-update use cases, you will also want to update the `price` on any parent items using the [Update Catalog Item Endpoint](https://developers.klaviyo.com/en/reference/update_catalog_item). | | | **url** | **String** | URL pointing to the location of the catalog item variant on your website. | | | **image_full_url** | **String** | URL pointing to the location of a full image of the catalog item variant. | [optional] | | **image_thumbnail_url** | **String** | URL pointing to the location of an image thumbnail of the catalog item variant. | [optional] | | **images** | **Array<String>** | List of URLs pointing to the locations of images of the catalog item variant. | [optional] | | **custom_metadata** | **Object** | Flat JSON blob to provide custom metadata about the catalog item variant. May not exceed 100kb. | [optional] | | **published** | **Boolean** | Boolean value indicating whether the catalog item variant is published. | [optional][default to true] | ## Example ```ruby require 'klaviyo-api-sdk' instance = KlaviyoAPI::CatalogVariantCreateQueryResourceObjectAttributes.new( external_id: SAMPLE-DATA-ITEM-1-VARIANT-MEDIUM, catalog_type: $default, integration_type: $custom, title: Ocean Blue Shirt (Sample) Variant Medium, description: Ocean blue cotton shirt with a narrow collar and buttons down the front and long sleeves. Comfortable fit and titled kaleidoscope patterns., sku: OBS-MD, inventory_policy: 25, inventory_quantity: 25, price: 42, url: https://via.placeholder.com/150, image_full_url: https://via.placeholder.com/300, image_thumbnail_url: https://via.placeholder.com/150, images: ["https://via.placeholder.com/150"], custom_metadata: {"Top Pick":true}, published: true ) ```