TenetOS API

REST API for ordering PCB assembly from Tenet: create and manage orders, upload and map BOMs, choose sourcing lines, attach Gerber and pick-and-place files, render boards, pay, and track purchases and shipments, plus API keys, members and shipping addresses.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 32

GET /auth/api-keys Api Keys #
POST /auth/api-keys New Api Key #
DELETE /auth/api-keys/{key_id} Remove Api Key #
GET /auth/members Members #
GET /auth/addresses Addresses #
POST /auth/addresses Add Address #
PUT /auth/addresses/{pk}/primary Set Primary #
DELETE /auth/addresses/{pk} Remove Address #
GET /sourcing/bom/template Bom Template #
POST /sourcing/bom/format Bom Format #
POST /sourcing/bom/columns Bom Columns #
POST /sourcing/orders Create Order #
GET /sourcing/orders Orders #
DELETE /sourcing/orders/{number} Delete Order #
PUT /sourcing/orders/{number} Set Order #
GET /sourcing/orders/{number} Get Order #
GET /sourcing/orders/{number}/files/{kind} Download #
POST /sourcing/orders/{number}/pay Pay #
POST /sourcing/orders/{number}/line-options/{refs} Line Options #
PUT /sourcing/orders/{number}/lines/{refs} Set Line #
DELETE /sourcing/orders/{number}/lines/{refs} Drop Line #
PUT /sourcing/orders/{number}/bom Set Bom #
GET /sourcing/orders/{number}/bom Get Bom #
PUT /sourcing/orders/{number}/bom/rows/{refs} Set Bom Row #
GET /sourcing/pcb/options Pcb Options #
PUT /sourcing/orders/{number}/gerbers Set Gerbers #
GET /sourcing/orders/{number}/render/{side} Render #
PUT /sourcing/orders/{number}/pnp Set Pnp #
GET /sourcing/orders/{number}/purchase Purchase #
GET /sourcing/orders/{number}/tracking Tracking #
GET /sourcing/stock Own Stock #
GET /sourcing/partners Partner List #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/tenet-industries:tenetos-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

tenet-industries-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: TenetOS
  version: '0'
  description: ''
  x-source: https://tenetindustries.com/api/v0/openapi.json
