A specific version of a product that comes in more than one option, such as size or color. For example, if a merchant sells t-shirts with options for size and color, then a small, blue t-shirt would be one product variant and a large, blue t-shirt would be another.
ID!
)
A globally-unique ID for the product variant.
Metafield
)
A custom field that stores additional information about a Shopify resource, such as products, orders, and many more. Using metafields with Shopify Functions enables you to customize the checkout experience.
Argument | Description |
---|---|
key
(
String!
)
required
|
The unique identifier for the metafield within its namespace. A metafield is composed of a
namespace and a key, in the format |
namespace
(
String
)
|
A category that organizes a group of metafields. Namespaces are used to prevent naming conflicts between different apps or different parts of the same app. If omitted, then the app-reserved namespace is used. |
Product!
)
The product associated with the product variant. For example, if a merchant sells t-shirts with options for size and color, then a small, blue t-shirt would be one product variant and a large, blue t-shirt would be another. The product associated with the product variant would be the t-shirt itself.
Boolean!
)
Whether the item needs to be shipped to the customer. For example, a digital gift card doesn't need to be shipped, but a t-shirt does need to be shipped.
String
)
A case-sensitive identifier for the product variant in the merchant's store. For example, "BBC-1"
.
A product variant must have a SKU to be connected to a
fulfillment service.
String
)
The localized name for the product variant that displays to customers.
Float
)
The product variant's weight, in the system of measurement set in the weightUnit
field.
WeightUnit!
)
The unit of measurement for weight.
A specific version of a product that comes in more than one option, such as size or color. For example, if a merchant sells t-shirts with options for size and color, then a small, blue t-shirt would be one product variant and a large, blue t-shirt would be another.
ID!
)
A globally-unique ID for the product variant.
Metafield
)
A custom field that stores additional information about a Shopify resource, such as products, orders, and many more. Using metafields with Shopify Functions enables you to customize the checkout experience.
Argument | Description |
---|---|
key
(
String!
)
required
|
The unique identifier for the metafield within its namespace. A metafield is composed of a
namespace and a key, in the format |
namespace
(
String
)
|
A category that organizes a group of metafields. Namespaces are used to prevent naming conflicts between different apps or different parts of the same app. If omitted, then the app-reserved namespace is used. |
Product!
)
The product associated with the product variant. For example, if a merchant sells t-shirts with options for size and color, then a small, blue t-shirt would be one product variant and a large, blue t-shirt would be another. The product associated with the product variant would be the t-shirt itself.
Boolean!
)
Whether the item needs to be shipped to the customer. For example, a digital gift card doesn't need to be shipped, but a t-shirt does need to be shipped.
String
)
A case-sensitive identifier for the product variant in the merchant's store. For example, "BBC-1"
.
A product variant must have a SKU to be connected to a
fulfillment service.
String
)
The localized name for the product variant that displays to customers.
Float
)
The product variant's weight, in the system of measurement set in the weightUnit
field.
WeightUnit!
)
The unit of measurement for weight.
A specific version of a product that comes in more than one option, such as size or color. For example, if a merchant sells t-shirts with options for size and color, then a small, blue t-shirt would be one product variant and a large, blue t-shirt would be another.
ID!
)
A globally-unique ID for the product variant.
Metafield
)
A custom field that stores additional information about a Shopify resource, such as products, orders, and many more. Using metafields with Shopify Functions enables you to customize the checkout experience.
Argument | Description |
---|---|
key
(
String!
)
required
|
The unique identifier for the metafield within its namespace. A metafield is composed of a
namespace and a key, in the format |
namespace
(
String
)
|
A category that organizes a group of metafields. Namespaces are used to prevent naming conflicts between different apps or different parts of the same app. If omitted, then the app-reserved namespace is used. |
Product!
)
The product associated with the product variant. For example, if a merchant sells t-shirts with options for size and color, then a small, blue t-shirt would be one product variant and a large, blue t-shirt would be another. The product associated with the product variant would be the t-shirt itself.
Boolean!
)
Whether the item needs to be shipped to the customer. For example, a digital gift card doesn't need to be shipped, but a t-shirt does need to be shipped.
String
)
A case-sensitive identifier for the product variant in the merchant's store. For example, "BBC-1"
.
A product variant must have a SKU to be connected to a
fulfillment service.
String
)
The localized name for the product variant that displays to customers.
Float
)
The product variant's weight, in the system of measurement set in the weightUnit
field.
WeightUnit!
)
The unit of measurement for weight.
A specific version of a product that comes in more than one option, such as size or color. For example, if a merchant sells t-shirts with options for size and color, then a small, blue t-shirt would be one product variant and a large, blue t-shirt would be another.
ID!
)
A globally-unique ID for the product variant.
Metafield
)
A custom field that stores additional information about a Shopify resource, such as products, orders, and many more. Using metafields with Shopify Functions enables you to customize the checkout experience.
Argument | Description |
---|---|
key
(
String!
)
required
|
The unique identifier for the metafield within its namespace. A metafield is composed of a
namespace and a key, in the format |
namespace
(
String
)
|
A category that organizes a group of metafields. Namespaces are used to prevent naming conflicts between different apps or different parts of the same app. If omitted, then the app-reserved namespace is used. |
Product!
)
The product associated with the product variant. For example, if a merchant sells t-shirts with options for size and color, then a small, blue t-shirt would be one product variant and a large, blue t-shirt would be another. The product associated with the product variant would be the t-shirt itself.
Boolean!
)
Whether the item needs to be shipped to the customer. For example, a digital gift card doesn't need to be shipped, but a t-shirt does need to be shipped.
String
)
A case-sensitive identifier for the product variant in the merchant's store. For example, "BBC-1"
.
A product variant must have a SKU to be connected to a
fulfillment service.
String
)
The localized name for the product variant that displays to customers.
Float
)
The product variant's weight, in the system of measurement set in the weightUnit
field.
WeightUnit!
)
The unit of measurement for weight.
A specific version of a product that comes in more than one option, such as size or color. For example, if a merchant sells t-shirts with options for size and color, then a small, blue t-shirt would be one product variant and a large, blue t-shirt would be another.
ID!
)
A globally-unique ID for the product variant.
Metafield
)
A custom field that stores additional information about a Shopify resource, such as products, orders, and many more. Using metafields with Shopify Functions enables you to customize the checkout experience.
Argument | Description |
---|---|
key
(
String!
)
required
|
The unique identifier for the metafield within its namespace. A metafield is composed of a
namespace and a key, in the format |
namespace
(
String
)
|
A category that organizes a group of metafields. Namespaces are used to prevent naming conflicts between different apps or different parts of the same app. If omitted, then the app-reserved namespace is used. |
Product!
)
The product associated with the product variant. For example, if a merchant sells t-shirts with options for size and color, then a small, blue t-shirt would be one product variant and a large, blue t-shirt would be another. The product associated with the product variant would be the t-shirt itself.
Boolean!
)
Whether the item needs to be shipped to the customer. For example, a digital gift card doesn't need to be shipped, but a t-shirt does need to be shipped.
String
)
A case-sensitive identifier for the product variant in the merchant's store. For example, "BBC-1"
.
A product variant must have a SKU to be connected to a
fulfillment service.
String
)
The localized name for the product variant that displays to customers.
Float
)
The product variant's weight, in the system of measurement set in the weightUnit
field.
WeightUnit!
)
The unit of measurement for weight.
A specific version of a product that comes in more than one option, such as size or color. For example, if a merchant sells t-shirts with options for size and color, then a small, blue t-shirt would be one product variant and a large, blue t-shirt would be another.
ID!
)
A globally-unique ID for the product variant.
Metafield
)
A custom field that stores additional information about a Shopify resource, such as products, orders, and many more. Using metafields with Shopify Functions enables you to customize the checkout experience.
Argument | Description |
---|---|
key
(
String!
)
required
|
The unique identifier for the metafield within its namespace. A metafield is composed of a
namespace and a key, in the format |
namespace
(
String
)
|
A category that organizes a group of metafields. Namespaces are used to prevent naming conflicts between different apps or different parts of the same app. If omitted, then the app-reserved namespace is used. |
Product!
)
The product associated with the product variant. For example, if a merchant sells t-shirts with options for size and color, then a small, blue t-shirt would be one product variant and a large, blue t-shirt would be another. The product associated with the product variant would be the t-shirt itself.
Boolean!
)
Whether the item needs to be shipped to the customer. For example, a digital gift card doesn't need to be shipped, but a t-shirt does need to be shipped.
String
)
A case-sensitive identifier for the product variant in the merchant's store. For example, "BBC-1"
.
A product variant must have a SKU to be connected to a
fulfillment service.
String
)
The localized name for the product variant that displays to customers.
Float
)
The product variant's weight, in the system of measurement set in the weightUnit
field.
WeightUnit!
)
The unit of measurement for weight.
A specific version of a product that comes in more than one option, such as size or color. For example, if a merchant sells t-shirts with options for size and color, then a small, blue t-shirt would be one product variant and a large, blue t-shirt would be another.
ID!
)
A globally-unique ID for the product variant.
Metafield
)
A custom field that stores additional information about a Shopify resource, such as products, orders, and many more. Using metafields with Shopify Functions enables you to customize the checkout experience.
Argument | Description |
---|---|
key
(
String!
)
required
|
The unique identifier for the metafield within its namespace. A metafield is composed of a
namespace and a key, in the format |
namespace
(
String
)
|
A category that organizes a group of metafields. Namespaces are used to prevent naming conflicts between different apps or different parts of the same app. If omitted, then the app-reserved namespace is used. |
Product!
)
The product associated with the product variant. For example, if a merchant sells t-shirts with options for size and color, then a small, blue t-shirt would be one product variant and a large, blue t-shirt would be another. The product associated with the product variant would be the t-shirt itself.
Boolean!
)
Whether the item needs to be shipped to the customer. For example, a digital gift card doesn't need to be shipped, but a t-shirt does need to be shipped.
String
)
A case-sensitive identifier for the product variant in the merchant's store. For example, "BBC-1"
.
A product variant must have a SKU to be connected to a
fulfillment service.
String
)
The localized name for the product variant that displays to customers.
Float
)
The product variant's weight, in the system of measurement set in the weightUnit
field.
WeightUnit!
)
The unit of measurement for weight.