Shop

Shop represents a collection of the general settings and information about the shop.

Required access

unauthenticated_read_product_listings access scope

Show definition
"""
Shop represents a collection of the general settings and information about the shop.
"""
type Shop {
  """
  List of the shop' articles.
  """
  articles(
    """
    Returns the elements that come after the specified cursor.
    """
    after: String
    """
    Returns the elements that come before the specified cursor.
    """
    before: String
    """
    Returns up to the first n elements from the list.
    """
    first: Int
    """
    Returns up to the last n elements from the list.
    """
    last: Int
    """
    Supported filter parameters:
     - author
     - blog_title
     - created_at
     - tag
     - updated_at
    See the detailed search syntax.
    """
    query: String
    """
    Reverse the order of the underlying list.
    """
    reverse: Boolean = false
    """
    Sort the underlying list by the given key.
    """
    sortKey: ArticleSortKeys = ID
  ): ArticleConnection!
  """
  List of the shop' blogs.
  """
  blogs(
    """
    Returns the elements that come after the specified cursor.
    """
    after: String
    """
    Returns the elements that come before the specified cursor.
    """
    before: String
    """
    Returns up to the first n elements from the list.
    """
    first: Int
    """
    Returns up to the last n elements from the list.
    """
    last: Int
    """
    Supported filter parameters:
     - created_at
     - handle
     - title
     - updated_at
    See the detailed search syntax.
    """
    query: String
    """
    Reverse the order of the underlying list.
    """
    reverse: Boolean = false
    """
    Sort the underlying list by the given key.
    """
    sortKey: BlogSortKeys = ID
  ): BlogConnection!
  """
  Find a collection by its handle.
  """
  collectionByHandle(
    """
    The handle of the collection.
    """
    handle: String!
  ): Collection
  """
  List of the shop’s collections.
  """
  collections(
    """
    Returns the elements that come after the specified cursor.
    """
    after: String
    """
    Returns the elements that come before the specified cursor.
    """
    before: String
    """
    Returns up to the first n elements from the list.
    """
    first: Int
    """
    Returns up to the last n elements from the list.
    """
    last: Int
    """
    Supported filter parameters:
     - collection_type
     - title
     - updated_at
    See the detailed search syntax.
    """
    query: String
    """
    Reverse the order of the underlying list.
    """
    reverse: Boolean = false
    """
    Sort the underlying list by the given key.
    """
    sortKey: CollectionSortKeys = ID
  ): CollectionConnection!
  """
  The three-letter code for the currency that the shop accepts.
  """
  currencyCode: CurrencyCode!
  """
  A description of the shop.
  """
  description: String
  """
  A string representing the way currency is formatted when the currency isn’t specified.
  """
  moneyFormat: String!
  """
  The shop’s name.
  """
  name: String!
  """
  Settings related to payments.
  """
  paymentSettings: PaymentSettings!
  """
  The shop’s primary domain.
  """
  primaryDomain: Domain!
  """
  The shop’s privacy policy.
  """
  privacyPolicy: ShopPolicy
  """
  Find a product by its handle.
  """
  productByHandle(
    """
    The handle of the product.
    """
    handle: String!
  ): Product
  """
  Tags added to products.
  Additional access scope required: unauthenticated_read_product_tags.
  """
  productTags(
    """
    Returns up to the first n elements from the list.
    """
    first: Int!
  ): StringConnection!
  """
  List of the shop’s product types.
  """
  productTypes(
    """
    Returns up to the first n elements from the list.
    """
    first: Int!
  ): StringConnection!
  """
  List of the shop’s products.
  """
  products(
    """
    Returns the elements that come after the specified cursor.
    """
    after: String
    """
    Returns the elements that come before the specified cursor.
    """
    before: String
    """
    Returns up to the first n elements from the list.
    """
    first: Int
    """
    Returns up to the last n elements from the list.
    """
    last: Int
    """
    Supported filter parameters:
     - available_for_sale
     - created_at
     - product_type
     - tag
     - title
     - updated_at
     - variants.price
     - vendor
    See the detailed search syntax.
    """
    query: String
    """
    Reverse the order of the underlying list.
    """
    reverse: Boolean = false
    """
    Sort the underlying list by the given key.
    """
    sortKey: ProductSortKeys = ID
  ): ProductConnection!
  """
  The shop’s refund policy.
  """
  refundPolicy: ShopPolicy
  """
  Countries that the shop ships to.
  """
  shipsToCountries: [CountryCode!]!
  """
  The shop’s Shopify Payments account id.
  """
  shopifyPaymentsAccountId: String
  """
  The shop’s terms of service.
  """
  termsOfService: ShopPolicy
}

