Usage rate cards represent the pricing structure for usage products that can be sold to Customers
Elevate Pricing API (2.21)
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
Download OpenAPI description
Languages
Servers
https://rest.elevatebilling.com/v2
Bodyapplication/json-patch+jsonrequired Array [ ]
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
Enum"add""remove""replace""move""copy""test"
- 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 type. Required when rentalRatePriceType is RENTAL
Enum"ADVANCE""ARREARS"
Rental price type - recurring rental or one off?
Enum"RENTAL""ONEOFF"
Number of periods in advance (i.e. Months) for rentals. Required when rentalRateType is ADVANCE
Enum"STANDARD""ADVANCEDPLUSONEMONTH"
Frequency of rental. Required when rentalRatePriceType is RENTAL
Enum"DAILY""WEEKLY""MONTHLY""YEARLY""QUARTERLY""SIXMONTHS""TWENTYFOURMONTHS"
Response
application/json
{ "id": 1, "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>'