Usage rate cards represent the pricing structure for usage products that can be sold to Customers
- Get a list of rental rates for a rate card
Elevate Pricing API (2.23)
Provides read & write access to usage and rental rate cards and inclusive usage plans
- Usage Rate Card - a representation of the pricing structure for usage that can be sold to Customers, for example 5 pence per minute for UK National calls
- Rental Rate Card - a representation of the pricing structure for rental product that can be sold to Customers, for example £10 per month for line rental
- Inclusive Usage Plan - a representation of an inclusive bundle that can be sold to a Customer, for example you can allocate 500 free minutes to UK National or Local calls
Results to return per page
Comma-delimited list of the fields to sort by - defaults to ascending order, suffix :desc to change
Filter by rental rate card - mandatory
Filter by rental product name
Filter by price
Filter by rental rate price type
Filter by rental rate type
Filter by periods in advance
Filter by show on invoice flag
Filter by rental rate frequency
Filter by start date
- https://rest.elevatebilling.com/v2/rental-rates
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://rest.elevatebilling.com/v2/rental-rates?page=1&pageSize=100&sort=id%2Cname+%7C+name%3Adesc&rentalRateCardId=0&rentalProductName=xyz+%7C+in%3Ax%2Cy+%7C+like%3Axyz&price=1+%7C+in%3A1%2C2+%7C+gt%3A1+%7C+lt%3A1+%7C+ge%3A1+%7C+le%3A1&rentalRatePriceType=xyz+%7C+in%3Ax%2Cy+%7C+like%3Axyz&rentalRateType=xyz+%7C+in%3Ax%2Cy+%7C+like%3Axyz&periodsInAdvance=xyz+%7C+in%3Ax%2Cy+%7C+like%3Axyz&showOnInvoice=true+%2C+false&rentalRateFrequency=xyz+%7C+in%3Ax%2Cy+%7C+like%3Axyz&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 rate card identifier - required when creating a new rental rate
Rental rate type. Required when rentalRatePriceType is RENTAL
Rental price type - recurring rental or one off?
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, "rentalRateCardId": 1, "rentalProductName": "string", "rentalProductId": 1, "price": 0, "rentalRateType": "ADVANCE", "rentalRatePriceType": "RENTAL", "periodsInAdvance": "STANDARD", "rentalRateFrequency": "DAILY", "startDate": "2019-08-24", "endDate": "2019-08-24", "showOnInvoice": true } ]
- https://rest.elevatebilling.com/v2/rental-rates
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X HEAD \
'https://rest.elevatebilling.com/v2/rental-rates?rentalRateCardId=0' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'New rental rate
Rental rate card identifier - required when creating a new rental rate
Rental rate type. Required when rentalRatePriceType is RENTAL
Rental price type - recurring rental or one off?
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/v2/rental-rates
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://rest.elevatebilling.com/v2/rental-rates \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"rentalRateCardId": 1,
"rentalProductId": 1,
"price": 0,
"rentalRateType": "ADVANCE",
"rentalRatePriceType": "RENTAL",
"periodsInAdvance": "STANDARD",
"rentalRateFrequency": "DAILY",
"startDate": "2019-08-24",
"endDate": "2019-08-24",
"showOnInvoice": true
}'OK
Rental rate card identifier - required when creating a new rental rate
Rental rate type. Required when rentalRatePriceType is RENTAL
Rental price type - recurring rental or one off?
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, "rentalRateCardId": 1, "rentalProductName": "string", "rentalProductId": 1, "price": 0, "rentalRateType": "ADVANCE", "rentalRatePriceType": "RENTAL", "periodsInAdvance": "STANDARD", "rentalRateFrequency": "DAILY", "startDate": "2019-08-24", "endDate": "2019-08-24", "showOnInvoice": true }
- https://rest.elevatebilling.com/v2/rental-rates/{rental_rate_id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
https://rest.elevatebilling.com/v2/rental-rates/1 \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'OK
Rental rate card identifier - required when creating a new rental rate
Rental rate type. Required when rentalRatePriceType is RENTAL
Rental price type - recurring rental or one off?
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, "rentalRateCardId": 1, "rentalProductName": "string", "rentalProductId": 1, "price": 0, "rentalRateType": "ADVANCE", "rentalRatePriceType": "RENTAL", "periodsInAdvance": "STANDARD", "rentalRateFrequency": "DAILY", "startDate": "2019-08-24", "endDate": "2019-08-24", "showOnInvoice": true }
A set of JSONPatch operations to be performed. Note that rental rates can only be updated here. To add a new rate, use /rental-rate-cards/ PATCH method
The JSON Patch operation to be performed
- https://rest.elevatebilling.com/v2/rental-rates/{rental_rate_id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PATCH \
https://rest.elevatebilling.com/v2/rental-rates/1 \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json-patch+json' \
-d '[
{
"op": "replace",
"path": "/price",
"value": 1.03
}
]'OK
Rental rate card identifier - required when creating a new rental rate
Rental rate type. Required when rentalRatePriceType is RENTAL
Rental price type - recurring rental or one off?
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, "rentalRateCardId": 1, "rentalProductName": "string", "rentalProductId": 1, "price": 0, "rentalRateType": "ADVANCE", "rentalRatePriceType": "RENTAL", "periodsInAdvance": "STANDARD", "rentalRateFrequency": "DAILY", "startDate": "2019-08-24", "endDate": "2019-08-24", "showOnInvoice": true }
- https://rest.elevatebilling.com/v2/rental-rates/{rental_rate_id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X DELETE \
https://rest.elevatebilling.com/v2/rental-rates/1 \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'