Lookup a Domain by ID.


Anchor to id
id
required

The ID of the Domain to return.


Was this section helpful?

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


Was this section helpful?

Examples

Hide code
DescriptionCopy
query {
  domain(id: "gid://shopify/Domain/948873163") {
    host
    url
  }
}
Hide code
Response
JSON
{
  "domain": {
    "host": "www.snowdevil.ca",
    "url": "https://www.snowdevil.ca"
  }
}