Fields

description (String)

A description of the shop.

moneyFormat (String!)

A string representing the way currency is formatted when the currency isn’t specified.

name (String!)

The shop’s name.

paymentSettings (PaymentSettings!)

Settings related to payments.

primaryDomain (Domain!)

The shop’s primary domain.

privacyPolicy (ShopPolicy)

The shop’s privacy policy.

refundPolicy (ShopPolicy)

The shop’s refund policy.

shipsToCountries ([CountryCode!]!)

Countries that the shop ships to.

termsOfService (ShopPolicy)

The shop’s terms of service.

Deprecated fields

Show/Hide
articles (ArticleConnection!) deprecated

List of the shop' articles.

Deprecation warning

Use QueryRoot.articles instead.

after ( String )

Returns the elements that come after the specified cursor.

before ( String )

Returns the elements that come before the specified cursor.

first ( Int )

Returns up to the first n elements from the list.

last ( Int )

Returns up to the last n elements from the list.

query ( String )

Supported filter parameters:

  • author
  • blog_title
  • created_at
  • tag
  • updated_at

See the detailed search syntax.

reverse ( Boolean )

Reverse the order of the underlying list.
Default value: true

sortKey ( ArticleSortKeys )

Sort the underlying list by the given key.
Default value: true

blogs (BlogConnection!) deprecated

List of the shop' blogs.

Deprecation warning

Use QueryRoot.blogs instead.

after ( String )

Returns the elements that come after the specified cursor.

before ( String )

Returns the elements that come before the specified cursor.

first ( Int )

Returns up to the first n elements from the list.

last ( Int )

Returns up to the last n elements from the list.

query ( String )

Supported filter parameters:

  • created_at
  • handle
  • title
  • updated_at

See the detailed search syntax.

reverse ( Boolean )

Reverse the order of the underlying list.
Default value: true

sortKey ( BlogSortKeys )

Sort the underlying list by the given key.
Default value: true

collectionByHandle (Collection) deprecated

Find a collection by its handle.

Deprecation warning

Use QueryRoot.collectionByHandle instead.

handle ( String! ) required

The handle of the collection.

collections (CollectionConnection!) deprecated

List of the shop’s collections.

Deprecation warning

Use QueryRoot.collections instead.

after ( String )

Returns the elements that come after the specified cursor.

before ( String )

Returns the elements that come before the specified cursor.

first ( Int )

Returns up to the first n elements from the list.

last ( Int )

Returns up to the last n elements from the list.

query ( String )

Supported filter parameters:

  • collection_type
  • title
  • updated_at

See the detailed search syntax.

reverse ( Boolean )

Reverse the order of the underlying list.
Default value: true

sortKey ( CollectionSortKeys )

Sort the underlying list by the given key.
Default value: true

currencyCode (CurrencyCode!) deprecated

The three-letter code for the currency that the shop accepts.

Deprecation warning

Use paymentSettings instead

productByHandle (Product) deprecated

Find a product by its handle.

Deprecation warning

Use QueryRoot.productByHandle instead.

handle ( String! ) required

The handle of the product.

productTags (StringConnection!) deprecated

Tags added to products. Additional access scope required: unauthenticated_read_product_tags.

Deprecation warning

Use QueryRoot.productTags instead.

Required access

unauthenticated_read_product_tags access scope

first ( Int! ) required

Returns up to the first n elements from the list.

productTypes (StringConnection!) deprecated

List of the shop’s product types.

Deprecation warning

Use QueryRoot.productTypes instead.

Required access

unauthenticated_read_product_listings access scope

first ( Int! ) required

Returns up to the first n elements from the list.

products (ProductConnection!) deprecated

List of the shop’s products.

Deprecation warning

Use QueryRoot.products instead.

after ( String )

Returns the elements that come after the specified cursor.

before ( String )

Returns the elements that come before the specified cursor.

first ( Int )

Returns up to the first n elements from the list.

last ( Int )

Returns up to the last n elements from the list.

query ( String )

Supported filter parameters:

  • available_for_sale
  • created_at
  • product_type
  • tag
  • title
  • updated_at
  • variants.price
  • vendor

See the detailed search syntax.

reverse ( Boolean )

Reverse the order of the underlying list.
Default value: true

sortKey ( ProductSortKeys )

Sort the underlying list by the given key.
Default value: true

shopifyPaymentsAccountId (String) deprecated

The shop’s Shopify Payments account id.

Deprecation warning

Use paymentSettings instead

Sign up for a Partner account to get started.

Sign up