> ## Documentation Index
> Fetch the complete documentation index at: https://solarium-1f74f072.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Vendor Detail



## OpenAPI

````yaml /openapi.json get /api/vendors/{vendor_id}
openapi: 3.1.0
info:
  title: Solar Money API
  version: 0.1.0
  description: >-
    Rooftop solar assessment API — buildings, shadows, climate, assessments, and
    vendor matching.
servers:
  - url: https://solarmoney.up.railway.app
    description: Production
security: []
tags:
  - name: Admin
    description: Admin-only operations (JWT or X-Admin-Secret)
  - name: Assessments
    description: Anonymous and authenticated assessment records
  - name: Authentication
    description: User registration and login
  - name: Buildings
    description: Building footprint queries (GBA DB → fallback → OSM)
  - name: Health
    description: Service health checks
  - name: Places
    description: Address autocomplete and geocoding proxies
  - name: Shadows
    description: Shadow geometry and usable roof area
  - name: Terrain & Climate
    description: DEM tiles, township climate, and tilt optimization
  - name: User Account
    description: Endpoints for logged-in users (JWT required)
  - name: Vendors
    description: Vendor listings, applications, and inquiries
paths:
  /api/vendors/{vendor_id}:
    get:
      tags:
        - Vendors
      summary: Vendor Detail
      operationId: vendor_detail_api_vendors__vendor_id__get
      parameters:
        - name: vendor_id
          in: path
          required: true
          schema:
            type: string
            title: Vendor Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/VendorDetailResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    VendorDetailResponse:
      properties:
        id:
          type: string
          title: Id
        name:
          type: string
          title: Name
        counties:
          items:
            type: string
          type: array
          title: Counties
        portfolioTitle:
          type: string
          title: Portfoliotitle
        portfolioMeta:
          type: string
          title: Portfoliometa
        capacityKw:
          type: number
          title: Capacitykw
        rating:
          type: number
          title: Rating
        reviewCount:
          type: integer
          title: Reviewcount
        phone:
          type: string
          title: Phone
        email:
          type: string
          title: Email
        tags:
          items:
            type: string
          type: array
          title: Tags
        logoUrl:
          anyOf:
            - type: string
            - type: 'null'
          title: Logourl
        approved:
          type: boolean
          title: Approved
        subscriptionStatus:
          type: string
          title: Subscriptionstatus
        portfolios:
          items:
            $ref: '#/components/schemas/VendorPortfolioResponse'
          type: array
          title: Portfolios
      type: object
      required:
        - id
        - name
        - counties
        - portfolioTitle
        - portfolioMeta
        - capacityKw
        - rating
        - reviewCount
        - phone
        - email
        - tags
        - approved
        - subscriptionStatus
        - portfolios
      title: VendorDetailResponse
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    VendorPortfolioResponse:
      properties:
        id:
          type: string
          title: Id
        title:
          type: string
          title: Title
        meta:
          type: string
          title: Meta
        capacityKw:
          type: number
          title: Capacitykw
        completedYear:
          anyOf:
            - type: integer
            - type: 'null'
          title: Completedyear
        isFeatured:
          type: boolean
          title: Isfeatured
      type: object
      required:
        - id
        - title
        - meta
        - capacityKw
        - isFeatured
      title: VendorPortfolioResponse
    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

````