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

# Novo Lojista (Tenant)

> Realiza a montagem de um novo espaço de loja no sistema OmniDom.

### Body

<ParamField body="name" type="string" required>Identificador canônico ou slug único de uso interno/URL.</ParamField>
<ParamField body="brandName" type="string">Opcional. Nome Fantasia de exibição.</ParamField>
<ParamField body="document" type="string">Opcional. CPF ou CNPJ.</ParamField>
<ParamField body="plan" type="string" required>Plano selecionado na adesão (ex: `STARTER`, `ENTERPRISE`).</ParamField>
<ParamField body="email" type="string">E-mail administrativo da conta base.</ParamField>

### Response

<ResponseExample>
  ```json Response theme={null}
  {
    "id": "e305e9a4-585e-49b8-bc88-9fba992c6326",
    "name": "loja123",
    "brandName": "Loja 123 Ltda",
    "plan": "STARTER"
  }
  ```
</ResponseExample>


## OpenAPI

````yaml post /tenants
openapi: 3.0.0
info:
  title: Hub Marketplace API
  description: API for managing marketplace listings and keys
  version: '1.0'
  contact: {}
servers: []
security: []
tags:
  - name: listings
    description: ''
paths:
  /tenants:
    post:
      tags:
        - Tenants
      operationId: TenantsController_create
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateTenantDto'
      responses:
        '201':
          description: ''
components:
  schemas:
    CreateTenantDto:
      type: object
      properties: {}

````