Rentals

GET sale items by rental ID

Changed on

Retrieve sale items associated with a rental, optionally filtered by billing method

get/rentals/{rental_id}/sale-items

Request

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

Path parameters

rental_id, integer required

The ID of the rental to retrieve sale items for

Query parameters

billing_method_id, integer

Optional billing method ID to filter results

Response

SaleItemGetResponse[] required
asset_id, integer nullable
billing_method_id, integer nullable
created_by, integer
date_created, string date-time
date_updated, string date-time
description, string
due_date, string date-time
facilitator_type_id, integer
line_item_type, LineItemType required
line_number, integer
location_id, integer
order_id, integer
ordered_quantity, number float
part_id, integer
part_manufacturer_number, string nullable
rental_id, integer nullable
sale_item_fulfillments, SaleItemFulfillmentResponse[] nullable
sale_item_id, integer
sale_item_notes, SaleItemNote[] nullable
sale_items_status_id, integer
unit_price, number float
updated_by, integer

Changes