SaleItems

Create sale items and associate with an order

post/orders/{order_id}/sale-items

Request

  • Base URL
    https://api.equipmentshare.com (the document declares no server; this is the origin it was published from)
  • Auth
    HTTP bearer

Path parameters

order_id, integer required

The ID of the order to associate the sale items with.

Request body

SaleItemCreateRequest[] required
asset_id, integer nullable
billing_method_id, integer nullable
description, string required
due_date, string date-time required
facilitator_type_id, integer required
line_item_type_id, integer required
line_number, integer required
location_id, integer required
ordered_quantity, number float required
part_id, integer nullable
rental_id, integer nullable
sale_item_notes, SaleItemNoteCreateRequest[] nullable

List of sale item notes to be created with the sale item

unit_price, number float required

Response

Sale items created successfully.

Changes