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’ collections.
  collections(
    first: Int!
    after: String
    sortKey: CollectionSortKeys = ID
    reverse: Boolean = false

    # Supported filter parameters:
    #  - `title`
    #  - `collection_type`
    #  - `updated_at`
    #  - `published_status`
    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

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

    # Supported filter parameters:
    #  - `title`
    #  - `product_type`
    #  - `vendor`
    #  - `gift_card`
    #  - `sku`
    #  - `barcode`
    #  - `inventory_total`
    #  - `created_at`
    #  - `updated_at`
    #  - `published_status`
    #  - `tag`
    query: String
  ): ProductConnection!

  # The shop’s refund policy.
  refundPolicy: ShopPolicy

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

Connections

collections   (CollectionConnection!)

List of the shop’ collections.

Argument Type Default Description
after String
first required Int
query String

Supported filter parameters:

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

products   (ProductConnection!)

List of the shop’ products.

Argument Type Default Description
after String
first required Int
query String

Supported filter parameters:

  • title
  • product_type
  • vendor
  • gift_card
  • sku
  • barcode
  • inventory_total
  • created_at
  • updated_at
  • published_status
  • tag
reverse Boolean false
sortKey ProductSortKeys ID

Fields

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.

refundPolicy   (ShopPolicy)

The shop’s refund policy.

termsOfService   (ShopPolicy)

The shop’s terms of service.