Usage rate cards contain the usage pricing structure - they can be assigned at Customer, Site or Usage Product Inventory level (UPI)
- Check if usage 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 assignment level - CUSTOMER, SITE or INVENTORY
Filter by usage product inventory
Filter by start date
- https://rest.elevatebilling.com/v1/usage-rate-overrides
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://rest.elevatebilling.com/v1/usage-rate-overrides?page=1&pageSize=100&sort=id%2Cname+%7C+name%3Adesc&fields=id%2Cname&assignmentLevel=xyz+%7C+in%3Ax%2Cy+%7C+like%3Axyz&customerId=0&siteId=0&usageProductInventoryId=0&usageProductId=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>'[ { "id": 1, "assignmentLevel": "CUSTOMER", "usageProductId": 1, "supplierId": 1, "chargeGroupId": 1, "variableChargeUnitSize": 60, "quantityRoundingIncrement": 1, "startDate": "2019-08-24", "appliesToISDNOnly": false, "endDate": "2019-08-24", "peakValue": 0, "offPeakValue": 0, "weekendValue": 0, "peakMinimumCharge": 0, "offPeakMinimumCharge": 0, "weekendMinimumCharge": 0, "peakInitialCharge": 0, "offPeakInitialCharge": 0, "weekendInitialCharge": 0, "peakInitialChargePeriod": 0, "offPeakInitialChargePeriod": 0, "weekendInitialChargePeriod": 0 } ]
New usage rate override
Rate overrides can be assigned at customer, site or product inventory levels - use the appropriate level to determine which fields are required.
- https://rest.elevatebilling.com/v1/usage-rate-overrides
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://rest.elevatebilling.com/v1/usage-rate-overrides \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"assignmentLevel": "CUSTOMER",
"usageProductId": 1,
"supplierId": 1,
"chargeGroupId": 1,
"variableChargeUnitSize": 60,
"quantityRoundingIncrement": 1,
"startDate": "2019-08-24",
"appliesToISDNOnly": false,
"endDate": "2019-08-24",
"peakValue": 0,
"offPeakValue": 0,
"weekendValue": 0,
"peakMinimumCharge": 0,
"offPeakMinimumCharge": 0,
"weekendMinimumCharge": 0,
"peakInitialCharge": 0,
"offPeakInitialCharge": 0,
"weekendInitialCharge": 0,
"peakInitialChargePeriod": 0,
"offPeakInitialChargePeriod": 0,
"weekendInitialChargePeriod": 0,
"customerId": 1,
"applyThisToChildren": true
}'{ "id": 1, "assignmentLevel": "CUSTOMER", "usageProductId": 1, "supplierId": 1, "chargeGroupId": 1, "variableChargeUnitSize": 60, "quantityRoundingIncrement": 1, "startDate": "2019-08-24", "appliesToISDNOnly": false, "endDate": "2019-08-24", "peakValue": 0, "offPeakValue": 0, "weekendValue": 0, "peakMinimumCharge": 0, "offPeakMinimumCharge": 0, "weekendMinimumCharge": 0, "peakInitialCharge": 0, "offPeakInitialCharge": 0, "weekendInitialCharge": 0, "peakInitialChargePeriod": 0, "offPeakInitialChargePeriod": 0, "weekendInitialChargePeriod": 0, "customerId": 1, "applyThisToChildren": true }
- https://rest.elevatebilling.com/v1/usage-rate-overrides
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X HEAD \
'https://rest.elevatebilling.com/v1/usage-rate-overrides?assignmentLevel=xyz+%7C+in%3Ax%2Cy+%7C+like%3Axyz&customerId=0&siteId=0&usageProductInventoryId=0&usageProductId=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/usage-rate-overrides/{assignmentLevel}/{usage_rate_override_id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PATCH \
'https://rest.elevatebilling.com/v1/usage-rate-overrides/{assignmentLevel}/1' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json-patch+json' \
-d '[
{
"op": "replace",
"path": "/endDate",
"value": "2049-07-15"
}
]'{ "id": 1, "assignmentLevel": "CUSTOMER", "usageProductId": 1, "supplierId": 1, "chargeGroupId": 1, "variableChargeUnitSize": 60, "quantityRoundingIncrement": 1, "startDate": "2019-08-24", "appliesToISDNOnly": false, "endDate": "2019-08-24", "peakValue": 0, "offPeakValue": 0, "weekendValue": 0, "peakMinimumCharge": 0, "offPeakMinimumCharge": 0, "weekendMinimumCharge": 0, "peakInitialCharge": 0, "offPeakInitialCharge": 0, "weekendInitialCharge": 0, "peakInitialChargePeriod": 0, "offPeakInitialChargePeriod": 0, "weekendInitialChargePeriod": 0, "customerId": 1, "applyThisToChildren": true }
- https://rest.elevatebilling.com/v1/usage-rate-overrides/{assignmentLevel}/{usage_rate_override_id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X DELETE \
'https://rest.elevatebilling.com/v1/usage-rate-overrides/{assignmentLevel}/1' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'