SaleItem

Update sale item associated with an order.

patch/orders/{order_id}/sale-items/{sale_item_id}

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 associated with the sale item.

sale_item_id, integer required

The ID of the sale item to update.

Request body

SaleItemUpdateRequest 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