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

# What a vendor supplies — their part number, price, lead time and minimum order, with what we

> hold of each.

The same rows api.part_suppliers serves, read from the vendor rather than the part. `is_active` is
the supply arrangement's, `part_is_active` the part's: a live vendor link to a retired part is
worth seeing rather than hiding.



## OpenAPI

````yaml /api-reference/openapi.json get /vendor_parts
openapi: 3.0.0
info:
  description: ''
  title: >-
    The only schema PostgREST exposes. Reads are security_invoker views; writes
    are SECURITY DEFINER functions. Rebuilt wholesale on every deploy — it holds
    no data.
  version: 12.2.3
servers:
  - url: https://app.assetinfinity.ai/api
security: []
tags:
  - name: Signing in
  - name: Profile
  - name: Assets
  - name: Asset lifecycle
  - name: Work lifecycle
  - name: Maintenance
  - name: Inventory
  - name: Inventory detail
  - name: Procurement
  - name: Contracts
  - name: Workforce
  - name: Capacity
  - name: Dispatch
  - name: Tools
  - name: Inspections
  - name: Verification
  - name: Reliability
  - name: Parts demand
  - name: Sensors and meters
  - name: Map
  - name: Floor plans
  - name: Labels
  - name: Lost and found
  - name: Root cause analysis
  - name: Reports
  - name: Audit center
  - name: Activity
  - name: Notifications
  - name: Channels
  - name: Search
  - name: Copilot
  - name: Import
  - name: Files
  - name: Sync
  - name: Support
  - name: Admin
  - name: Access
  - name: Lookups
  - name: Read models
  - name: Branding
  - name: Custom fields
  - name: Form studio
  - name: Workflows
  - name: Workflow studio
  - name: Rules
  - name: Statuses and transitions
  - name: Currencies and locales
  - name: Work configuration
  - name: Asset configuration
  - name: Inventory configuration
  - name: Tool configuration
  - name: Workforce configuration
  - name: Vendor and contract configuration
  - name: Document configuration
  - name: Inspection configuration
  - name: Sites, locations and the organisation
  - name: Platform
  - name: Amendments
  - name: Asset clone
  - name: Asset components
  - name: Asset register
  - name: Asset transfer
  - name: Audit feed
  - name: Billing
  - name: Bookings
  - name: Budgets
  - name: Bulk jobs
  - name: Calibration history
  - name: Capex plans
  - name: Conversations
  - name: Costing
  - name: Currency
  - name: Dashboards
  - name: Directory sync
  - name: Document control
  - name: Document folders
  - name: Document tree
  - name: Documents
  - name: Energy
  - name: Extracts
  - name: Features
  - name: Feeds
  - name: File exchange
  - name: Filing exceptions
  - name: Finance
  - name: Inbound mail
  - name: Keys
  - name: Knowledge
  - name: Licence
  - name: List views
  - name: Locations
  - name: Mapping
  - name: Mcp
  - name: Mcp oauth
  - name: Mfa
  - name: Numbering
  - name: Permits
  - name: Readers
  - name: Reference
  - name: Reference columns
  - name: Reference entry
  - name: Release
  - name: Scim
  - name: Security streams
  - name: Self verification
  - name: Setup
  - name: Shutdown
  - name: Sso
  - name: Telegram
  - name: Tenant switch
  - name: The caller's own work
  - name: The checklist library
  - name: Tools on a job, and who has them out
  - name: Tray
  - name: Vendor spend forecast
  - name: Vendors and contracts
  - name: Visitors
  - name: Work order execution
  - name: Work sequencing
  - name: Workforce detail
externalDocs:
  description: PostgREST Documentation
  url: https://postgrest.org/en/v12/references/api.html
