Usage rate cards contain the usage pricing structure - they can be assigned at Customer, Site or Usage Product Inventory level (UPI)
- Check if buy rental rate override exists
Elevate Pricing Assignment API (1.15)
Provides read & write access to customer, site and inventory level pricing assignments including price overrides
Rental and Usage rate cards can be assigned at Customer, Site or Usage Inventory level
- Rate cards at Customer level will apply to all sites and product inventories under the customer
- Rate cards at Site level will override any rate card assigned at Customer level - the product inventories within this Site will use the assigned rate card
- Rate cards at Inventory level override any rate card assigned at Customer or Site level; the individual product inventory will use the assigned rate card
Inclusive Usage plans can be assigned at Customer, Site or Usage Product Inventory level
- Plans at Customer level will be shared between Sites for that Customer - e.g. 1000 minutes would be shared between the Sites
- Plans can be added at Site level to just apply to that Site - this is in addition to any shared plan set at Customer level
- Plans can be added at UPI level to just apply to that inventory item - this is in addition to any shared plan(s) set at Customer or Site level
Rate overrides are the last pricing assignment level - they will override any rates that are set on the Rental or Usage rate card that is assigned Some examples;
- A Usage rate override is set against a Customer - Sites belonging to this Customer will inherit the override regardless of the Usage rate card assigned
- A Rental rate card is assigned at Site level and a Rental Rate Override is set for a product - the override price will overrule the price in the rate card for that product
Results to return per page
Comma-delimited list of the fields to sort by - defaults to ascending order, suffix :desc to change
Comma-delimited list of the field(s) to return if only a subset is required
Filter by rental product inventory
Filter by start date
- https://rest.elevatebilling.com/v1/buy-rental-rate-overrides
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://rest.elevatebilling.com/v1/buy-rental-rate-overrides?page=1&pageSize=100&sort=id%2Cname+%7C+name%3Adesc&fields=id%2Cname&rentalProductInventoryId=0&startDate=yyyy-MM-dd+%2C+lt%3Ayyyy-MM-dd+%2C+gt%3Ayyyy-MM-dd+%2C+gtn%3Ayyyy-MM-dd&endDate=yyyy-MM-dd+%2C+lt%3Ayyyy-MM-dd+%2C+gt%3Ayyyy-MM-dd+%2C+gtn%3Ayyyy-MM-dd' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'OK
Rental price type - recurring rental or one off?
Rental rate type. Required when rentalRatePriceType is RENTAL
Number of periods in advance (i.e. Months) for rentals. Required when rentalRateType is ADVANCE
Frequency of rental. Required when rentalRatePriceType is RENTAL
[ { "id": 1, "rentalProductInventoryId": 1, "price": -9999999, "rentalRatePriceType": "RENTAL", "rentalRateType": "ADVANCE", "periodsInAdvance": "STANDARD", "rentalRateFrequency": "DAILY", "startDate": "2019-08-24", "endDate": "2019-08-24" } ]
New buy rental rate override
Rental price type - recurring rental or one off?
Rental rate type. Required when rentalRatePriceType is RENTAL
Number of periods in advance (i.e. Months) for rentals. Required when rentalRateType is ADVANCE
Frequency of rental. Required when rentalRatePriceType is RENTAL
- https://rest.elevatebilling.com/v1/buy-rental-rate-overrides
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://rest.elevatebilling.com/v1/buy-rental-rate-overrides \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"rentalProductInventoryId": 1,
"price": -9999999,
"rentalRatePriceType": "RENTAL",
"rentalRateType": "ADVANCE",
"periodsInAdvance": "STANDARD",
"rentalRateFrequency": "DAILY",
"startDate": "2019-08-24",
"endDate": "2019-08-24"
}'OK
Rental price type - recurring rental or one off?
Rental rate type. Required when rentalRatePriceType is RENTAL
Number of periods in advance (i.e. Months) for rentals. Required when rentalRateType is ADVANCE
Frequency of rental. Required when rentalRatePriceType is RENTAL
{ "id": 1, "rentalProductInventoryId": 1, "price": -9999999, "rentalRatePriceType": "RENTAL", "rentalRateType": "ADVANCE", "periodsInAdvance": "STANDARD", "rentalRateFrequency": "DAILY", "startDate": "2019-08-24", "endDate": "2019-08-24" }
- https://rest.elevatebilling.com/v1/buy-rental-rate-overrides
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X HEAD \
'https://rest.elevatebilling.com/v1/buy-rental-rate-overrides?rentalProductInventoryId=0&startDate=yyyy-MM-dd+%2C+lt%3Ayyyy-MM-dd+%2C+gt%3Ayyyy-MM-dd+%2C+gtn%3Ayyyy-MM-dd&endDate=yyyy-MM-dd+%2C+lt%3Ayyyy-MM-dd+%2C+gt%3Ayyyy-MM-dd+%2C+gtn%3Ayyyy-MM-dd' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'A set of JSONPatch operations to be performed
The JSON Patch operation to be performed
- https://rest.elevatebilling.com/v1/buy-rental-rate-overrides/{buy_rental_rate_override_id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PATCH \
https://rest.elevatebilling.com/v1/buy-rental-rate-overrides/1 \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json-patch+json' \
-d '[
{
"op": "replace",
"path": "/endDate",
"value": "2049-07-15"
}
]'Success
Rental price type - recurring rental or one off?
Rental rate type. Required when rentalRatePriceType is RENTAL
Number of periods in advance (i.e. Months) for rentals. Required when rentalRateType is ADVANCE
Frequency of rental. Required when rentalRatePriceType is RENTAL
{ "id": 1, "rentalProductInventoryId": 1, "price": -9999999, "rentalRatePriceType": "RENTAL", "rentalRateType": "ADVANCE", "periodsInAdvance": "STANDARD", "rentalRateFrequency": "DAILY", "startDate": "2019-08-24", "endDate": "2019-08-24" }
- https://rest.elevatebilling.com/v1/buy-rental-rate-overrides/{buy_rental_rate_override_id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X DELETE \
https://rest.elevatebilling.com/v1/buy-rental-rate-overrides/1 \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'