Skip to content
shopify-full-color-black.svg
  • What to build
    • Build a storefront
    • Build a Shopify app
    • Build a sales channel
  • APIs
    • Admin API reference
    • Storefront API reference
  • Guides
    • Getting started
    • Building an application
    • Style guide
    • Supported libraries
    • Using webhooks
    • Application proxies
    • Checkout API
    • Analytics API
    • Shopify Scripts
  • Community
  • Developer login
  • Create account
shopify-full-color-black.svg
  • What to build
    • Build a storefront
    • Build a Shopify app
    • Build a sales channel
  • APIs
    • Admin API reference
    • Storefront API reference
  • Guides
    • Getting started
    • Building an application
    • Style guide
    • Supported libraries
    • Using webhooks
    • Application proxies
    • Checkout API
    • Analytics API
    • Shopify Scripts
  • Community
  • Developer resources
  • Storefront API
  • API reference
  • Objects
  • Attribute
  • Getting started
  • What to build
  • API tutorials
  • Supported libraries
  • API changelog
  • Admin API
  • Storefront API
    • Getting started
    • Guides
    • API reference
      • QueryRoot
      • Mutations
      • Objects
        • AppliedGiftCard
        • Article
        • ArticleAuthor
        • Attribute
        • AvailableShippingRates
        • Blog
        • Checkout
        • CheckoutLineItem
        • Collection
        • Comment
        • CommentAuthor
        • CreditCard
        • Customer
        • CustomerAccessToken
        • Domain
        • Image
        • MailingAddress
        • MoneyV2
        • Order
        • OrderLineItem
        • PageInfo
        • Payment
        • PaymentSettings
        • Product
        • ProductOption
        • ProductVariant
        • SelectedOption
        • ShippingRate
        • Shop
        • ShopPolicy
        • Transaction
        • UserError
      • Scalars
      • Interfaces
      • Enums
      • Unions
      • Input Objects
    • GraphQL + Shopify
    • GraphQL Explorer
  • Charging for your app
  • Listing in the App Store
  • Being successful in the App Store
  • Partner Dashboard
  • Ask the community
  • Hire a developer

Attribute

Represents a generic custom attribute.

Show definition
# Represents a generic custom attribute.
type Attribute {
  # Key or name of the attribute.
  key: String!

  # Value of the attribute.
  value: String
}

Fields

key   (String!)

Key or name of the attribute.

value   (String)

Value of the attribute.

How helpful was this page?

This page was printed on 26 Apr 2018. For the latest version, please go to https://help.shopify.com/api/storefront-api/reference/object/attribute/

About Careers Press and Media Enterprise Sitemap

Online store

Sell online Features Examples Website editor Online retail
Ecommerce website Domain names Themes Shopping cart Ecommerce hosting
Mobile commerce Ecommerce software Online store builder Websites for sale

Point of sale

Point of sale Features Hardware POS software

Support

24/7 support Shopify Help Center Forums API documentation Free tools

Shopify

Contact Partner program Affiliate program App developers Investors Blog topics
Terms of Service Privacy Policy