paths:
  /vendor_parts:
    get:
      tags:
        - Vendors and contracts
      summary: >-
        What a vendor supplies — their part number, price, lead time and minimum
        order, with what we
      description: >-
        hold of each.


        The same rows api.part_suppliers serves, read from the vendor rather
        than the part. `is_active` is

        the supply arrangement's, `part_is_active` the part's: a live vendor
        link to a retired part is

        worth seeing rather than hiding.
      parameters:
        - $ref: '#/components/parameters/rowFilter.vendor_parts.id'
        - $ref: '#/components/parameters/rowFilter.vendor_parts.vendor_id'
        - $ref: '#/components/parameters/rowFilter.vendor_parts.part_id'
        - $ref: '#/components/parameters/rowFilter.vendor_parts.part_number'
        - $ref: '#/components/parameters/rowFilter.vendor_parts.part_name'
        - $ref: '#/components/parameters/rowFilter.vendor_parts.part_is_active'
        - $ref: '#/components/parameters/rowFilter.vendor_parts.supplier_part_number'
        - $ref: '#/components/parameters/rowFilter.vendor_parts.is_preferred'
        - $ref: '#/components/parameters/rowFilter.vendor_parts.unit_price'
        - $ref: >-
            #/components/parameters/rowFilter.vendor_parts.unit_price_currency_id
        - $ref: '#/components/parameters/rowFilter.vendor_parts.lead_time_days'
        - $ref: >-
            #/components/parameters/rowFilter.vendor_parts.minimum_order_quantity
        - $ref: '#/components/parameters/rowFilter.vendor_parts.order_multiple'
        - $ref: '#/components/parameters/rowFilter.vendor_parts.last_purchased_on'
        - $ref: '#/components/parameters/rowFilter.vendor_parts.is_active'
        - $ref: '#/components/parameters/rowFilter.vendor_parts.on_hand_quantity'
        - $ref: '#/components/parameters/rowFilter.vendor_parts.available_quantity'
        - $ref: '#/components/parameters/rowFilter.vendor_parts.reorder_point'
        - $ref: >-
            #/components/parameters/rowFilter.vendor_parts.at_or_below_reorder_point
        - $ref: '#/components/parameters/rowFilter.vendor_parts.row_version'
        - $ref: '#/components/parameters/select'
        - $ref: '#/components/parameters/order'
        - $ref: '#/components/parameters/range'
        - $ref: '#/components/parameters/rangeUnit'
        - $ref: '#/components/parameters/offset'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/preferCount'
      responses:
        '200':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/vendor_parts'
                type: array
            application/vnd.pgrst.object+json:
              schema:
                items:
                  $ref: '#/components/schemas/vendor_parts'
                type: array
            application/vnd.pgrst.object+json;nulls=stripped:
              schema:
                items:
                  $ref: '#/components/schemas/vendor_parts'
                type: array
            text/csv:
              schema:
                items:
                  $ref: '#/components/schemas/vendor_parts'
                type: array
          description: OK
        '206':
          description: Partial Content
