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

# Get Theme

> Public read of merchant identity + theme.

Returns 404 if `X-Site-ID` is missing or doesn't match an active
merchant. No rate limiting (the SPA hits this once per page load
on a fixed Stella subdomain — abuse risk is low).



## OpenAPI

````yaml /api-reference/openapi.json get /api/storefront/theme
openapi: 3.1.0
info:
  title: Agentic Commerce API
  description: |2-

        Agentic Commerce API - E-commerce Backend

        ## APIs

        ### Dashboard API (`/api/dashboard`)
        Authenticated endpoints for merchant management:
        - Products, Variants, Options
        - Inventory management
        - Orders and fulfillment
        - Customers
        - Collections

        ### Storefront API (`/api/storefront`)
        Public endpoints for client websites:
        - Product catalog
        - Collections
        - Cart management
        - Checkout

        ### Sync API (`/api/sync`)
        Integration endpoints for zunkiree-search:
        - Product sync
        - Availability checks
        - Order creation from AI widget
        
  version: 1.0.0
servers: []
security: []
paths:
  /api/storefront/theme:
    get:
      tags:
        - Storefront
        - Storefront Theme
      summary: Get Theme
      description: |-
        Public read of merchant identity + theme.

        Returns 404 if `X-Site-ID` is missing or doesn't match an active
        merchant. No rate limiting (the SPA hits this once per page load
        on a fixed Stella subdomain — abuse risk is low).
      operationId: get_theme_api_storefront_theme_get
      parameters:
        - name: X-Site-ID
          in: header
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: X-Site-Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StorefrontThemeResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    StorefrontThemeResponse:
      properties:
        site_id:
          type: string
          title: Site Id
        name:
          type: string
          title: Name
        currency:
          type: string
          title: Currency
        logo_url:
          anyOf:
            - type: string
            - type: 'null'
          title: Logo Url
        primary_color:
          anyOf:
            - type: string
            - type: 'null'
          title: Primary Color
        background_color:
          anyOf:
            - type: string
            - type: 'null'
          title: Background Color
        font:
          anyOf:
            - type: string
            - type: 'null'
          title: Font
        extra:
          additionalProperties: true
          type: object
          title: Extra
          default: {}
      type: object
      required:
        - site_id
        - name
        - currency
      title: StorefrontThemeResponse
      description: |-
        Per-merchant identity + branding payload.

        `extra` carries any non-canonical keys merchants stored in
        `merchants.checkout_theme` so future fields (custom CSS variables,
        font URLs, etc.) round-trip without schema changes.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError

````