SaleItem
PATCH sale item
Changed onUpdate sale item associated with an order.
patch/orders/{order_id}/sale-items/{sale_item_id}
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 associated with the sale item.
sale_item_id, integer required
The ID of the sale item to update.
Request body
Sale Item Update Request required
asset_id, integer nullable
Asset sold on this line; null clears it and cancels its emptied requested ticket.
billing_method_id, integer nullable
description, string
due_date, string date-time
facilitator_type_id, integer
line_item_type_id, integer
line_number, integer
location_id, integer
ordered_quantity, number float
part_id, integer
rental_id, integer nullable
sale_items_status_id, integer
unit_price, number float
Response
Sale item updated successfully.
Changes
- info
added the optional property
part_manufacturer_numberto the response with the status
- info