Usage rate cards contain the usage pricing structure - they can be assigned at Customer, Site or Usage Product Inventory level (UPI)
- Check if rental rate card assignment 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 rental product inventory
Filter by rental product category
Filter by start date
- https://rest.elevatebilling.com/v1/rental-rate-card-assignments
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://rest.elevatebilling.com/v1/rental-rate-card-assignments?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&rentalProductInventoryId=0&rentalRateCardId=0&rentalProductCategoryId=0&rentalProductId=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, SITE or INVENTORY", "rentalRateCardId": 1, "startDate": "2019-08-24", "endDate": "2019-08-24" } ]
New rental rate card assignment
Rate cards 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/rental-rate-card-assignments
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://rest.elevatebilling.com/v1/rental-rate-card-assignments \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"assignmentLevel": "CUSTOMER",
"rentalRateCardId": 1,
"startDate": "2019-08-24",
"endDate": "2019-08-24",
"customerId": 1
}'{ "id": 1, "assignmentLevel": "CUSTOMER", "rentalRateCardId": 1, "startDate": "2019-08-24", "endDate": "2019-08-24", "customerId": 1 }
Filter by assignment level - CUSTOMER, SITE or INVENTORY
Filter by rental product inventory
Filter by rental product category
Filter by start date
- https://rest.elevatebilling.com/v1/rental-rate-card-assignments
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X HEAD \
'https://rest.elevatebilling.com/v1/rental-rate-card-assignments?assignmentLevel=xyz+%7C+in%3Ax%2Cy+%7C+like%3Axyz&customerId=0&siteId=0&rentalProductInventoryId=0&rentalRateCardId=0&rentalProductCategoryId=0&rentalProductId=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/rental-rate-card-assignments/{assignmentLevel}/{rental_rate_card_assignment_id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PATCH \
'https://rest.elevatebilling.com/v1/rental-rate-card-assignments/{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", "rentalRateCardId": 1, "startDate": "2019-08-24", "endDate": "2019-08-24", "customerId": 1 }
- https://rest.elevatebilling.com/v1/rental-rate-card-assignments/{assignmentLevel}/{rental_rate_card_assignment_id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X DELETE \
'https://rest.elevatebilling.com/v1/rental-rate-card-assignments/{assignmentLevel}/1' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'