stack

Home > @infiniteobjects/shopify-data-manager > AdminTypes > PrivateMetafield

AdminTypes.PrivateMetafield interface

Private metafields represent custom metadata that is attached to a resource. Private metafields are accessible only by the application that created them and only from the GraphQL Admin API.

An application can create a maximum of 10 private metafields per shop resource.

Signature:

export interface PrivateMetafield extends Node 

Extends: Node

Properties

Property Modifiers Type Description
createdAt   Scalars[‘DateTime’][‘output’] The date and time when the private metafield was created.
id   Scalars[‘ID’][‘output’] The ID of the private metafield.
key   Scalars[‘String’][‘output’] The key name of the private metafield.
namespace   Scalars[‘String’][‘output’] The namespace of the private metafield.
updatedAt   Scalars[‘DateTime’][‘output’] The date and time when the private metafield was updated.
value   Scalars[‘String’][‘output’] The value of a private metafield.
valueType   PrivateMetafieldValueType | `${PrivateMetafieldValueType}` Represents the private metafield value type.