Domain object

A unique string that represents the address of a Shopify store on the Internet.


On this page


Fields

  • host ([String!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#string-2021-01))
    The host name of the domain (eg: example.com).
  • id ([ID!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#id-2021-01))
    Globally unique identifier.
  • localization ([DomainLocalization](https://shopify.dev/docs/admin-api/graphql/reference/online-store/domainlocalization))
    The localization of the domain, if it does not redirect.
  • sslEnabled ([Boolean!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#boolean-2021-01))
    Whether SSL is enabled or not.
  • url ([URL!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#url-2021-01))
    The URL of the domain (eg: [https://example.com](https://example.com)).


Types that return Domain

  • [QueryRoot.domain](https://shopify.dev/docs/admin-api/graphql/reference/common-objects/queryroot#domain-2021-01)
  • [Shop.domains](https://shopify.dev/docs/admin-api/graphql/reference/store-properties/shop#domains-2021-01)
  • [Shop.primaryDomain](https://shopify.dev/docs/admin-api/graphql/reference/store-properties/shop#primarydomain-2021-01)


Implements

  • [Node](https://shopify.dev/docs/admin-api/graphql/reference/common-objects/node)