> ## 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.

# Apply Vendor



## OpenAPI

````yaml /openapi.json post /api/vendors/apply
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/apply:
    post:
      tags:
        - Vendors
      summary: Apply Vendor
      operationId: apply_vendor_api_vendors_apply_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/VendorApplyRequest'
        required: true
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBearer: []
components:
  schemas:
    VendorApplyRequest:
      properties:
        company_name:
          type: string
          title: Company Name
        company_tax_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Company Tax Id
        contact_name:
          type: string
          title: Contact Name
        email:
          type: string
          title: Email
        phone:
          type: string
          title: Phone
        counties:
          items:
            type: string
          type: array
          title: Counties
        license_note:
          anyOf:
            - type: string
            - type: 'null'
          title: License Note
        logo_url:
          anyOf:
            - type: string
            - type: 'null'
          title: Logo Url
      type: object
      required:
        - company_name
        - contact_name
        - email
        - phone
        - counties
      title: VendorApplyRequest
    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
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer

````