---
title: shop - Customer API
description: |-
  Returns the information about the shop. Apps using the Customer Account API
  must meet the protected customer data
  [requirements](https://shopify.dev/docs/apps/launch/protected-customer-data).
api_version: 2026-10
source_url:
  html: https://shopify.dev/docs/api/customer/latest/queries/Shop
  md: https://shopify.dev/docs/api/customer/latest/queries/Shop.md
---

# shop

query

Returns the information about the shop. Apps using the Customer Account API must meet the protected customer data [requirements](https://shopify.dev/docs/apps/launch/protected-customer-data).

## Possible returns

* Shop

  [Shop!](https://shopify.dev/docs/api/customer/latest/objects/Shop)

  A collection of the general information about the shop.

  * email

    [String!](https://shopify.dev/docs/api/customer/latest/scalars/String)

    non-null

    The email of the shop.

  * id

    [ID!](https://shopify.dev/docs/api/customer/latest/scalars/ID)

    non-null

    A globally-unique ID.

  * metafield

    [Metafield](https://shopify.dev/docs/api/customer/latest/objects/Metafield)

    A metafield found by namespace and key.

    * key

      [String!](https://shopify.dev/docs/api/customer/latest/scalars/String)

      required

      ### Arguments

      The identifier for the metafield.

    * namespace

      [String!](https://shopify.dev/docs/api/customer/latest/scalars/String)

      required

      A container for a set of metafields.

    ***

  * metafields

    [\[Metafield\]!](https://shopify.dev/docs/api/customer/latest/objects/Metafield)

    non-null

    The metafields associated with the resource matching the supplied list of namespaces and keys.

    * identifiers

      [\[Has​Metafields​Identifier!\]!](https://shopify.dev/docs/api/customer/latest/input-objects/HasMetafieldsIdentifier)

      required

      ### Arguments

      The list of metafields to retrieve by namespace and key.

    ***

  * myshopify​Domain

    [String!](https://shopify.dev/docs/api/customer/latest/scalars/String)

    non-null

    The shop's .myshopify.com domain name.

  * name

    [String!](https://shopify.dev/docs/api/customer/latest/scalars/String)

    non-null

    The name of the shop.

  * shop​Policies

    [\[Shop​Policy!\]!](https://shopify.dev/docs/api/customer/latest/objects/ShopPolicy)

    non-null

    The list of all legal policies associated with the shop.

  * url

    [URL!](https://shopify.dev/docs/api/customer/latest/scalars/URL)

    non-null

    The URL of the shop's online store.

***

## Examples

* ### shop reference