Shop

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

Show definition
# Shop represents a collection of the general settings and information about the shop.
type Shop {
  # List of the shop' articles.
  articles(
    first: Int!
    after: String
    sortKey: ArticleSortKeys = ID
    reverse: Boolean = false

    # Supported filter parameters:
    #  - `author`
    #  - `updated_at`
    #  - `created_at`
    #  - `blog_title`
    #  - `tag`
    query: String
  ): ArticleConnection!

  # List of the shop' blogs.
  blogs(
    first: Int!
    after: String
    sortKey: BlogSortKeys = ID
    reverse: Boolean = false

    # Supported filter parameters:
    #  - `handle`
    #  - `title`
    #  - `updated_at`
    #  - `created_at`
    query: String
  ): BlogConnection!

  # The url pointing to the endpoint to vault credit cards.
  cardVaultUrl: URL!

  # Find a collection by its handle.
  collectionByHandle(handle: String!): Collection

  # List of the shop’s collections.
  collections(
    first: Int!
    after: String
    sortKey: CollectionSortKeys = ID
    reverse: Boolean = false

    # Supported filter parameters:
    #  - `title`
    #  - `collection_type`
    #  - `updated_at`
    query: String
  ): 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!

  # The shop’s primary domain.
  primaryDomain: Domain!

  # The shop’s privacy policy.
  privacyPolicy: ShopPolicy

  # Find a product by its handle.
  productByHandle(handle: String!): Product

  # List of the shop’s products.
  products(
    first: Int!
    after: String
    sortKey: ProductSortKeys = ID
    reverse: Boolean = false

    # Supported filter parameters:
    #  - `title`
    #  - `product_type`
    #  - `vendor`
    #  - `created_at`
    #  - `updated_at`
    #  - `tag`
    query: String
  ): ProductConnection!

  # The shop’s refund policy.
  refundPolicy: ShopPolicy

  # The shop’s Shopify Payments account id.
  shopifyPaymentsAccountId: String

  # The shop’s terms of service.
  termsOfService: ShopPolicy
}

Connections

articles   (ArticleConnection!)

List of the shop' articles.

Argument Type Default Description
after String
first required Int
query String

Supported filter parameters:

  • author
  • updated_at
  • created_at
  • blog_title
  • tag
reverse Boolean false
sortKey ArticleSortKeys ID

blogs   (BlogConnection!)

List of the shop' blogs.

Argument Type Default Description
after String
first required Int
query String

Supported filter parameters:

  • handle
  • title
  • updated_at
  • created_at
reverse Boolean false
sortKey BlogSortKeys ID

collections   (CollectionConnection!)

List of the shop’s collections.

Argument Type Default Description
after String
first required Int
query String

Supported filter parameters:

  • title
  • collection_type
  • updated_at
reverse Boolean false
sortKey CollectionSortKeys ID

products   (ProductConnection!)

List of the shop’s products.

Argument Type Default Description
after String
first required Int
query String

Supported filter parameters:

  • title
  • product_type
  • vendor
  • created_at
  • updated_at
  • tag
reverse Boolean false
sortKey ProductSortKeys ID

Fields

cardVaultUrl   (URL!)

The url pointing to the endpoint to vault credit cards.

collectionByHandle   (Collection)

Find a collection by its handle.

Argument Type Default Description
handle required String

currencyCode   (CurrencyCode!)

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

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.

primaryDomain   (Domain!)

The shop’s primary domain.

privacyPolicy   (ShopPolicy)

The shop’s privacy policy.

productByHandle   (Product)

Find a product by its handle.

Argument Type Default Description
handle required String

refundPolicy   (ShopPolicy)

The shop’s refund policy.

shopifyPaymentsAccountId   (String)

The shop’s Shopify Payments account id.

termsOfService   (ShopPolicy)

The shop’s terms of service.