> ## Documentation Index
> Fetch the complete documentation index at: https://spreecommerce.org/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Get the current store

> Returns the current store's name, default SEO metadata, logo, social accounts and customer support email, so a storefront can render its page metadata and structured data. Translated fields use the requested locale; one without a translation falls back to the store's default locale.



## OpenAPI

````yaml /api-reference/store.yaml get /api/v3/store/store
openapi: 3.0.3
info:
  title: Store API
  contact:
    name: Spree Commerce
    url: https://spreecommerce.org
    email: hello@spreecommerce.org
  description: >
    Spree Store API v3 - Customer-facing storefront API for building headless
    commerce experiences.


    ## Authentication


    The Store API uses two authentication methods:


    ### API Key (Required)

    All requests must include a publishable API key in the `x-spree-api-key`
    header.


    ### JWT Bearer Token (For authenticated customers)

    After login, include the JWT token in the `Authorization: Bearer <token>`
    header.


    ### Order Token (For guest checkout)

    When creating an order, a `token` is returned. Include this in the
    `x-spree-token` header

    for guest access to that specific order.


    ## Response Format


    All responses are JSON. List endpoints return paginated responses with
    `data` and `meta` keys.


    ## Error Handling


    Errors return a consistent format:

    ```json

    {
      "error": {
        "code": "record_not_found",
        "message": "Product not found"
      }
    }

    ```
  version: v3
servers:
  - url: http://{defaultHost}
    variables:
      defaultHost:
        default: localhost:3000
security: []
tags:
  - name: Authentication
    description: Customer authentication (login, logout, token refresh)
  - name: Carts
    description: Shopping cart management
  - name: Channel
  - name: Companies
  - name: Customers
    description: Customer account, addresses, saved payment methods, and order history
  - name: Delivery
  - name: Digital Links
    description: Digital product downloads
  - name: Markets
    description: Markets, countries, currencies, and locales
  - name: Newsletter Subscribers
    description: Guest and customer newsletter subscriptions (double opt-in)
  - name: Orders
    description: Order lookup
  - name: Policies
    description: Store policies (return policy, privacy policy, terms of service)
  - name: Product Catalog
    description: Products and categories
  - name: Sellers
  - name: Store
    description: The current store's name and default SEO metadata
  - name: Wishlists
    description: Customer wishlists
paths:
  /api/v3/store/store:
    get:
      tags:
        - Store
      summary: Get the current store
      description: >-
        Returns the current store's name, default SEO metadata, logo, social
        accounts and customer support email, so a storefront can render its page
        metadata and structured data. Translated fields use the requested
        locale; one without a translation falls back to the store's default
        locale.
      parameters:
        - name: x-spree-api-key
          in: header
          required: true
          schema:
            type: string
        - name: x-spree-locale
          in: header
          required: false
          description: >-
            Locale for translated values, e.g. `de`. Defaults to the store
            locale.
          schema:
            type: string
      responses:
        '200':
          description: store found
          content:
            application/json:
              example:
                id: store_UkLWZg9DAJ
                name: Spree Test Store
                seo_title: null
                meta_description: Sample store description.
                meta_keywords: null
                facebook: spreecommerce
                twitter: spreecommerce
                instagram: spreecommerce
                customer_support_email: support@example.com
                logo_url: null
              schema:
                $ref: '#/components/schemas/Store'
        '401':
          description: unauthorized
          content:
            application/json:
              example:
                error:
                  code: invalid_token
                  message: Valid API key required
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      security:
        - api_key: []
      x-codeSamples:
        - lang: javascript
          label: Spree SDK
          source: |-
            import { createClient } from '@spree/sdk'

            const client = createClient({
              baseUrl: 'https://your-store.com',
              publishableKey: '<api-key>',
            })

            const store = await client.store.get()

            const title = store.seo_title ?? store.name
            const description = store.meta_description
components:
  schemas:
    Store:
      type: object
      properties:
        id:
          type: string
        name:
          type: string
        seo_title:
          type: string
          nullable: true
        meta_description:
          type: string
          nullable: true
        meta_keywords:
          type: string
          nullable: true
        facebook:
          type: string
          nullable: true
          description: 'Facebook page, as entered by the merchant: a handle or a full URL.'
        twitter:
          type: string
          nullable: true
          description: >-
            X (Twitter) account, as entered by the merchant: a handle or a full
            URL.
        instagram:
          type: string
          nullable: true
          description: >-
            Instagram account, as entered by the merchant: a handle or a full
            URL.
        customer_support_email:
          type: string
          nullable: true
        logo_url:
          type: string
          nullable: true
      required:
        - id
        - name
        - seo_title
        - meta_description
        - meta_keywords
        - facebook
        - twitter
        - instagram
        - customer_support_email
        - logo_url
      x-typelizer: true
    ErrorResponse:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
              example: record_not_found
            message:
              type: string
              example: Record not found
            details:
              type: object
              description: Field-specific validation errors
              nullable: true
              example:
                name:
                  - is too short
                  - is required
                email:
                  - is invalid
          required:
            - code
            - message
      required:
        - error
      example:
        error:
          code: validation_error
          message: Validation failed
          details:
            name:
              - is too short
            email:
              - is invalid
  securitySchemes:
    api_key:
      type: apiKey
      name: x-spree-api-key
      in: header
      description: Publishable API key for store access

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.