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

# Store Info

> Retorna informações básicas da loja, incluindo tema, cores, logo e redes sociais.



## OpenAPI

````yaml /openapi/storefront-store.yaml get /webstore
openapi: 3.1.0
info:
  title: CentralCart Storefront API (Loja)
  version: 1.0.0
  description: >-
    Dados públicos de identidade e configuração da loja. Nenhum destes endpoints
    exige autenticação. A loja é resolvida pelo header `x-store-domain`.
servers:
  - url: https://api.centralcart.io/v1
    description: Produção
security: []
paths:
  /webstore:
    get:
      tags:
        - Loja
      summary: Store Info
      description: >-
        Retorna informações básicas da loja, incluindo tema, cores, logo e redes
        sociais.
      operationId: getStoreInfo
      parameters:
        - $ref: '#/components/parameters/StoreDomain'
      responses:
        '200':
          description: Informações da loja
          content:
            application/json:
              schema:
                type: object
                properties:
                  store:
                    type: object
                    description: Dados básicos da loja.
                    properties:
                      name:
                        type: string
                        description: Nome da loja
                      type:
                        type: string
                        description: >-
                          Tipo da loja (`STANDALONE`, `MINECRAFT`, `FIVEM`,
                          `REDM`, `GTA-SA`, `HYTALE`)
                        enum:
                          - STANDALONE
                          - MINECRAFT
                          - FIVEM
                          - REDM
                          - GTA-SA
                          - HYTALE
                      currency:
                        type: string
                        description: Moeda (`BRL`, `USD`, `EUR`)
                        enum:
                          - BRL
                          - USD
                          - EUR
                      auth:
                        type: boolean
                        description: Se a loja exige autenticação
                      require_document:
                        type: boolean
                        description: Se exige documento do cliente
                      require_phone:
                        type: boolean
                        description: >-
                          Se exige telefone do cliente. Equivale a `phone_mode`
                          diferente de `DISABLED`.
                      phone_mode:
                        type: string
                        description: Modo do telefone (`DISABLED`, `OPTIONAL`, `REQUIRED`)
                        enum:
                          - DISABLED
                          - OPTIONAL
                          - REQUIRED
                      discord_mode:
                        type: string
                        description: >-
                          Modo do Discord (`DISABLED`, `OPTIONAL`, `REQUIRED`).
                          Só assume um valor diferente de `DISABLED` quando a
                          loja tem um servidor Discord vinculado.
                        enum:
                          - DISABLED
                          - OPTIONAL
                          - REQUIRED
                      require_address:
                        type: boolean
                        description: Se exige endereço do cliente
                      maintenance:
                        type: boolean
                        description: Se a loja está em manutenção
                      business:
                        type: object
                        description: Dados empresariais (email, cnpj, nome)
                      active_domain:
                        type: string
                        description: Domínio ativo da loja
                  theme:
                    type: object
                    description: Configurações visuais do tema.
                    properties:
                      primary_color:
                        type: string
                        description: 'Cor primária em hex (ex: `#ff0000`)'
                      secondary_color:
                        type: string
                        description: 'Cor secundária em hex (ex: `#00c9ff`)'
                      logo:
                        type: string
                        nullable: true
                        description: URL do logo da loja
                      favicon:
                        type: string
                        nullable: true
                        description: URL do favicon
                      description:
                        type: string
                        nullable: true
                        description: Descrição da loja (meta description)
                  socials:
                    type: object
                    description: Links das redes sociais da loja.
                    properties:
                      instagram:
                        type: string
                        nullable: true
                        description: Link do Instagram
                      twitter:
                        type: string
                        nullable: true
                        description: Link do Twitter/X
                      discord:
                        type: string
                        nullable: true
                        description: Link do Discord
                      youtube:
                        type: string
                        nullable: true
                        description: Link do YouTube
                      facebook:
                        type: string
                        nullable: true
                        description: Link do Facebook
                      tiktok:
                        type: string
                        nullable: true
                        description: Link do TikTok
                      whatsapp:
                        type: string
                        nullable: true
                        description: Link do WhatsApp
                      telegram:
                        type: string
                        nullable: true
                        description: Link do Telegram
              example:
                store:
                  name: Demo
                  type: STANDALONE
                  require_document: false
                  require_address: false
                  require_phone: false
                  maintenance: false
                  auth: true
                  currency: BRL
                  business:
                    cnpj: null
                    name: null
                    email: contato@minhaloja.com
                  active_domain: https://minhaloja.centralcart.com
                  phone_mode: DISABLED
                  discord_mode: DISABLED
                theme:
                  primary_color: '#ff0000'
                  secondary_color: '#00c9ff'
                  logo: https://cdn.centralcart.io/stores/1/theme/logo.png
                  favicon: https://cdn.centralcart.io/stores/1/theme/favicon.png
                  description: Descrição da loja.
                socials:
                  instagram: https://instagram.com/minhaloja
                  twitter: null
                  discord: https://discord.gg/minhaloja
                  youtube: null
                  facebook: null
                  tiktok: null
                  whatsapp: null
                  telegram: null
        '404':
          $ref: '#/components/responses/StoreNotFound'
      security: []
components:
  parameters:
    StoreDomain:
      name: x-store-domain
      in: header
      required: true
      description: 'Domínio da sua loja (ex: sualoja.centralcart.ai)'
      schema:
        type: string
  responses:
    StoreNotFound:
      description: Loja não encontrada para o `x-store-domain` informado
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            errors:
              - message: Store not found.
  schemas:
    Error:
      type: object
      properties:
        errors:
          type: array
          items:
            type: object
            properties:
              message:
                type: string
              code:
                type: string
              ref:
                type: string

````