Purchase Orders

Create Purchase Order Line Item

Creates a new Line Item for the associated Purchase Order

post/purchase_orders/{number}/purchase_order_line_items

Request

Path parameters

numberstring required

The Purchase Order Number

Request body

part_idinteger required

The Fleetio ID of the Part being purchased.

quantityinteger required

How many of this Part to be purchased.

unit_costnumber float required

The cost of this Part (per unit).

Response

OK

idinteger required
created_atstring date-time

The date and time at which this record was created.

updated_atstring date-time

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

account_idinteger
purchase_order_idinteger
part_idinteger

The Fleetio ID of the Part being purchased.

quantitystring nullable

The quantity of this Part to be purchased.

total_quantity_receivedstring nullable

The quantity of this Part which was received.

unit_coststring nullable

The cost of this Part (per unit).

subtotal_centsinteger nullable

The pre-tax subtotal amount.

Example response

{
  "created_at": "2023-03-14T13:46:27-06:00",
  "updated_at": "2023-03-14T13:46:27-06:00",
  "quantity": "1.23",
  "total_quantity_received": "1.23",
  "unit_cost": "1.23",
  "subtotal_cents": 1234
}

Changes

No recorded changes to this operation across all 1 revision of this API.