components:
  parameters:
    rowFilter.vendor_parts.id:
      in: query
      name: id
      required: false
      schema:
        type: string
    rowFilter.vendor_parts.vendor_id:
      in: query
      name: vendor_id
      required: false
      schema:
        type: string
    rowFilter.vendor_parts.part_id:
      in: query
      name: part_id
      required: false
      schema:
        type: string
    rowFilter.vendor_parts.part_number:
      in: query
      name: part_number
      required: false
      schema:
        type: string
    rowFilter.vendor_parts.part_name:
      in: query
      name: part_name
      required: false
      schema:
        type: string
    rowFilter.vendor_parts.part_is_active:
      in: query
      name: part_is_active
      required: false
      schema:
        type: string
    rowFilter.vendor_parts.supplier_part_number:
      in: query
      name: supplier_part_number
      required: false
      schema:
        type: string
    rowFilter.vendor_parts.is_preferred:
      in: query
      name: is_preferred
      required: false
      schema:
        type: string
    rowFilter.vendor_parts.unit_price:
      in: query
      name: unit_price
      required: false
      schema:
        type: string
    rowFilter.vendor_parts.unit_price_currency_id:
      in: query
      name: unit_price_currency_id
      required: false
      schema:
        type: string
    rowFilter.vendor_parts.lead_time_days:
      in: query
      name: lead_time_days
      required: false
      schema:
        type: string
    rowFilter.vendor_parts.minimum_order_quantity:
      in: query
      name: minimum_order_quantity
      required: false
      schema:
        type: string
    rowFilter.vendor_parts.order_multiple:
      in: query
      name: order_multiple
      required: false
      schema:
        type: string
    rowFilter.vendor_parts.last_purchased_on:
      in: query
      name: last_purchased_on
      required: false
      schema:
        type: string
    rowFilter.vendor_parts.is_active:
      in: query
      name: is_active
      required: false
      schema:
        type: string
    rowFilter.vendor_parts.on_hand_quantity:
      in: query
      name: on_hand_quantity
      required: false
      schema:
        type: string
    rowFilter.vendor_parts.available_quantity:
      in: query
      name: available_quantity
      required: false
      schema:
        type: string
    rowFilter.vendor_parts.reorder_point:
      in: query
      name: reorder_point
      required: false
      schema:
        type: string
    rowFilter.vendor_parts.at_or_below_reorder_point:
      in: query
      name: at_or_below_reorder_point
      required: false
      schema:
        type: string
    rowFilter.vendor_parts.row_version:
      in: query
      name: row_version
      required: false
      schema:
        type: string
    select:
      description: Filtering Columns
      in: query
      name: select
      required: false
      schema:
        type: string
    order:
      description: Ordering
      in: query
      name: order
      required: false
      schema:
        type: string
    range:
      description: Limiting and Pagination
      in: header
      name: Range
      required: false
      schema:
        type: string
    rangeUnit:
      description: Limiting and Pagination
      in: header
      name: Range-Unit
      required: false
      schema:
        default: items
        type: string
    offset:
      description: Limiting and Pagination
      in: query
      name: offset
      required: false
      schema:
        type: string
    limit:
      description: Limiting and Pagination
      in: query
      name: limit
      required: false
      schema:
        type: string
    preferCount:
      description: Preference
      in: header
      name: Prefer
      required: false
      schema:
        enum:
          - count=none
        type: string
  schemas:
    vendor_parts:
      description: >-
        What a vendor supplies — their part number, price, lead time and minimum
        order, with what we

        hold of each.


        The same rows api.part_suppliers serves, read from the vendor rather
        than the part. `is_active` is

        the supply arrangement's, `part_is_active` the part's: a live vendor
        link to a retired part is

        worth seeing rather than hiding.
      properties:
        at_or_below_reorder_point:
          format: boolean
          type: boolean
        available_quantity:
          format: numeric
          type: number
        id:
          description: |-
            Note:
            This is a Primary Key.<pk/>
          format: uuid
          type: string
        is_active:
          format: boolean
          type: boolean
        is_preferred:
          format: boolean
          type: boolean
        last_purchased_on:
          format: date
          type: string
        lead_time_days:
          format: integer
          type: integer
        minimum_order_quantity:
          format: numeric
          type: number
        on_hand_quantity:
          format: numeric
          type: number
        order_multiple:
          format: numeric
          type: number
        part_id:
          description: >-
            Note:

            This is a Foreign Key to `inventory_available.part_id`.<fk
            table='inventory_available' column='part_id'/>
          format: uuid
          type: string
        part_is_active:
          format: boolean
          type: boolean
        part_name:
          format: character varying
          maxLength: 250
          type: string
        part_number:
          format: character varying
          maxLength: 80
          type: string
        reorder_point:
          format: numeric
          type: number
        row_version:
          format: bigint
          type: integer
        supplier_part_number:
          format: character varying
          maxLength: 120
          type: string
        unit_price:
          format: numeric
          type: number
        unit_price_currency_id:
          description: >-
            Note:

            This is a Foreign Key to `asset_cost_to_keep.currency_id`.<fk
            table='asset_cost_to_keep' column='currency_id'/>
          format: uuid
          type: string
        vendor_id:
          description: >-
            Note:

            This is a Foreign Key to `assignable_vendors.id`.<fk
            table='assignable_vendors' column='id'/>
          format: uuid
          type: string
      type: object

````