Skip to main content

Create Purchase Order Line Item

Creates a new Line Item for the associated Purchase Order

Path Parameters

  • number string required

    Possible values: Value must match regular expression ^[0-9]+$

    The Purchase Order Number

Request Body

  • part_id integer required

    Possible values: >= 1

    The Fleetio ID of the Part being purchased.

  • quantity integer required

    How many of this Part to be purchased.

  • unit_cost float required

    The cost of this Part (per unit).

Responses

OK

Response Headers


    Schema

    • id integer

      Possible values: >= 1

    • created_at date-time

      The date and time at which this record was created.

    • updated_at date-time

      The date and time at which this record was most recently updated.

    • part_id integer

      Possible values: >= 1

      The Fleetio ID of the Part being purchased.

    • quantity object

      The quantity of this Part to be purchased.

      anyOf

    • string
    • total_quantity_received object

      The quantity of this Part which was received.

      anyOf

    • string
    • part_number string

      The number for the Part being purchased.

    • unit_cost object

      The cost of this Part (per unit).

      anyOf

    • string
    • subtotal object

      The pre-tax subtotal amount.

      anyOf

    • number float
    Loading...