Create a new buy rental rate override

post/buy-rental-rate-overrides
SecuritybearerAuth
Request
Request Body schema: application/json

New buy rental rate override

rentalProductInventoryId
required
integer <int64>

Rental product inventory identifier

price
required
number [ -9999999 .. 9999999 ]

Price

rentalRatePriceType
required
string (RentalRatePriceType)

Rental price type - recurring rental or one off?

Enum: "RENTAL" "ONEOFF"
rentalRateType
string (RentalRateType)

Rental rate type. Required when rentalRatePriceType is RENTAL

Enum: "ADVANCE" "ARREARS"
periodsInAdvance
string (PeriodsInAdvance)

Number of periods in advance (i.e. Months) for rentals. Required when rentalRateType is ADVANCE

Enum: "STANDARD" "ADVANCEDPLUSONEMONTH"
rentalRateFrequency
string (RentalRateFrequency)

Frequency of rental. Required when rentalRatePriceType is RENTAL

Enum: "DAILY" "WEEKLY" "MONTHLY" "YEARLY" "QUARTERLY" "SIXMONTHS" "TWENTYFOURMONTHS"
startDate
required
string <date>

Start date

endDate
string <date>

End date

Responses
200

OK

201

Created

400

Bad Request

401

Unauthorized

403

Forbidden

404

Not Found

Request samples
application/json
{
  • "rentalProductInventoryId": 1,
  • "price": -9999999,
  • "rentalRatePriceType": "RENTAL",
  • "rentalRateType": "ADVANCE",
  • "periodsInAdvance": "STANDARD",
  • "rentalRateFrequency": "DAILY",
  • "startDate": "2019-08-24",
  • "endDate": "2019-08-24"
}
Response samples
application/json
{
  • "id": 1,
  • "rentalProductInventoryId": 1,
  • "price": -9999999,
  • "rentalRatePriceType": "RENTAL",
  • "rentalRateType": "ADVANCE",
  • "periodsInAdvance": "STANDARD",
  • "rentalRateFrequency": "DAILY",
  • "startDate": "2019-08-24",
  • "endDate": "2019-08-24"
}