RentalOrderListItem

Rental order list item (lighter response for list views)

Fields

    createdAt
    DateTime!
    Required
    When the rental was booked (UTC).
    endDate
    NaiveDate!
    Required
    Last day of the rental (YYYY-MM-DD).
    id
    Int!
    Required
    Unique identifier for the rental.
    isOverdue
    Boolean!
    Required
    Whether the item is past its return date and not yet back.
    orderCode
    String!
    Required
    Human-readable order reference shown to the customer.
    orderId
    Int!
    Required
    Order the rental was created under.
    productName
    String!
    Required
    Name of the rented product.
    productPhoto
    String
    Product image URL. Null when the product has no image.
    startDate
    NaiveDate!
    Required
    First day of the rental (YYYY-MM-DD).
    status
    RentalOrderStatus!
    Required
    Current stage of the rental.
    totalPrice
    Decimal!
    Required
    Total rental charge, in the merchant's currency.
    vendorName
    String!
    Required
    Merchant renting the item out.
Built with