API version: unstable
API version: 2021-01 Release candidate
API version: 2020-10 Latest
API version: 2020-07
API version: 2020-04
API version: 2020-01
API version: 2019-10 Unsupported
API version: 2019-07 Unsupported

PrivateMetafield object

Version 2021-01 (Release candidate)

Private metafields represent custom metadata that is attached to a resource. Private metafields are private to the application that creates them on a shop's resources.

Fields

createdAt (DateTime!)

The date and time when the private metafield was created.

id (ID!)

The id of the private metafield.

key (String!)

The key name for a private metafield.

namespace (String!)

The namespace for a private metafield.

updatedAt (DateTime!)

The date and time when the private metafield was updated.

value (String!)

The value of a private metafield.

valueType (PrivateMetafieldValueType!)

Represents the private metafield value type.

Types that return PrivateMetafield

Mutations for PrivateMetafield

privateMetafieldDelete

Deletes a private metafield.

privateMetafieldUpsert

Creates or update a private metafield.

Implements

Version 2020-10 (Latest)

Private metafields represent custom metadata that is attached to a resource. Private metafields are private to the application that creates them on a shop's resources.

Fields

createdAt (DateTime!)

The date and time when the private metafield was created.

id (ID!)

The id of the private metafield.

key (String!)

The key name for a private metafield.

namespace (String!)

The namespace for a private metafield.

updatedAt (DateTime!)

The date and time when the private metafield was updated.

value (String!)

The value of a private metafield.

valueType (PrivateMetafieldValueType!)

Represents the private metafield value type.

Types that return PrivateMetafield

Mutations for PrivateMetafield

privateMetafieldDelete

Deletes a private metafield.

privateMetafieldUpsert

Creates or update a private metafield.

Implements

Version 2020-07

Private metafields represent custom metadata that is attached to a resource. Private metafields are private to the application that creates them on a shop's resources.

Fields

createdAt (DateTime!)

The date and time when the private metafield was created.

id (ID!)

The id of the private metafield.

key (String!)

The key name for a private metafield.

namespace (String!)

The namespace for a private metafield.

updatedAt (DateTime!)

The date and time when the private metafield was updated.

value (String!)

The value of a private metafield.

valueType (PrivateMetafieldValueType!)

Represents the private metafield value type.

Types that return PrivateMetafield

Mutations for PrivateMetafield

privateMetafieldDelete

Deletes a private metafield.

privateMetafieldUpsert

Creates or update a private metafield.

Implements

Version 2020-04

Private metafields represent custom metadata that is attached to a resource. Private metafields are private to the application that creates them on a shop's resources.

Fields

createdAt (DateTime!)

The date and time when the private metafield was created.

id (ID!)

The id of the private metafield.

key (String!)

The key name for a private metafield.

namespace (String!)

The namespace for a private metafield.

updatedAt (DateTime!)

The date and time when the private metafield was updated.

value (String!)

The value of a private metafield.

valueType (PrivateMetafieldValueType!)

Represents the private metafield value type.

Types that return PrivateMetafield

Mutations for PrivateMetafield

privateMetafieldDelete

Deletes a private metafield.

privateMetafieldUpsert

Creates or update a private metafield.

Implements

Version 2020-01

Private metafields represent custom metadata that is attached to a resource. Private metafields are private to the application that creates them on a shop's resources.

Fields

id (ID!)

The id of the private metafield.

key (String!)

The key name for a private metafield.

namespace (String!)

The namespace for a private metafield.

value (String!)

The value of a private metafield.

valueType (PrivateMetafieldValueType!)

Represents the private metafield value type.

Types that return PrivateMetafield

Mutations for PrivateMetafield

privateMetafieldDelete

Deletes a private metafield.

privateMetafieldUpsert

Creates or update a private metafield.

Implements

Version 2019-10 (Unsupported)

Private metafields represent custom metadata that is attached to a resource. Private metafields are private to the application that creates them on a shop's resources.

Fields

id (ID!)

The id of the private metafield.

key (String!)

The key name for a private metafield.

namespace (String!)

The namespace for a private metafield.

value (String!)

The value of a private metafield.

valueType (PrivateMetafieldValueType!)

Represents the private metafield value type.

Types that return PrivateMetafield

Mutations for PrivateMetafield

privateMetafieldDelete

Deletes a private metafield.

privateMetafieldUpsert

Creates or update a private metafield.

Implements

Samples