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

# List Tenant Languages

> Admin: le lingue disponibili, con attive/predefinita di QUESTO negozio.

Un negozio senza righe in `tenant_languages` (creato dopo la migrazione
c6d7e8f9a0b1, che ha fatto il backfill solo sui tenant di allora) vede
tutto `is_active: false`. È coerente con ciò che serve il pubblico, che in
quel caso ripiega sul catalogo: qui l'operatore vede che non ha ancora
scelto, e il primo salvataggio fissa la selezione.



## OpenAPI

````yaml https://api.vellaro.io/openapi/admin.json get /api/v1/admin/tenant-languages
openapi: 3.1.0
info:
  title: Vellaro Admin API
  description: >-
    Store management under `/api/v1/admin`, for back ends and integrations.
    Every call takes `Authorization: Bearer <token>`: an admin API token or a
    staff user's token. The permissions of its role decide what it can do,
    always in its own store.
  version: 0.1.0
servers:
  - url: https://api.vellaro.io
    description: Produzione
security: []
tags:
  - name: Orders
    description: >-
      Orders and manual orders, payments, refunds, shipments, invoices, returns,
      customer subscriptions.
  - name: Products
    description: Products, variants, images, prices and discounts, product lookups.
  - name: Categories & catalog setup
    description: >-
      Categories, brands, attributes, options, filters, downloadable files,
      recurring profiles.
  - name: Inventory
    description: Stock of the variants and stock statuses.
  - name: Customers
    description: Customers, customer groups, custom fields.
  - name: Reviews & questions
    description: Moderation of product reviews and questions.
  - name: Promotions & coupons
    description: Coupons and gift vouchers.
  - name: Marketing
    description: Campaigns, newsletter subscribers, affiliates and their commissions.
  - name: Content
    description: >-
      CMS pages, menus, banners, information pages, flipbooks, media library,
      SEO URLs, email templates, translations.
  - name: Settings
    description: >-
      Store settings, email delivery, languages, currencies, physical stores,
      social login providers.
  - name: Shipping
    description: Couriers, shipping rates, weight and length classes.
  - name: Taxes & geo
    description: Tax classes, rates and rules; countries, zones and geo zones.
  - name: Integrations & modules
    description: >-
      Integrations, plugins and modules (Iute, extra warranty, Nextera, Financa
      5, WhatsApp, Firebase), outbound webhooks.
  - name: AI
    description: AI content generation and the settings of the AI shopping assistant.
  - name: Imports
    description: 'CSV imports and the universal import: runs, mappings, previews, undo.'
  - name: Reports & dashboard
    description: Dashboard figures and reports.
  - name: Users & API keys
    description: Staff users and roles, publishable keys, admin API tokens.
  - name: Audit
    description: The store's audit log.
paths:
  /api/v1/admin/tenant-languages:
    get:
      tags:
        - Settings
      summary: List Tenant Languages
      description: >-
        Admin: le lingue disponibili, con attive/predefinita di QUESTO negozio.


        Un negozio senza righe in `tenant_languages` (creato dopo la migrazione

        c6d7e8f9a0b1, che ha fatto il backfill solo sui tenant di allora) vede

        tutto `is_active: false`. È coerente con ciò che serve il pubblico, che
        in

        quel caso ripiega sul catalogo: qui l'operatore vede che non ha ancora

        scelto, e il primo salvataggio fissa la selezione.
      operationId: list_tenant_languages_api_v1_admin_tenant_languages_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiResponse_list_TenantLanguageOut__'
      security:
        - HTTPBearer: []
components:
  schemas:
    ApiResponse_list_TenantLanguageOut__:
      properties:
        data:
          anyOf:
            - items:
                $ref: '#/components/schemas/TenantLanguageOut'
              type: array
            - type: 'null'
          title: Data
        meta:
          anyOf:
            - $ref: '#/components/schemas/PaginationMeta'
            - type: 'null'
        error:
          anyOf:
            - type: string
            - type: 'null'
          title: Error
        error_code:
          anyOf:
            - type: string
            - type: 'null'
          title: Error Code
      type: object
      title: ApiResponse[list[TenantLanguageOut]]
    TenantLanguageOut:
      properties:
        code:
          type: string
          title: Code
        name:
          type: string
          title: Name
        locale:
          type: string
          title: Locale
        flag_icon:
          anyOf:
            - type: string
            - type: 'null'
          title: Flag Icon
        is_active:
          type: boolean
          title: Is Active
        is_default:
          type: boolean
          title: Is Default
        sort_order:
          type: integer
          title: Sort Order
      type: object
      required:
        - code
        - name
        - locale
        - flag_icon
        - is_active
        - is_default
        - sort_order
      title: TenantLanguageOut
      description: |-
        Una lingua del catalogo di piattaforma, vista dal negozio corrente.

        `is_active` / `is_default` / `sort_order` sono del NEGOZIO (tabella
        `tenant_languages`), non del catalogo: sono esattamente i tre valori che
        l'admin del negozio può cambiare.
    PaginationMeta:
      properties:
        page:
          type: integer
          title: Page
        page_size:
          type: integer
          title: Page Size
        total:
          type: integer
          title: Total
        total_pages:
          type: integer
          title: Total Pages
      type: object
      required:
        - page
        - page_size
        - total
        - total_pages
      title: PaginationMeta
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer

````

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