--- title: PrivateMetafieldValueType - GraphQL Admin description: Supported private metafield value types. api_version: 2024-10 api_name: admin type: enum api_type: graphql source_url: html: >- https://shopify.dev/docs/api/admin-graphql/2024-10/enums/PrivateMetafieldValueType md: >- https://shopify.dev/docs/api/admin-graphql/2024-10/enums/PrivateMetafieldValueType.txt --- # Private​Metafield​Value​Type enum Supported private metafield value types. ## Valid values * INTEGER An integer metafield. * JSON\_​STRING A JSON string metafield. * STRING A string metafield. *** ## Fields * [Private​Metafield.​value​Type](https://shopify.dev/docs/api/admin-graphql/2024-10/objects/PrivateMetafield#field-valueType) OBJECT 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. Private metafields are deprecated. Metafields created using a reserved namespace are private by default. See our guide for [migrating private metafields](https://shopify.dev/docs/apps/custom-data/metafields/migrate-private-metafields). * [Private​Metafield​Value​Input.​value​Type](https://shopify.dev/docs/api/admin-graphql/2024-10/input-objects/PrivateMetafieldValueInput#field-valueType) INPUT OBJECT The input fields for the value and value type of the private metafield. *** ## Map ### Fields with this enum * <-|[Private​Metafield.valueType](https://shopify.dev/docs/api/admin-graphql/2024-10/objects/PrivateMetafield#field-valueType) ### Inputs with this enum * [Private​Metafield​Value​Input.valueType](https://shopify.dev/docs/api/admin-graphql/2024-10/input-objects/PrivateMetafieldValueInput#field-valueType)