Rentals
Order line
Order line: which resource it carries, how much, when and at what sale price.
Schemas: OrderLineDto
Example
Generated from the schema
A line of an order: which resource it carries (an item, a kit, a space, a vehicle, personnel, a service or a custom line), how many units, when and at what sale price. Lines belong to the order and you read them with GET /api; there is no independent collection of lines. A line can carry the serial numbers assigned to it.
Attributes
Unique line identifier.
Identifier of the order the line belongs to.
Resource type of the line. Lines of type section and type_group are presentation groupings with no associated resource.
Available options: item, kit, space, vehicle, personnel, service, custom, section, type_group
Nature of the line: rental or sale.
Available options: rental, sale
Status of the line within the order flow.
Available options: draft, reserved, prepared, picked_up, sold, returned, checked_in, cancelled, lost
Display position of the line within the order, starting at 0.
true if the line was added during the delivery process rather than in the original order.
Catalog item identifier; null if the line is not of type item.
Name of the item, space, service or custom element of the line.
Identifier of the item variant; null if not applicable.
Space identifier; null if the line is not of type space.
Units of the line.
Specific physical units assigned. Empty for non-serialized items or when not yet assigned.
Show child attributesHide child attributes
Unique identifier of the serialized item.
Internal code of the unit; null if none.
Manufacturer serial number; null if not recorded.
Start of the line period in ISO 8601 UTC; null if it inherits the order period.
End of the line period in ISO 8601 UTC; null if it inherits the order period.
Billable rental days of the line; null if not calculated.
Net unit price as a decimal string "1234.50"; null if the line has no price of its own.
Limits: pattern ^-?\d+\.\d{2}$
Total net amount of the line as a decimal string "1234.50"; null if not calculated.
Limits: pattern ^-?\d+\.\d{2}$
true if the line is explicitly billed at zero.
Line notes; null if none.
Values
- resourceType
item,kit,space,vehicle,personnel,service,custom,section,type_group- transactionType
rental,sale- status
draft,reserved,prepared,picked_up,sold,returned,checked_in,cancelled,lost
Returned by
GET /api/v1/orders/{orderId}/lines— List the lines of an order
Modified by
No operation.
Was this page helpful?