SaleItems
POST sale items
Changed onCreate sale items and associate with an order
post/orders/{order_id}/sale-items
Request
- Base URLhttps://api.equipmentshare.com (the document declares no server; this is the origin it was published from)
- AuthHTTP bearer
Path parameters
order_id, integer required
The ID of the order to associate the sale items with.
Request body
Sale Item Create Request[] 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, Sale Item Note Create Request[] nullable
List of sale item notes to be created with the sale item
unit_price, number float required
Response
Sale items created successfully.
Changes
- info
added the optional property
items/part_manufacturer_numberto the response with the status
- info