paths:
  /auth/api-keys:
    get:
      operationId: tenetos_api_http_api_keys
      summary: Api Keys
      parameters: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                items:
                  additionalProperties: true
                  type: object
                title: Response
                type: array
      description: List your company's API keys.
      tags:
      - Account
      x-role: Admin
    post:
      operationId: tenetos_api_http_new_api_key
      summary: New Api Key
      parameters: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                additionalProperties: true
                title: Response
                type: object
      description: Make an API key; the answer is the only place the key is shown.
      tags:
      - Account
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/NewKey'
        required: true
      x-role: Admin
  /auth/api-keys/{key_id}:
    delete:
      operationId: tenetos_api_http_remove_api_key
      summary: Remove Api Key
      parameters:
      - in: path
        name: key_id
        schema:
          title: Key Id
          type: string
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                items:
                  additionalProperties: true
                  type: object
                title: Response
                type: array
      description: Revoke an API key.
      tags:
      - Account
      x-role: Admin
  /auth/members:
    get:
      operationId: tenetos_api_http_members
      summary: Members
      parameters: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                items:
                  additionalProperties: true
                  type: object
                title: Response
                type: array
      description: List your company's members.
      tags:
      - Members
  /auth/addresses:
    get:
      operationId: tenetos_api_http_addresses
      summary: Addresses
      parameters: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                items:
                  additionalProperties: true
                  type: object
                title: Response
                type: array
      description: List your company's addresses, default first.
      tags:
      - Addresses
    post:
      operationId: tenetos_api_http_add_address
      summary: Add Address
      parameters: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                items:
                  additionalProperties: true
                  type: object
                title: Response
                type: array
      description: Add an address.
      tags:
      - Addresses
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Address'
        required: true
      x-role: Edit
  /auth/addresses/{pk}/primary:
    put:
      operationId: tenetos_api_http_set_primary
      summary: Set Primary
      parameters:
      - in: path
        name: pk
        schema:
          title: Pk
          type: string
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                items:
                  additionalProperties: true
                  type: object
                title: Response
                type: array
      description: Make an address the one orders ship to unless they name another.
      tags:
      - Addresses
      x-role: Edit
  /auth/addresses/{pk}:
    delete:
      operationId: tenetos_api_http_remove_address
      summary: Remove Address
      parameters:
      - in: path
        name: pk
        schema:
          title: Pk
          type: string
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                items:
                  additionalProperties: true
                  type: object
                title: Response
                type: array
      description: Delete an address.
      tags:
      - Addresses
      x-role: Edit
  /sourcing/bom/template:
    get:
      operationId: tenetos_api_http_bom_template
      summary: Bom Template
      parameters: []
      responses:
        '200':
          description: OK
      description: Download the BOM template.
      tags:
      - BOM files
  /sourcing/bom/format:
    post:
      operationId: tenetos_api_http_bom_format
      summary: Bom Format
      parameters: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Format'
      description: Check if a BOM matches the template.
      tags:
      - BOM files
      requestBody:
        required: true
        description: The BOM file itself, as CSV
        content:
          text/csv:
            schema:
              type: string
              format: binary
  /sourcing/bom/columns:
    post:
      operationId: tenetos_api_http_bom_columns
      summary: Bom Columns
      parameters: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Mapping'
      description: Match a BOM's columns to the template.
      tags:
      - BOM files
      requestBody:
        required: true
        description: The BOM file itself, as CSV
        content:
          text/csv:
            schema:
              type: string
              format: binary
      x-role: Edit
  /sourcing/orders:
    post:
      operationId: tenetos_api_http_create_order
      summary: Create Order
      parameters: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Order'
      description: Create a complete draft order.
      tags:
      - Orders
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/NewOrder'
        required: true
      x-role: Edit
    get:
      operationId: tenetos_api_http_orders
      summary: Orders
      parameters:
      - in: query
        name: query
        schema:
          default: ''
          maxLength: 200
          title: Query
          type: string
        required: false
      - in: query
        name: limit
        schema:
          default: 50
          description: Maximum results per page
          maximum: 100
          minimum: 1
          title: Limit
          type: integer
        required: false
        description: Maximum results per page
      - in: query
        name: offset
        schema:
          default: 0
          description: The previous response's next_offset, or zero to start
          minimum: 0
          title: Offset
          type: integer
        required: false
        description: The previous response's next_offset, or zero to start
      - in: query
        name: direction
        schema:
          default: desc
          enum:
          - asc
          - desc
          title: Direction
          type: string
        required: false
      - in: query
        name: status
        schema:
          items:
            description: 'Where an order stands: a draft, paid, shipped once its sales
              order is completed.'
            enum:
            - draft
            - paid
            - shipped
            title: Status
            type: string
          title: Status
          type: array
        required: false
      - in: query
        name: kind
        schema:
          anyOf:
          - enum:
            - boards
            - parts only
            type: string
          - type: 'null'
          title: Kind
        required: false
      - in: query
        name: created_from
        schema:
          anyOf:
          - format: date
            type: string
          - type: 'null'
          title: Created From
        required: false
      - in: query
        name: created_to
        schema:
          anyOf:
          - format: date
            type: string
          - type: 'null'
          title: Created To
        required: false
      - in: query
        name: sort
        schema:
          default: created
          enum:
          - created
          - name
          - status
          - total
          - number
          - boards
          title: Sort
          type: string
        required: false
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Orders'
      description: Search all supported orders within the caller's company.
      tags:
      - Orders
  /sourcing/orders/{number}:
    delete:
      operationId: tenetos_api_http_delete_order
      summary: Delete Order
      parameters:
      - in: path
        name: number
        schema:
          title: Number
          type: string
        required: true
      responses:
        '200':
          description: OK
      description: Delete an order that isn't in production.
      tags:
      - Orders
      x-role: Admin
    put:
      operationId: tenetos_api_http_set_order
      summary: Set Order
      parameters:
      - in: path
        name: number
        schema:
          title: Number
          type: string
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Order'
      description: Save the complete reviewed edit under one lock.
      tags:
      - Orders
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/OrderChanges'
        required: true
      x-role: Edit
    get:
      operationId: tenetos_api_http_get_order
      summary: Get Order
      parameters:
      - in: path
        name: number
        schema:
          title: Number
          type: string
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Order'
      description: Get an order with its lines and totals.
      tags:
      - Orders
  /sourcing/orders/{number}/files/{kind}:
    get:
      operationId: tenetos_api_http_download
      summary: Download
      parameters:
      - in: path
        name: number
        schema:
          title: Number
          type: string
        required: true
      - in: path
        name: kind
        schema:
          enum:
          - gerbers
          - bom
          - pnp
          title: Kind
          type: string
        required: true
      responses:
        '200':
          description: OK
      description: Download an owned order's uploaded file.
      tags:
      - Orders
  /sourcing/orders/{number}/pay:
    post:
      operationId: tenetos_api_http_pay
      summary: Pay
      parameters:
      - in: path
        name: number
        schema:
          title: Number
          type: string
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Order'
      description: 'Order the draft at the total it shows, to be paid by invoice.
        Only a person signed in to the app can.


        A ready draft read with pricing true is having its prices asked for a quote,
        which it shows and pays as shown for 2 hours while it

        buys the same; else prices are asked now. Prices totalling other than the
        total sent order nothing: 409 price_changed, with the

        order at its new total. A ship day later than the lead_days sent orders nothing
        either: 409 ship_day_changed, with the order at

        its new lead time.'
      tags:
      - Orders
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Payment'
        required: true
      x-role: Edit
  /sourcing/orders/{number}/line-options/{refs}:
    post:
      operationId: tenetos_api_http_line_options
      summary: Line Options
      parameters:
      - in: path
        name: number
        schema:
          title: Number
          type: string
        required: true
      - in: path
        name: refs
        schema:
          title: Refs
          type: string
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/Option'
                title: Response
                type: array
      description: List available packaging prices and received quantities for a declared
        selection.
      tags:
      - Lines and BOM
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/LineRequest'
        required: true
  /sourcing/orders/{number}/lines/{refs}:
    put:
      operationId: tenetos_api_http_set_line
      summary: Set Line
      parameters:
      - in: path
        name: number
        schema:
          title: Number
          type: string
        required: true
      - in: path
        name: refs
        schema:
          title: Refs
          type: string
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Order'
      description: Pick an offer for a BOM line. On a parts-only order, qty_per_board
        is the pieces bought.
      tags:
      - Lines and BOM
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/LineRequest'
        required: true
      x-role: Edit
    delete:
      operationId: tenetos_api_http_drop_line
      summary: Drop Line
      parameters:
      - in: path
        name: number
        schema:
          title: Number
          type: string
        required: true
      - in: path
        name: refs
        schema:
          title: Refs
          type: string
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Order'
      description: Remove a line.
      tags:
      - Lines and BOM
      x-role: Edit
  /sourcing/orders/{number}/bom:
    put:
      operationId: tenetos_api_http_set_bom
      summary: Set Bom
      parameters:
      - in: path
        name: number
        schema:
          title: Number
          type: string
        required: true
      responses:
        '200':
          description: OK
      description: 'Upload a BOM, optionally streaming its progress as NDJSON: the
        rows and seconds likely left, each row as it is looked up, the BOM.'
      tags:
      - Lines and BOM
      requestBody:
        required: true
        description: The BOM file itself, as CSV
        content:
          text/csv:
            schema:
              type: string
              format: binary
      x-role: Edit
    get:
      operationId: tenetos_api_http_get_bom
      summary: Get Bom
      parameters:
      - in: path
        name: number
        schema:
          title: Number
          type: string
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Bom'
      description: Get the BOM with offers and your stock.
      tags:
      - Lines and BOM
  /sourcing/orders/{number}/bom/rows/{refs}:
    put:
      operationId: tenetos_api_http_set_bom_row
      summary: Set Bom Row
      parameters:
      - in: path
        name: number
        schema:
          title: Number
          type: string
        required: true
      - in: path
        name: refs
        schema:
          title: Refs
          type: string
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Row'
      description: Edit a BOM row and search it again.
      tags:
      - Lines and BOM
      requestBody:
        content:
          application/json:
            schema:
              additionalProperties:
                type: string
              title: Cells
              type: object
        required: true
      x-role: Edit
  /sourcing/pcb/options:
    get:
      operationId: tenetos_api_http_pcb_options
      summary: Pcb Options
      parameters: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                additionalProperties: true
                title: Response
                type: object
      description: List board manufacturing options.
      tags:
      - Board
  /sourcing/orders/{number}/gerbers:
    put:
      operationId: tenetos_api_http_set_gerbers
      summary: Set Gerbers
      parameters:
      - in: path
        name: number
        schema:
          title: Number
          type: string
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Gerbers'
      description: Upload the Gerber ZIP as the body, with its name in X-Filename.
      tags:
      - Board
      requestBody:
        required: true
        description: The Gerbers file itself, as ZIP
        content:
          application/zip:
            schema:
              type: string
              format: binary
      x-role: Edit
  /sourcing/orders/{number}/render/{side}:
    get:
      operationId: tenetos_api_http_render
      summary: Render
      parameters:
      - in: path
        name: number
        schema:
          title: Number
          type: string
        required: true
      - in: path
        name: side
        schema:
          enum:
          - top
          - bottom
          title: Side
          type: string
        required: true
      responses:
        '200':
          description: OK
      description: Read an owned order's board render.
      tags:
      - Board
  /sourcing/orders/{number}/pnp:
    put:
      operationId: tenetos_api_http_set_pnp
      summary: Set Pnp
      parameters:
      - in: path
        name: number
        schema:
          title: Number
          type: string
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Pnp'
      description: Upload the pick-and-place CSV as the body, with its name in X-Filename.
      tags:
      - Board
      requestBody:
        required: true
        description: The Pick and place file itself, as CSV
        content:
          text/csv:
            schema:
              type: string
              format: binary
      x-role: Edit
  /sourcing/orders/{number}/purchase:
    get:
      operationId: tenetos_api_http_purchase
      summary: Purchase
      parameters:
      - in: path
        name: number
        schema:
          title: Number
          type: string
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                additionalProperties:
                  items:
                    $ref: '#/components/schemas/Purchase'
                  type: array
                title: Response
                type: object
      description: List what to buy from each vendor.
      tags:
      - Buying
  /sourcing/orders/{number}/tracking:
    get:
      operationId: tenetos_api_http_tracking
      summary: Tracking
      parameters:
      - in: path
        name: number
        schema:
          title: Number
          type: string
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/TenetShipping'
                title: Response
                type: array
      description: Track the order's parcels.
      tags:
      - Buying
  /sourcing/stock:
    get:
      operationId: tenetos_api_http_own_stock
      summary: Own Stock
      parameters:
      - in: query
        name: query
        schema:
          default: ''
          maxLength: 200
          title: Query
          type: string
        required: false
      - in: query
        name: limit
        schema:
          default: 50
          description: Maximum results per page
          maximum: 100
          minimum: 1
          title: Limit
          type: integer
        required: false
        description: Maximum results per page
      - in: query
        name: offset
        schema:
          default: 0
          description: The previous response's next_offset, or zero to start
          minimum: 0
          title: Offset
          type: integer
        required: false
        description: The previous response's next_offset, or zero to start
      - in: query
        name: direction
        schema:
          default: desc
          enum:
          - asc
          - desc
          title: Direction
          type: string
        required: false
      - in: query
        name: category
        schema:
          anyOf:
          - maxLength: 200
            type: string
          - type: 'null'
          title: Category
        required: false
      - in: query
        name: manufacturer
        schema:
          anyOf:
          - maxLength: 200
            type: string
          - type: 'null'
          title: Manufacturer
        required: false
      - in: query
        name: sort
        schema:
          default: pieces
          enum:
          - name
          - manufacturer
          - package
          - pieces
          - category
          title: Sort
          type: string
        required: false
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Stock'
      description: Search available parts, with full category counts independent of
        the page.
      tags:
      - Parts
  /sourcing/partners:
    get:
      operationId: tenetos_api_http_partner_list
      summary: Partner List
      parameters: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                additionalProperties: true
                title: Response
                type: object
      description: List suppliers and their warehouse delivery statistics.
      tags:
      - Parts
