Make the owner statement of a period from the stays that left in it
post/lodging/owner-statements
Make the owner statement of a period from the stays that left in it: earnings, commission, deductions and what is owed to the owner. A draft until a person issues it.
Before you call
- Credential
Authorization: Bearer $KEY- Scope
bookings:admin- Sdk
bookings.ownerStatement.generate- Cli
bookings owner statement generate
Request bodyapplication/json, required
- propertyIdstring (uuid)required
- fromstringrequiredPattern: ^\d{4}-\d{2}-\d{2}$.
- tostringrequiredPattern: ^\d{4}-\d{2}-\d{2}$.
- adjustmentslist of objectDefault: [].
- labelstringrequiredAt most 120 characters.
- amountMinorintegerrequiredAt least 0. At most 1000000000000.
- labelstringrequired
Responses
- 201application/jsonSuccess
- 400application/jsonThe request was malformed
- errorstringrequired
- messagestring
- 401application/jsonNo valid credential
- errorstringrequired
- messagestring
- 403application/jsonThe credential lacks the scope, origin or address
- errorstringrequired
- messagestring
- 429application/jsonOver the key's rate limit; see Retry-After
- errorstringrequired
- messagestring