---
title: String - Storefront 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: 2026-10
source_url:
  html: 'https://shopify.dev/docs/api/storefront/latest/scalars/String'
  md: 'https://shopify.dev/docs/api/storefront/latest/scalars/String.md'
api_name: storefront
api_type: graphql
type: scalar
---

# 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 and connections with this scalar

* [Api​Version.displayName](https://shopify.dev/docs/api/storefront/latest/objects/ApiVersion#field-ApiVersion.fields.displayName)
* [Api​Version.handle](https://shopify.dev/docs/api/storefront/latest/objects/ApiVersion#field-ApiVersion.fields.handle)
* [Applied​Gift​Card.lastCharacters](https://shopify.dev/docs/api/storefront/latest/objects/AppliedGiftCard#field-AppliedGiftCard.fields.lastCharacters)
* [Article.content](https://shopify.dev/docs/api/storefront/latest/objects/Article#field-Article.fields.content)
* [Article.excerpt](https://shopify.dev/docs/api/storefront/latest/objects/Article#field-Article.fields.excerpt)
* [Article.handle](https://shopify.dev/docs/api/storefront/latest/objects/Article#field-Article.fields.handle)
* [Article.tags](https://shopify.dev/docs/api/storefront/latest/objects/Article#field-Article.fields.tags)
* [Article.title](https://shopify.dev/docs/api/storefront/latest/objects/Article#field-Article.fields.title)
* [Article.trackingParameters](https://shopify.dev/docs/api/storefront/latest/objects/Article#field-Article.fields.trackingParameters)
* [Article​Author.bio](https://shopify.dev/docs/api/storefront/latest/objects/ArticleAuthor#field-ArticleAuthor.fields.bio)
* [Article​Author.email](https://shopify.dev/docs/api/storefront/latest/objects/ArticleAuthor#field-ArticleAuthor.fields.email)
* [Article​Author.firstName](https://shopify.dev/docs/api/storefront/latest/objects/ArticleAuthor#field-ArticleAuthor.fields.firstName)
* [Article​Author.lastName](https://shopify.dev/docs/api/storefront/latest/objects/ArticleAuthor#field-ArticleAuthor.fields.lastName)
* [Article​Author.name](https://shopify.dev/docs/api/storefront/latest/objects/ArticleAuthor#field-ArticleAuthor.fields.name)
* [Article​Edge.cursor](https://shopify.dev/docs/api/storefront/latest/objects/ArticleEdge#field-ArticleEdge.fields.cursor)
* [Attribute.key](https://shopify.dev/docs/api/storefront/latest/objects/Attribute#field-Attribute.fields.key)
* [Attribute.value](https://shopify.dev/docs/api/storefront/latest/objects/Attribute#field-Attribute.fields.value)
* [Automatic​Discount​Application.title](https://shopify.dev/docs/api/storefront/latest/objects/AutomaticDiscountApplication#field-AutomaticDiscountApplication.fields.title)
* [Base​Cart​Line​Edge.cursor](https://shopify.dev/docs/api/storefront/latest/objects/BaseCartLineEdge#field-BaseCartLineEdge.fields.cursor)
* [Blog.handle](https://shopify.dev/docs/api/storefront/latest/objects/Blog#field-Blog.fields.handle)
* [Blog.title](https://shopify.dev/docs/api/storefront/latest/objects/Blog#field-Blog.fields.title)
* [Blog​Edge.cursor](https://shopify.dev/docs/api/storefront/latest/objects/BlogEdge#field-BlogEdge.fields.cursor)
* [Brand.shortDescription](https://shopify.dev/docs/api/storefront/latest/objects/Brand#field-Brand.fields.shortDescription)
* [Brand.slogan](https://shopify.dev/docs/api/storefront/latest/objects/Brand#field-Brand.fields.slogan)
* [Cart.note](https://shopify.dev/docs/api/storefront/latest/objects/Cart#field-Cart.fields.note)
* [Cart​Automatic​Discount​Allocation.title](https://shopify.dev/docs/api/storefront/latest/objects/CartAutomaticDiscountAllocation#field-CartAutomaticDiscountAllocation.fields.title)
* [Cart​Automatic​Discount​Application.title](https://shopify.dev/docs/api/storefront/latest/objects/CartAutomaticDiscountApplication#field-CartAutomaticDiscountApplication.fields.title)
* [Cart​Buyer​Identity.email](https://shopify.dev/docs/api/storefront/latest/objects/CartBuyerIdentity#field-CartBuyerIdentity.fields.email)
* [Cart​Buyer​Identity.phone](https://shopify.dev/docs/api/storefront/latest/objects/CartBuyerIdentity#field-CartBuyerIdentity.fields.phone)
* [Cart​Code​Discount​Allocation.code](https://shopify.dev/docs/api/storefront/latest/objects/CartCodeDiscountAllocation#field-CartCodeDiscountAllocation.fields.code)

### Inputs with this scalar

* [Attribute​Input.key](https://shopify.dev/docs/api/storefront/latest/input-objects/AttributeInput#fields-key)
* [Attribute​Input.value](https://shopify.dev/docs/api/storefront/latest/input-objects/AttributeInput#fields-value)
* [Buyer​Input.customerAccessToken](https://shopify.dev/docs/api/storefront/latest/input-objects/BuyerInput#fields-customerAccessToken)
* [Cart​Buyer​Identity​Input.customerAccessToken](https://shopify.dev/docs/api/storefront/latest/input-objects/CartBuyerIdentityInput#fields-customerAccessToken)
* [Cart​Buyer​Identity​Input.email](https://shopify.dev/docs/api/storefront/latest/input-objects/CartBuyerIdentityInput#fields-email)
* [Cart​Buyer​Identity​Input.phone](https://shopify.dev/docs/api/storefront/latest/input-objects/CartBuyerIdentityInput#fields-phone)
* [Cart​Delivery​Address​Input.address1](https://shopify.dev/docs/api/storefront/latest/input-objects/CartDeliveryAddressInput#fields-address1)
* [Cart​Delivery​Address​Input.address2](https://shopify.dev/docs/api/storefront/latest/input-objects/CartDeliveryAddressInput#fields-address2)
* [Cart​Delivery​Address​Input.city](https://shopify.dev/docs/api/storefront/latest/input-objects/CartDeliveryAddressInput#fields-city)
* [Cart​Delivery​Address​Input.company](https://shopify.dev/docs/api/storefront/latest/input-objects/CartDeliveryAddressInput#fields-company)
* [Cart​Delivery​Address​Input.firstName](https://shopify.dev/docs/api/storefront/latest/input-objects/CartDeliveryAddressInput#fields-firstName)
* [Cart​Delivery​Address​Input.lastName](https://shopify.dev/docs/api/storefront/latest/input-objects/CartDeliveryAddressInput#fields-lastName)
* [Cart​Delivery​Address​Input.phone](https://shopify.dev/docs/api/storefront/latest/input-objects/CartDeliveryAddressInput#fields-phone)
* [Cart​Delivery​Address​Input.provinceCode](https://shopify.dev/docs/api/storefront/latest/input-objects/CartDeliveryAddressInput#fields-provinceCode)
* [Cart​Delivery​Address​Input.zip](https://shopify.dev/docs/api/storefront/latest/input-objects/CartDeliveryAddressInput#fields-zip)
* [Cart​Delivery​Preference​Input.pickupHandle](https://shopify.dev/docs/api/storefront/latest/input-objects/CartDeliveryPreferenceInput#fields-pickupHandle)
* [Cart​Input.discountCodes](https://shopify.dev/docs/api/storefront/latest/input-objects/CartInput#fields-discountCodes)
* [Cart​Input.giftCardCodes](https://shopify.dev/docs/api/storefront/latest/input-objects/CartInput#fields-giftCardCodes)
* [Cart​Input.note](https://shopify.dev/docs/api/storefront/latest/input-objects/CartInput#fields-note)
* [Cart​Input.sourceName](https://shopify.dev/docs/api/storefront/latest/input-objects/CartInput#fields-sourceName)
* [Cart​Input​Metafield​Input.key](https://shopify.dev/docs/api/storefront/latest/input-objects/CartInputMetafieldInput#fields-key)
* [Cart​Input​Metafield​Input.type](https://shopify.dev/docs/api/storefront/latest/input-objects/CartInputMetafieldInput#fields-type)
* [Cart​Input​Metafield​Input.value](https://shopify.dev/docs/api/storefront/latest/input-objects/CartInputMetafieldInput#fields-value)
* [Cart​Line​Update​Input.viewKey](https://shopify.dev/docs/api/storefront/latest/input-objects/CartLineUpdateInput#fields-viewKey)
* [Cart​Metafield​Delete​Input.key](https://shopify.dev/docs/api/storefront/latest/input-objects/CartMetafieldDeleteInput#fields-key)
* [Cart​Metafields​Set​Input.key](https://shopify.dev/docs/api/storefront/latest/input-objects/CartMetafieldsSetInput#fields-key)
* [Cart​Metafields​Set​Input.type](https://shopify.dev/docs/api/storefront/latest/input-objects/CartMetafieldsSetInput#fields-type)
* [Cart​Metafields​Set​Input.value](https://shopify.dev/docs/api/storefront/latest/input-objects/CartMetafieldsSetInput#fields-value)
* [Cart​Preferences​Input.wallet](https://shopify.dev/docs/api/storefront/latest/input-objects/CartPreferencesInput#fields-wallet)
* [Cart​Selected​Delivery​Option​Input.deliveryOptionHandle](https://shopify.dev/docs/api/storefront/latest/input-objects/CartSelectedDeliveryOptionInput#fields-deliveryOptionHandle)

### Arguments with this scalar

* [Article.comments(after)](https://shopify.dev/docs/api/storefront/latest/objects/Article#field-Article.fields.comments.arguments.after)
* [Article.comments(before)](https://shopify.dev/docs/api/storefront/latest/objects/Article#field-Article.fields.comments.arguments.before)
* [Article.metafield(key)](https://shopify.dev/docs/api/storefront/latest/objects/Article#field-Article.fields.metafield.arguments.key)
* [Article.metafield(namespace)](https://shopify.dev/docs/api/storefront/latest/objects/Article#field-Article.fields.metafield.arguments.namespace)
* [Base​Cart​Line.attribute(key)](https://shopify.dev/docs/api/storefront/latest/objects/BaseCartLine#field-BaseCartLine.fields.attribute.arguments.key)
* [Blog.articleByHandle(handle)](https://shopify.dev/docs/api/storefront/latest/objects/Blog#field-Blog.fields.articleByHandle.arguments.handle)
* [Blog.articles(after)](https://shopify.dev/docs/api/storefront/latest/objects/Blog#field-Blog.fields.articles.arguments.after)
* [Blog.articles(before)](https://shopify.dev/docs/api/storefront/latest/objects/Blog#field-Blog.fields.articles.arguments.before)
* [Blog.articles(query)](https://shopify.dev/docs/api/storefront/latest/objects/Blog#field-Blog.fields.articles.arguments.query)
* [Blog.metafield(key)](https://shopify.dev/docs/api/storefront/latest/objects/Blog#field-Blog.fields.metafield.arguments.key)
* [Blog.metafield(namespace)](https://shopify.dev/docs/api/storefront/latest/objects/Blog#field-Blog.fields.metafield.arguments.namespace)
* [Cart.attribute(key)](https://shopify.dev/docs/api/storefront/latest/objects/Cart#field-Cart.fields.attribute.arguments.key)
* [Cart.deliveryGroups(after)](https://shopify.dev/docs/api/storefront/latest/objects/Cart#field-Cart.fields.deliveryGroups.arguments.after)
* [Cart.deliveryGroups(before)](https://shopify.dev/docs/api/storefront/latest/objects/Cart#field-Cart.fields.deliveryGroups.arguments.before)
* [Cart.lines(after)](https://shopify.dev/docs/api/storefront/latest/objects/Cart#field-Cart.fields.lines.arguments.after)
* [Cart.lines(before)](https://shopify.dev/docs/api/storefront/latest/objects/Cart#field-Cart.fields.lines.arguments.before)
* [Cart.metafield(key)](https://shopify.dev/docs/api/storefront/latest/objects/Cart#field-Cart.fields.metafield.arguments.key)
* [Cart.metafield(namespace)](https://shopify.dev/docs/api/storefront/latest/objects/Cart#field-Cart.fields.metafield.arguments.namespace)
* [Cart​Delivery​Group.cartLines(after)](https://shopify.dev/docs/api/storefront/latest/objects/CartDeliveryGroup#field-CartDeliveryGroup.fields.cartLines.arguments.after)
* [Cart​Delivery​Group.cartLines(before)](https://shopify.dev/docs/api/storefront/latest/objects/CartDeliveryGroup#field-CartDeliveryGroup.fields.cartLines.arguments.before)
* [Cart​Line.attribute(key)](https://shopify.dev/docs/api/storefront/latest/objects/CartLine#field-CartLine.fields.attribute.arguments.key)
* [Collection.metafield(key)](https://shopify.dev/docs/api/storefront/latest/objects/Collection#field-Collection.fields.metafield.arguments.key)
* [Collection.metafield(namespace)](https://shopify.dev/docs/api/storefront/latest/objects/Collection#field-Collection.fields.metafield.arguments.namespace)
* [Collection.products(after)](https://shopify.dev/docs/api/storefront/latest/objects/Collection#field-Collection.fields.products.arguments.after)
* [Collection.products(before)](https://shopify.dev/docs/api/storefront/latest/objects/Collection#field-Collection.fields.products.arguments.before)
* [Company.metafield(key)](https://shopify.dev/docs/api/storefront/latest/objects/Company#field-Company.fields.metafield.arguments.key)
* [Company.metafield(namespace)](https://shopify.dev/docs/api/storefront/latest/objects/Company#field-Company.fields.metafield.arguments.namespace)
* [Company​Location.metafield(key)](https://shopify.dev/docs/api/storefront/latest/objects/CompanyLocation#field-CompanyLocation.fields.metafield.arguments.key)
* [Company​Location.metafield(namespace)](https://shopify.dev/docs/api/storefront/latest/objects/CompanyLocation#field-CompanyLocation.fields.metafield.arguments.namespace)
* [Componentizable​Cart​Line.attribute(key)](https://shopify.dev/docs/api/storefront/latest/objects/ComponentizableCartLine#field-ComponentizableCartLine.fields.attribute.arguments.key)
