Skip to main content
POST
Error

Authorizations

Authorization
string
header
required

Authorization: Bearer <token>. Accepts EITHER a Keycloak access token (scopes-in-token) OR an opaque POS session token; both resolve to the same pos.* scope vocabulary the route guards enforce.

Path Parameters

rentalId
string
required
Minimum string length: 1

Body

application/json
condition
object
required

Response

The closed-out rental: returned, with the settlement stamped. In this example the unit came back two days late and damaged, so 1500 cents were retained for damage, 1920 cents of late fee were taken out of the 2500 the caution still held, and 580 cents were released. Nothing of the fee is left outstanding.

The closed-out rental: returned, with the settlement stamped. In this example the unit came back two days late and damaged, so 1500 cents were retained for damage, 1920 cents of late fee were taken out of the 2500 the caution still held, and 580 cents were released. Nothing of the fee is left outstanding.

id
string
required
skuId
string
required
customerId
string
required
storeId
string
required
period
object
required
days
required
Available options:
1
ratePerDayCents
integer
required
Required range: -9007199254740991 <= x <= 9007199254740991
depositAmountCents
integer
required
Required range: -9007199254740991 <= x <= 9007199254740991
depositReference
string
required
status
enum<string>
required
Available options:
active,
returned,
overdue
actorId
string
required
rentedAt
string
required
settlement
object