---
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-01
api_name: customer
type: query
api_type: graphql
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[Pre-auth accessible](https://shopify.dev/docs/apps/build/customer-accounts/order-status-page#customer-account-api)

    A globally-unique ID.

  * metafield

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

    [Pre-auth accessible](https://shopify.dev/docs/apps/build/customer-accounts/order-status-page#customer-account-api)

    A metafield found by namespace and key.

    * namespace

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

      required

      ### Arguments

      A container for a set of metafields.

    * key

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

      required

      The identifier for the metafield.

    ***

  * metafields

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

    non-null[Pre-auth accessible](https://shopify.dev/docs/apps/build/customer-accounts/order-status-page#customer-account-api)

    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
