Metafield object
Metafields represent custom metadata attached to a resource. Metafields can be sorted into namespaces and are composed of keys, values, and value types.
Fields
-
createdAt (
DateTime!
)The date and time when the metafield was created.
-
description (
String
)The description of a metafield.
-
id (
ID!
)Globally unique identifier.
-
key (
String!
)The key name for a metafield.
-
legacyResourceId (
UnsignedInt64!
)The ID of the corresponding resource in the REST Admin API.
-
namespace (
String!
)The namespace for a metafield.
-
ownerType (
MetafieldOwnerType!
)Owner type of a metafield visible to the Storefront API.
-
updatedAt (
DateTime!
)The date and time when the metafield was updated.
-
value (
String!
)The value of a metafield.
-
valueType (
MetafieldValueType!
)Represents the metafield value type.
Types that return Metafield
-
Collection.metafield
-
Collection.metafields
-
Customer.metafield
-
Customer.metafields
-
DraftOrder.metafield
-
DraftOrder.metafields
-
Image.metafield
-
Image.metafields
-
Order.metafield
-
Order.metafields
-
Product.metafield
-
Product.metafields
-
ProductVariant.metafield
-
ProductVariant.metafields
-
QueryRoot.metafield
-
QueryRoot.metafields
-
Shop.metafield
-
Shop.metafields
Mutations for Metafield
-
Deletes a metafield.
Implements
Metafields represent custom metadata attached to a resource. Metafields can be sorted into namespaces and are composed of keys, values, and value types.
Fields
-
createdAt (
DateTime!
)The date and time when the metafield was created.
-
description (
String
)The description of a metafield.
-
id (
ID!
)Globally unique identifier.
-
key (
String!
)The key name for a metafield.
-
legacyResourceId (
UnsignedInt64!
)The ID of the corresponding resource in the REST Admin API.
-
namespace (
String!
)The namespace for a metafield.
-
ownerType (
MetafieldOwnerType!
)Owner type of a metafield visible to the Storefront API.
-
updatedAt (
DateTime!
)The date and time when the metafield was updated.
-
value (
String!
)The value of a metafield.
-
valueType (
MetafieldValueType!
)Represents the metafield value type.
Types that return Metafield
-
Collection.metafield
-
Collection.metafields
-
Customer.metafield
-
Customer.metafields
-
DraftOrder.metafield
-
DraftOrder.metafields
-
Image.metafield
-
Image.metafields
-
Order.metafield
-
Order.metafields
-
Product.metafield
-
Product.metafields
-
ProductVariant.metafield
-
ProductVariant.metafields
-
QueryRoot.metafield
-
Shop.metafield
-
Shop.metafields
Mutations for Metafield
-
Deletes a metafield.
Implements
Metafields represent custom metadata attached to a resource. Metafields can be sorted into namespaces and are composed of keys, values, and value types.
Fields
-
createdAt (
DateTime!
)The date and time when the metafield was created.
-
description (
String
)The description of a metafield.
-
id (
ID!
)Globally unique identifier.
-
key (
String!
)The key name for a metafield.
-
legacyResourceId (
UnsignedInt64!
)The ID of the corresponding resource in the REST Admin API.
-
namespace (
String!
)The namespace for a metafield.
-
ownerType (
MetafieldOwnerType!
)Owner type of a metafield visible to the Storefront API.
-
updatedAt (
DateTime!
)The date and time when the metafield was updated.
-
value (
String!
)The value of a metafield.
-
valueType (
MetafieldValueType!
)Represents the metafield value type.
Types that return Metafield
-
Collection.metafield
-
Collection.metafields
-
Customer.metafield
-
Customer.metafields
-
DraftOrder.metafield
-
DraftOrder.metafields
-
Image.metafield
-
Image.metafields
-
Order.metafield
-
Order.metafields
-
Product.metafield
-
Product.metafields
-
ProductVariant.metafield
-
ProductVariant.metafields
-
QueryRoot.metafield
-
Shop.metafield
-
Shop.metafields
Mutations for Metafield
-
Deletes a metafield.
Implements
Metafields represent custom metadata attached to a resource. Metafields can be sorted into namespaces and are composed of keys, values, and value types.
Fields
-
createdAt (
DateTime!
)The date and time when the metafield was created.
-
description (
String
)The description of a metafield.
-
id (
ID!
)Globally unique identifier.
-
key (
String!
)The key name for a metafield.
-
legacyResourceId (
UnsignedInt64!
)The ID of the corresponding resource in the REST Admin API.
-
namespace (
String!
)The namespace for a metafield.
-
ownerType (
MetafieldOwnerType!
)Owner type of a metafield visible to the Storefront API.
-
updatedAt (
DateTime!
)The date and time when the metafield was updated.
-
value (
String!
)The value of a metafield.
-
valueType (
MetafieldValueType!
)Represents the metafield value type.
Types that return Metafield
-
Collection.metafield
-
Collection.metafields
-
Customer.metafield
-
Customer.metafields
-
DraftOrder.metafield
-
DraftOrder.metafields
-
Image.metafield
-
Image.metafields
-
Order.metafield
-
Order.metafields
-
Product.metafield
-
Product.metafields
-
ProductVariant.metafield
-
ProductVariant.metafields
-
Shop.metafield
-
Shop.metafields
Mutations for Metafield
-
Deletes a metafield.
Implements
Metafields represent custom metadata attached to a resource. Metafields can be sorted into namespaces and are composed of keys, values, and value types.
Fields
-
createdAt (
DateTime!
)The date and time when the metafield was created.
-
description (
String
)The description of a metafield.
-
id (
ID!
)Globally unique identifier.
-
key (
String!
)The key name for a metafield.
-
legacyResourceId (
UnsignedInt64!
)The ID of the corresponding resource in the REST Admin API.
-
namespace (
String!
)The namespace for a metafield.
-
ownerType (
MetafieldOwnerType!
)Owner type of a metafield visible to the Storefront API.
-
updatedAt (
DateTime!
)The date and time when the metafield was updated.
-
value (
String!
)The value of a metafield.
-
valueType (
MetafieldValueType!
)Represents the metafield value type.
Types that return Metafield
-
Collection.metafield
-
Collection.metafields
-
Customer.metafield
-
Customer.metafields
-
DraftOrder.metafield
-
DraftOrder.metafields
-
Image.metafield
-
Image.metafields
-
Order.metafield
-
Order.metafields
-
Product.metafield
-
Product.metafields
-
ProductVariant.metafield
-
ProductVariant.metafields
-
Shop.metafield
-
Shop.metafields
Mutations for Metafield
-
Deletes a metafield.
Implements
Metafields represent custom metadata attached to a resource. Metafields can be sorted into namespaces and are composed of keys, values, and value types.
Fields
-
createdAt (
DateTime!
)The date and time when the metafield was created.
-
description (
String
)The description of a metafield.
-
id (
ID!
)Globally unique identifier.
-
key (
String!
)The key name for a metafield.
-
legacyResourceId (
UnsignedInt64!
)The ID of the corresponding resource in the REST Admin API.
-
namespace (
String!
)The namespace for a metafield.
-
ownerType (
MetafieldOwnerType!
)Owner type of a metafield visible to the Storefront API.
-
updatedAt (
DateTime!
)The date and time when the metafield was updated.
-
value (
String!
)The value of a metafield.
-
valueType (
MetafieldValueType!
)Represents the metafield value type.
Types that return Metafield
-
Collection.metafield
-
Collection.metafields
-
Customer.metafield
-
Customer.metafields
-
DraftOrder.metafield
-
DraftOrder.metafields
-
Image.metafield
-
Image.metafields
-
Order.metafield
-
Order.metafields
-
Product.metafield
-
Product.metafields
-
ProductVariant.metafield
-
ProductVariant.metafields
-
Shop.metafield
-
Shop.metafields
Mutations for Metafield
-
Deletes a metafield.
Implements
Metafields represent custom metadata attached to a resource. Metafields can be sorted into namespaces and are composed of keys, values, and value types.
Fields
-
createdAt (
DateTime!
)The date and time when the metafield was created.
-
description (
String
)The description of a metafield.
-
id (
ID!
)Globally unique identifier.
-
key (
String!
)The key name for a metafield.
-
legacyResourceId (
UnsignedInt64!
)The ID of the corresponding resource in the REST Admin API.
-
namespace (
String!
)The namespace for a metafield.
-
ownerType (
MetafieldOwnerType!
)Owner type of a metafield visible to the Storefront API.
-
updatedAt (
DateTime!
)The date and time when the metafield was updated.
-
value (
String!
)The value of a metafield.
-
valueType (
MetafieldValueType!
)Represents the metafield value type.
Types that return Metafield
-
Collection.metafield
-
Collection.metafields
-
Customer.metafield
-
Customer.metafields
-
DraftOrder.metafield
-
DraftOrder.metafields
-
Image.metafield
-
Image.metafields
-
Order.metafield
-
Order.metafields
-
Product.metafield
-
Product.metafields
-
ProductVariant.metafield
-
ProductVariant.metafields
-
Shop.metafield
-
Shop.metafields
Mutations for Metafield
-
Deletes a metafield.
Implements
Metafields represent custom metadata attached to a resource. Metafields can be sorted into namespaces and are composed of keys, values, and value types.
Fields
-
createdAt (
DateTime!
)The date and time when the metafield was created.
-
description (
String
)The description of a metafield.
-
id (
ID!
)Globally unique identifier.
-
key (
String!
)The key name for a metafield.
-
legacyResourceId (
UnsignedInt64!
)The ID of the corresponding resource in the REST Admin API.
-
namespace (
String!
)The namespace for a metafield.
-
ownerType (
MetafieldOwnerType!
)Owner type of a metafield visible to the Storefront API.
-
updatedAt (
DateTime!
)The date and time when the metafield was updated.
-
value (
String!
)The value of a metafield.
-
valueType (
MetafieldValueType!
)Represents the metafield value type.
Types that return Metafield
-
Collection.metafield
-
Collection.metafields
-
Customer.metafield
-
Customer.metafields
-
DraftOrder.metafield
-
DraftOrder.metafields
-
Image.metafield
-
Image.metafields
-
Order.metafield
-
Order.metafields
-
Product.metafield
-
Product.metafields
-
ProductVariant.metafield
-
ProductVariant.metafields
-
Shop.metafield
-
Shop.metafields
Mutations for Metafield
-
Deletes a metafield.
Implements
Metafields represent custom metadata attached to a resource. Metafields can be sorted into namespaces and are composed of keys, values, and value types.
Fields
-
createdAt (
DateTime!
)The date and time when the metafield was created.
-
description (
String
)The description of a metafield.
-
id (
ID!
)Globally unique identifier.
-
key (
String!
)The key name for a metafield.
-
legacyResourceId (
UnsignedInt64!
)The ID of the corresponding resource in the REST Admin API.
-
namespace (
String!
)The namespace for a metafield.
-
ownerType (
MetafieldOwnerType!
)Owner type of a metafield visible to the Storefront API.
-
updatedAt (
DateTime!
)The date and time when the metafield was updated.
-
value (
String!
)The value of a metafield.
-
valueType (
MetafieldValueType!
)Represents the metafield value type.
Types that return Metafield
-
Collection.metafield
-
Collection.metafields
-
Customer.metafield
-
Customer.metafields
-
DraftOrder.metafield
-
DraftOrder.metafields
-
Image.metafield
-
Image.metafields
-
Order.metafield
-
Order.metafields
-
Product.metafield
-
Product.metafields
-
ProductVariant.metafield
-
ProductVariant.metafields
-
Shop.metafield
-
Shop.metafields
Mutations for Metafield
-
Deletes a metafield.
Implements
Metafields represent custom metadata attached to a resource. Metafields can be sorted into namespaces and are composed of keys, values, and value types.
Fields
-
createdAt (
DateTime!
)The date and time when the metafield was created.
-
description (
String
)The description of a metafield.
-
id (
ID!
)Globally unique identifier.
-
key (
String!
)The key name for a metafield.
-
legacyResourceId (
UnsignedInt64!
)The ID of the corresponding resource in the REST Admin API.
-
namespace (
String!
)The namespace for a metafield.
-
ownerType (
MetafieldOwnerType!
)Owner type of a metafield visible to the Storefront API.
-
updatedAt (
DateTime!
)The date and time when the metafield was updated.
-
value (
String!
)The value of a metafield.
-
valueType (
MetafieldValueType!
)Represents the metafield value type.
Types that return Metafield
-
Collection.metafield
-
Collection.metafields
-
Customer.metafield
-
Customer.metafields
-
DraftOrder.metafield
-
DraftOrder.metafields
-
Image.metafield
-
Image.metafields
-
Order.metafield
-
Order.metafields
-
Product.metafield
-
Product.metafields
-
ProductVariant.metafield
-
ProductVariant.metafields
-
Shop.metafield
-
Shop.metafields
Mutations for Metafield
-
Deletes a metafield.
Implements
Metafields represent custom metadata attached to a resource. Metafields can be sorted into namespaces and are composed of keys, values, and value types.
Fields
-
createdAt (
DateTime!
)The date and time when the metafield was created.
-
description (
String
)The description of a metafield.
-
id (
ID!
)Globally unique identifier.
-
key (
String!
)The key name for a metafield.
-
legacyResourceId (
UnsignedInt64!
)The ID of the corresponding resource in the REST Admin API.
-
namespace (
String!
)The namespace for a metafield.
-
ownerType (
MetafieldOwnerType!
)Owner type of a metafield visible to the Storefront API.
-
updatedAt (
DateTime!
)The date and time when the metafield was updated.
-
value (
String!
)The value of a metafield.
-
valueType (
MetafieldValueType!
)Represents the metafield value type.
Types that return Metafield
-
Collection.metafield
-
Collection.metafields
-
Customer.metafield
-
Customer.metafields
-
DraftOrder.metafield
-
DraftOrder.metafields
-
Image.metafield
-
Image.metafields
-
Order.metafield
-
Order.metafields
-
Product.metafield
-
Product.metafields
-
ProductVariant.metafield
-
ProductVariant.metafields
-
Shop.metafield
-
Shop.metafields
Mutations for Metafield
-
Deletes a metafield.