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.

    • account_id integer
    • purchase_order_id integer
    • part_id integer

      Possible values: >= 1

      The Fleetio ID of the Part being purchased.

    • quantity string

      The quantity of this Part to be purchased.

    • total_quantity_received string

      The quantity of this Part which was received.

    • unit_cost string

      The cost of this Part (per unit).

    • subtotal_cents integer

      The pre-tax subtotal amount.

    Loading...