---
title: "proxyNodeProductVariant"
description: >
  The current interface is about to be discontinued, and new integrations will no longer be directly accessible. For applying for access permissions, please contact the platform through the ticketing system.
doc_type: graphql
doc_category: storefront
doc_version: v20270301
source_url:
  html: 'https://developer.shopline.com/docs/storefront-api/products/queries/proxy-node-product-variant'
  md: 'https://developer.shopline.com/docs/storefront-api/products/queries/proxy-node-product-variant.md'
---
# proxyNodeProductVariant

The current interface is about to be discontinued, and new integrations will no longer be directly accessible. For applying for access permissions, please contact the platform through the ticketing system.


- **API Version:** v20270301
- **API Type:** Storefront
- **API Protocol:** GraphQL
- **Operation Type:** Query

## Type Signature

`[ProductVariant]`

## Arguments

* `id`

  [ID](https://developer.shopline.com/docs/storefront-api/common/scalars/id.md)

  The id of ProductVariant.

* `ids`

  [[ID]](https://developer.shopline.com/docs/storefront-api/common/scalars/id.md)

  The ids of ProductVariant.

## Returns

* `availableForSale`

  [Boolean](https://developer.shopline.com/docs/storefront-api/common/scalars/boolean.md)

  Indicates if the product variant is available for sale.

* `barcode`

  [String](https://developer.shopline.com/docs/storefront-api/common/scalars/string.md)

  The barcode (for example, ISBN, UPC, or GTIN) associated with the variant.

* `compareAtPrice`

  [Money](https://developer.shopline.com/docs/storefront-api/common-objects/objects/money.md)

  The original price of the variant. This can be used to mark a variant as on sale, when `compareAtPrice` is higher than `price`.

* `~~createdAt~~`

  [Date](https://developer.shopline.com/docs/storefront-api/common/scalars/date.md)

  Creation time [Deprecated]

* `~~displayName~~`

  [String](https://developer.shopline.com/docs/storefront-api/common/scalars/string.md)

  Display name of the variant [Deprecated]

* `id`

  [ID!](https://developer.shopline.com/docs/storefront-api/common/scalars/id.md)

  A globally-unique ID.

* `image`

  [Image](https://developer.shopline.com/docs/storefront-api/common-objects/objects/image.md)

  Image associated with the product variant. 

* `~~inventoryPolicy~~`

  [ProductVariantInventoryPolicy](https://developer.shopline.com/docs/storefront-api/products/enums/product-variant-inventory-policy.md)

  Whether customers are allowed to place an order for the product variant when it's out of stock. [Deprecated]

* `inventoryQuantity`

  [Int](https://developer.shopline.com/docs/storefront-api/common/scalars/int.md)

  The total sellable quantity of the variant.

* `~~inventoryTracker~~`

  [String](https://developer.shopline.com/docs/storefront-api/common/scalars/string.md)

  Whether to track inventory [Deprecated]

* `metafield`

  [Metafield](https://developer.shopline.com/docs/storefront-api/common-objects/objects/metafield.md)

  Metafield associated with the variant

* `metafields`

  [[Metafield]](https://developer.shopline.com/docs/storefront-api/common-objects/objects/metafield.md)

  Metafields associated with the variant

* `parentProduct`

  [Product](https://developer.shopline.com/docs/storefront-api/products/objects/product.md)

  The parent product object of the variant.

* `price`

  [Money](https://developer.shopline.com/docs/storefront-api/common-objects/objects/money.md)

  The product variant’s price.

* `product`

  [String](https://developer.shopline.com/docs/storefront-api/common/scalars/string.md)

  Product ID

* `requiresShipping`

  [Boolean](https://developer.shopline.com/docs/storefront-api/common/scalars/boolean.md)

  Whether a customer needs to provide a shipping address when placing an order for the product variant.

* `selectedOptions`

  [[SelectedOption]](https://developer.shopline.com/docs/storefront-api/common-objects/objects/selected-option.md)

  List of product options applied to the variant.
  

* `sku`

  [String](https://developer.shopline.com/docs/storefront-api/common/scalars/string.md)

  The SKU (stock keeping unit) associated with the variant.

* `taxable`

  [Boolean](https://developer.shopline.com/docs/storefront-api/common/scalars/boolean.md)

  Whether tax is charged when the product variant is sold

* `title`

  [String](https://developer.shopline.com/docs/storefront-api/common/scalars/string.md)

  The product variant’s title.

* `~~updatedAt~~`

  [Date](https://developer.shopline.com/docs/storefront-api/common/scalars/date.md)

  Update time [Deprecated]

* `weight`

  [String](https://developer.shopline.com/docs/storefront-api/common/scalars/string.md)

  The weight of the product variant in the unit system specified with `weight_unit`.

* `weightUnit`

  [String](https://developer.shopline.com/docs/storefront-api/common/scalars/string.md)

  Unit of measurement for weight.
  
  - g
  - kg
  - lb
  - oz
  - zh_kg

## Code Example

```graphql
 {
	proxyNodeProductVariant(id, ids ) 
		 {
			# ProductVariant fields
		}
}
```

## Error Handling

For detailed information about common codes, see [Status and error codes](https://developer.shopline.com/docs/apps/api-instructions-for-use/storefront-api/overview.md#status-and-error-codes).