components:
  schemas:
    NewKey:
      description: 'An API key to make: what it is for, and the role it acts with.'
      properties:
        name:
          maxLength: 100
          pattern: \S
          title: Name
          type: string
        role:
          default: Read
          enum:
          - Read
          - Edit
          - Admin
          title: Role
          type: string
      required:
      - name
      title: NewKey
      type: object
    Address:
      additionalProperties: false
      description: Where a carrier scan happened, as far as the carrier tells.
      properties:
        country:
          anyOf:
          - type: string
          - type: 'null'
          title: Country
        state:
          anyOf:
          - type: string
          - type: 'null'
          title: State
        city:
          anyOf:
          - type: string
          - type: 'null'
          title: City
        street:
          anyOf:
          - type: string
          - type: 'null'
          title: Street
        postal_code:
          anyOf:
          - type: string
          - type: 'null'
          title: Postal Code
      title: Address
      type: object
    Format:
      description: Missing required columns or the usable standard-format BOM.
      properties:
        missing:
          items:
            type: string
          title: Missing
          type: array
        mapping:
          anyOf:
          - $ref: '#/components/schemas/Mapping'
          - type: 'null'
      required:
      - missing
      title: Format
      type: object
    Mapping:
      description: Matched BOM columns and the file rewritten in standard format.
      properties:
        columns:
          additionalProperties:
            anyOf:
            - type: string
            - type: 'null'
          title: Columns
          type: object
        csv:
          title: Csv
          type: string
      required:
      - columns
      - csv
      title: Mapping
      type: object
    Decision:
      description: An unresolved order decision, optionally belonging to one BOM line.
      properties:
        code:
          title: Code
          type: string
        message:
          title: Message
          type: string
        refs:
          anyOf:
          - type: string
          - type: 'null'
          title: Refs
      required:
      - code
      - message
      title: Decision
      type: object
    Gerbers:
      description: 'The board''s Gerbers as uploaded: the file''s name, when, the
        outline''s size, the copper layers and the finest features.


        The narrowest trace and smallest plated hole are None where the board has
        none, or its Gerbers came before they were measured.'
      properties:
        name:
          title: Name
          type: string
        at:
          title: At
          type: string
        width_mm:
          title: Width Mm
          type: number
        height_mm:
          title: Height Mm
          type: number
        layers:
          title: Layers
          type: integer
        min_trace_mm:
          anyOf:
          - type: number
          - type: 'null'
          title: Min Trace Mm
        smallest_drill_mm:
          anyOf:
          - type: number
          - type: 'null'
          title: Smallest Drill Mm
      required:
      - name
      - at
      - width_mm
      - height_mm
      - layers
      title: Gerbers
      type: object
    Incoming:
      additionalProperties: false
      description: Delivery the vendor expects from the manufacturer.
      properties:
        date:
          format: date
          title: Date
          type: string
        qty:
          minimum: 1
          title: Qty
          type: integer
      required:
      - date
      - qty
      title: Incoming
      type: object
    Line:
      description: A priced source choice, including required and purchased quantities.
      properties:
        refs:
          title: Refs
          type: string
        mpn:
          title: Mpn
          type: string
        need:
          title: Need
          type: integer
        spares:
          title: Spares
          type: integer
        buy:
          title: Buy
          type: integer
        packaging:
          title: Packaging
          type: string
        unit_price:
          title: Unit Price
          type: number
        total:
          title: Total
          type: number
        offer:
          anyOf:
          - $ref: '#/components/schemas/TenetOffer'
          - type: 'null'
        request:
          anyOf:
          - $ref: '#/components/schemas/LineRequest'
          - type: 'null'
        warehouse:
          anyOf:
          - type: string
          - type: 'null'
          title: Warehouse
        business_days:
          anyOf:
          - type: number
          - type: 'null'
          title: Business Days
        low_stock:
          default: false
          title: Low Stock
          type: boolean
        arrival_days:
          anyOf:
          - type: integer
          - type: 'null'
          description: Whole business days until kitted, rounded up.
          readOnly: true
          title: Arrival Days
        source:
          description: The chosen fulfillment source, independent of its packaging
            label.
          enum:
          - buy
          - consign
          - stock
          readOnly: true
          title: Source
          type: string
      required:
      - refs
      - mpn
      - need
      - spares
      - buy
      - packaging
      - unit_price
      - total
      - offer
      - arrival_days
      - source
      title: Line
      type: object
    LineRequest:
      description: A source choice; a vendor SKU identifies a bought part, with packaging
        required when several formats are available.
      properties:
        qty_per_board:
          minimum: 1
          title: Qty Per Board
          type: integer
        vendor:
          anyOf:
          - enum:
            - Digi-Key
            - Mouser
            - Farnell
            - LCSC
            type: string
          - enum:
            - Consignment
            - Stock
            type: string
          title: Vendor
        mpn:
          default: ''
          title: Mpn
          type: string
        manufacturer:
          anyOf:
          - type: string
          - type: 'null'
          title: Manufacturer
        packaging:
          anyOf:
          - enum:
            - Reel
            - Ammo
            - Re-reel
            - Cut Tape
            - Tray
            - Tube
            - Bulk
            - Other
            type: string
          - const: unknown
            type: string
          - type: 'null'
          title: Packaging
        sku:
          anyOf:
          - type: string
          - type: 'null'
          title: Sku
      required:
      - qty_per_board
      - vendor
      title: LineRequest
      type: object
    Order:
      description: An order with the vendor orders Tenet placed for it, its board's
        options and files, and when its boards are due and shipped.
      properties:
        number:
          title: Number
          type: string
        name:
          title: Name
          type: string
        created:
          title: Created
          type: string
        status:
          $ref: '#/components/schemas/Status'
        boards:
          title: Boards
          type: integer
        lines:
          items:
            $ref: '#/components/schemas/Line'
          title: Lines
          type: array
        vendor_warehouses:
          additionalProperties:
            type: string
          title: Vendor Warehouses
          type: object
        pcb_price:
          title: Pcb Price
          type: number
        assembly:
          title: Assembly
          type: number
        components:
          title: Components
          type: number
        shipping:
          additionalProperties:
            type: number
          title: Shipping
          type: object
        consignment:
          title: Consignment
          type: number
        total:
          title: Total
          type: number
        vat_rate:
          default: 0.0
          title: Vat Rate
          type: number
        vat:
          default: 0.0
          title: Vat
          type: number
        currency:
          title: Currency
          type: string
        lead_days:
          anyOf:
          - type: integer
          - type: 'null'
          title: Lead Days
        address:
          anyOf:
          - type: string
          - type: 'null'
          title: Address
        ship_to:
          anyOf:
          - type: string
          - type: 'null'
          title: Ship To
        steps:
          default: []
  

# --- truncated at 32 KB (66 KB total) ---
# Full source: https://artifacts.apis.io/tenet-industries/openapi/tenet-industries-openapi.yml