---
title: String - Shop Partners API
description: The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
api_version: unstable latest
source_url:
  html: https://shopify.dev/docs/api/shop-partners/latest/scalars/String
  md: https://shopify.dev/docs/api/shop-partners/latest/scalars/String.md
---

# String

scalar

The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.

## Map

### Fields with this scalar

* [Custom​Data​Absolute​Access​Grant​Type.granteeId](https://shopify.dev/docs/api/shop-partners/latest/objects/CustomDataAbsoluteAccessGrantType#field-CustomDataAbsoluteAccessGrantType.fields.granteeId)
* [Custom​Data​Metafield​Definition​Validation​Type.name](https://shopify.dev/docs/api/shop-partners/latest/objects/CustomDataMetafieldDefinitionValidationType#field-CustomDataMetafieldDefinitionValidationType.fields.name)
* [Custom​Data​Metafield​Definition​Validation​Type.value](https://shopify.dev/docs/api/shop-partners/latest/objects/CustomDataMetafieldDefinitionValidationType#field-CustomDataMetafieldDefinitionValidationType.fields.value)
* [Custom​Data​Relative​Access​Grant​Type.grantee](https://shopify.dev/docs/api/shop-partners/latest/objects/CustomDataRelativeAccessGrantType#field-CustomDataRelativeAccessGrantType.fields.grantee)
* [Custom​Data​Role​Based​Access​Grant​Type.role](https://shopify.dev/docs/api/shop-partners/latest/objects/CustomDataRoleBasedAccessGrantType#field-CustomDataRoleBasedAccessGrantType.fields.role)
* [Fetch​Tokens​For​User​User​Error.field](https://shopify.dev/docs/api/shop-partners/latest/objects/FetchTokensForUserUserError#field-FetchTokensForUserUserError.fields.field)
* [Fetch​Tokens​For​User​User​Error.message](https://shopify.dev/docs/api/shop-partners/latest/objects/FetchTokensForUserUserError#field-FetchTokensForUserUserError.fields.message)
* [Metafield​Definition.description](https://shopify.dev/docs/api/shop-partners/latest/objects/MetafieldDefinition#field-MetafieldDefinition.fields.description)
* [Metafield​Definition.key](https://shopify.dev/docs/api/shop-partners/latest/objects/MetafieldDefinition#field-MetafieldDefinition.fields.key)
* [Metafield​Definition.name](https://shopify.dev/docs/api/shop-partners/latest/objects/MetafieldDefinition#field-MetafieldDefinition.fields.name)
* [Metafield​Definition.namespace](https://shopify.dev/docs/api/shop-partners/latest/objects/MetafieldDefinition#field-MetafieldDefinition.fields.namespace)
* [Metafield​Definition​Edge.cursor](https://shopify.dev/docs/api/shop-partners/latest/objects/MetafieldDefinitionEdge#field-MetafieldDefinitionEdge.fields.cursor)
* [Metafield​Definition​Type.category](https://shopify.dev/docs/api/shop-partners/latest/objects/MetafieldDefinitionType#field-MetafieldDefinitionType.fields.category)
* [Metafield​Definition​Type.name](https://shopify.dev/docs/api/shop-partners/latest/objects/MetafieldDefinitionType#field-MetafieldDefinitionType.fields.name)
* [Metafield​Namespace.description](https://shopify.dev/docs/api/shop-partners/latest/objects/MetafieldNamespace#field-MetafieldNamespace.fields.description)
* [Metafield​Namespace.key](https://shopify.dev/docs/api/shop-partners/latest/objects/MetafieldNamespace#field-MetafieldNamespace.fields.key)
* [Metafield​Namespace.name](https://shopify.dev/docs/api/shop-partners/latest/objects/MetafieldNamespace#field-MetafieldNamespace.fields.name)
* [Metafield​Namespace.namespace](https://shopify.dev/docs/api/shop-partners/latest/objects/MetafieldNamespace#field-MetafieldNamespace.fields.namespace)
* [Page​Info.endCursor](https://shopify.dev/docs/api/shop-partners/latest/objects/PageInfo#field-PageInfo.fields.endCursor)
* [Page​Info.startCursor](https://shopify.dev/docs/api/shop-partners/latest/objects/PageInfo#field-PageInfo.fields.startCursor)
* [User​Error.field](https://shopify.dev/docs/api/shop-partners/latest/objects/UserError#field-UserError.fields.field)
* [User​Error.message](https://shopify.dev/docs/api/shop-partners/latest/objects/UserError#field-UserError.fields.message)

### Inputs with this scalar

* [Custom​Data​Access​Grant​Input.grantee](https://shopify.dev/docs/api/shop-partners/latest/input-objects/CustomDataAccessGrantInput#fields-grantee)
* [Custom​Data​Access​Grant​Input.granteeId](https://shopify.dev/docs/api/shop-partners/latest/input-objects/CustomDataAccessGrantInput#fields-granteeId)
* [Custom​Data​Access​Grant​Input.role](https://shopify.dev/docs/api/shop-partners/latest/input-objects/CustomDataAccessGrantInput#fields-role)
* [Custom​Data​Key​Pair​Input.key](https://shopify.dev/docs/api/shop-partners/latest/input-objects/CustomDataKeyPairInput#fields-key)
* [Custom​Data​Key​Pair​Input.namespace](https://shopify.dev/docs/api/shop-partners/latest/input-objects/CustomDataKeyPairInput#fields-namespace)
* [Custom​Data​Metafield​Definition​Validation​Input.name](https://shopify.dev/docs/api/shop-partners/latest/input-objects/CustomDataMetafieldDefinitionValidationInput#fields-name)
* [Custom​Data​Metafield​Definition​Validation​Input.value](https://shopify.dev/docs/api/shop-partners/latest/input-objects/CustomDataMetafieldDefinitionValidationInput#fields-value)
* [Metafield​Definition​Create​Input.description](https://shopify.dev/docs/api/shop-partners/latest/input-objects/MetafieldDefinitionCreateInput#fields-description)
* [Metafield​Definition​Create​Input.key](https://shopify.dev/docs/api/shop-partners/latest/input-objects/MetafieldDefinitionCreateInput#fields-key)
* [Metafield​Definition​Create​Input.name](https://shopify.dev/docs/api/shop-partners/latest/input-objects/MetafieldDefinitionCreateInput#fields-name)
* [Metafield​Definition​Create​Input.namespace](https://shopify.dev/docs/api/shop-partners/latest/input-objects/MetafieldDefinitionCreateInput#fields-namespace)
* [Metafield​Definition​Create​Input.type](https://shopify.dev/docs/api/shop-partners/latest/input-objects/MetafieldDefinitionCreateInput#fields-type)
* [Metafield​Definition​Update​Input.description](https://shopify.dev/docs/api/shop-partners/latest/input-objects/MetafieldDefinitionUpdateInput#fields-description)
* [Metafield​Definition​Update​Input.key](https://shopify.dev/docs/api/shop-partners/latest/input-objects/MetafieldDefinitionUpdateInput#fields-key)
* [Metafield​Definition​Update​Input.name](https://shopify.dev/docs/api/shop-partners/latest/input-objects/MetafieldDefinitionUpdateInput#fields-name)
* [Metafield​Namespace​Create​Input.description](https://shopify.dev/docs/api/shop-partners/latest/input-objects/MetafieldNamespaceCreateInput#fields-description)
* [Metafield​Namespace​Create​Input.key](https://shopify.dev/docs/api/shop-partners/latest/input-objects/MetafieldNamespaceCreateInput#fields-key)
* [Metafield​Namespace​Create​Input.name](https://shopify.dev/docs/api/shop-partners/latest/input-objects/MetafieldNamespaceCreateInput#fields-name)
* [Metafield​Namespace​Create​Input.namespace](https://shopify.dev/docs/api/shop-partners/latest/input-objects/MetafieldNamespaceCreateInput#fields-namespace)
* [Metafield​Namespace​Update​Input.description](https://shopify.dev/docs/api/shop-partners/latest/input-objects/MetafieldNamespaceUpdateInput#fields-description)
* [Metafield​Namespace​Update​Input.key](https://shopify.dev/docs/api/shop-partners/latest/input-objects/MetafieldNamespaceUpdateInput#fields-key)
* [Metafield​Namespace​Update​Input.name](https://shopify.dev/docs/api/shop-partners/latest/input-objects/MetafieldNamespaceUpdateInput#fields-name)
* [Target​Input.grantee](https://shopify.dev/docs/api/shop-partners/latest/input-objects/TargetInput#fields-grantee)
* [Target​Input.granteeId](https://shopify.dev/docs/api/shop-partners/latest/input-objects/TargetInput#fields-granteeId)
* [Target​Input.role](https://shopify.dev/docs/api/shop-partners/latest/input-objects/TargetInput#fields-role)

### Arguments with this scalar

* [Query.metafieldDefinitions(after)](https://shopify.dev/docs/api/shop-partners/latest/objects/Query#field-Query.fields.metafieldDefinitions.arguments.after)
* [Query.metafieldDefinitions(before)](https://shopify.dev/docs/api/shop-partners/latest/objects/Query#field-Query.fields.metafieldDefinitions.arguments.before)
* [fetch​Custom​Data​Token​For​User.email](https://shopify.dev/docs/api/shop-partners/latest/mutations/fetchCustomDataTokenForUser#arguments-email)
* [fetch​Custom​Data​Token​For​User.through](https://shopify.dev/docs/api/shop-partners/latest/mutations/fetchCustomDataTokenForUser#arguments-through)
* [fetch​Tokens​For​User.consentToken](https://shopify.dev/docs/api/shop-partners/latest/mutations/fetchTokensForUser#arguments-consentToken)
* [fetch​Tokens​For​User.publicId](https://shopify.dev/docs/api/shop-partners/latest/mutations/fetchTokensForUser#arguments-publicId)
* [metafield​Access​Grant.key](https://shopify.dev/docs/api/shop-partners/latest/mutations/metafieldAccessGrant#arguments-key)
* [standard​Metafield​Definition​Enable.key](https://shopify.dev/docs/api/shop-partners/latest/mutations/standardMetafieldDefinitionEnable#arguments-key)
* [standard​Metafield​Definition​Enable.namespace](https://shopify.dev/docs/api/shop-partners/latest/mutations/standardMetafieldDefinitionEnable#arguments-namespace)
* [metafield​Definitions.after](https://shopify.dev/docs/api/shop-partners/latest/queries/metafieldDefinitions#arguments-after)
* [metafield​Definitions.before](https://shopify.dev/docs/api/shop-partners/latest/queries/metafieldDefinitions#arguments-before)