Contract profiles are used to define early termination charges and contract term length
- Check if customer contract assignment exists
Elevate Contract Management (1.12)
Provides read & write access to manage contract profiles and to allocate contracts to customers
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 start date
Filter by end date
Filter by rollover contract profile
Filter by contracts within renewal alert day(s)
Filter by contracts within notice period alert day(s)
Filter by text (Name, Assignment Level, Profile Name or Roll-over Profile Name)
Filter to include superseded i.e. old versions of the customer contract
If true, then return only customer contracts associated to RPIs that are 'recent', or customer contracts starting in the future
The name of the site to which the customer is associated
The name of the contract profile to which this customer contract is associated to
- https://rest.elevatebilling.com/v1/customer-contracts
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://rest.elevatebilling.com/v1/customer-contracts?page=1&pageSize=100&sort=id%2Cname+%7C+name%3Adesc&fields=id%2Cname&id=0&name=xyz+%7C+in%3Ax%2Cy+%7C+like%3Axyz&customerId=0&siteId=0&contractProfileId=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&rolloverContractProfileId=0&renewalAlert=true+%2C+false¬icePeriod=true+%2C+false&filter=xyz+%7C+in%3Ax%2Cy+%7C+like%3Axyz&includeSupersededVersions=true+%2C+false&recentWithRPIsOrFuture=true+%2C+false&siteName=xyz+%7C+in%3Ax%2Cy+%7C+like%3Axyz&contractProfileName=xyz+%7C+in%3Ax%2Cy+%7C+like%3Axyz&logic=xyz+%7C+in%3Ax%2Cy+%7C+like%3Axyz' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'OK
Generated contract Name
Date when this customer contract ends based on start date and contract profile term
Once term of this contract ends, contract will auto-renew as this contract
Renewal alert will be given this many days before the contract ends
Notice period alert will be given this many days before the contract ends
Where this contract had rolled-over from a previous contract, contains the previous contract
Where this contract rolled-over, contains the next contract that replaced this contract
The amount that will be charged in major currency if the customer contract was to be ended today
Number of rental product inventories currently assigned to the customer contract
[ { "id": 1, "name": "string", "customerId": 0, "siteId": 0, "contractProfileId": 0, "startDate": "2019-08-24", "endDate": "2019-08-24", "createdDate": "2019-08-24T14:15:22Z", "rolloverContractProfileId": 0, "renewalAlertDays": 28, "noticePeriodDays": 2147483647, "previousCustomerContractId": 0, "renewedCustomerContractId": 0, "earlyTerminationChargeAmount": 15.54, "inventoryCount": 0, "siteName": "string", "contractProfileName": "string" } ]
New customer contract
Generated contract Name
Date when this customer contract ends based on start date and contract profile term
Once term of this contract ends, contract will auto-renew as this contract
Renewal alert will be given this many days before the contract ends
- https://rest.elevatebilling.com/v1/customer-contracts
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://rest.elevatebilling.com/v1/customer-contracts \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"name": "string",
"customerId": 0,
"siteId": 0,
"contractProfileId": 0,
"startDate": "2019-08-24",
"endDate": "2019-08-24",
"rolloverContractProfileId": 0,
"renewalAlertDays": 28,
"noticePeriodDays": 2147483647
}'OK
Generated contract Name
Date when this customer contract ends based on start date and contract profile term
Once term of this contract ends, contract will auto-renew as this contract
Renewal alert will be given this many days before the contract ends
Notice period alert will be given this many days before the contract ends
Where this contract had rolled-over from a previous contract, contains the previous contract
Where this contract rolled-over, contains the next contract that replaced this contract
The amount that will be charged in major currency if the customer contract was to be ended today
Number of rental product inventories currently assigned to the customer contract
{ "id": 1, "name": "string", "customerId": 0, "siteId": 0, "contractProfileId": 0, "startDate": "2019-08-24", "endDate": "2019-08-24", "createdDate": "2019-08-24T14:15:22Z", "rolloverContractProfileId": 0, "renewalAlertDays": 28, "noticePeriodDays": 2147483647, "previousCustomerContractId": 0, "renewedCustomerContractId": 0, "earlyTerminationChargeAmount": 15.54, "inventoryCount": 0, "siteName": "string", "contractProfileName": "string" }
- https://rest.elevatebilling.com/v1/customer-contracts
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X HEAD \
'https://rest.elevatebilling.com/v1/customer-contracts?name=xyz+%7C+in%3Ax%2Cy+%7C+like%3Axyz&customerId=0&siteId=0&contractProfileId=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&rolloverContractProfileId=0&recentWithRPIsOrFuture=true+%2C+false' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'- https://rest.elevatebilling.com/v1/customer-contracts/{customer_contract_id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
https://rest.elevatebilling.com/v1/customer-contracts/1 \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'Customer contract found
Generated contract Name
Date when this customer contract ends based on start date and contract profile term
Once term of this contract ends, contract will auto-renew as this contract
Renewal alert will be given this many days before the contract ends
Notice period alert will be given this many days before the contract ends
Where this contract had rolled-over from a previous contract, contains the previous contract
Where this contract rolled-over, contains the next contract that replaced this contract
The amount that will be charged in major currency if the customer contract was to be ended today
Number of rental product inventories currently assigned to the customer contract
{ "id": 1, "name": "string", "customerId": 0, "siteId": 0, "contractProfileId": 0, "startDate": "2019-08-24", "endDate": "2019-08-24", "createdDate": "2019-08-24T14:15:22Z", "rolloverContractProfileId": 0, "renewalAlertDays": 28, "noticePeriodDays": 2147483647, "previousCustomerContractId": 0, "renewedCustomerContractId": 0, "earlyTerminationChargeAmount": 15.54, "inventoryCount": 0, "siteName": "string", "contractProfileName": "string" }
A set of JSONPatch operations to be performed
The JSON Patch operation to be performed
- https://rest.elevatebilling.com/v1/customer-contracts/{customer_contract_id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PATCH \
https://rest.elevatebilling.com/v1/customer-contracts/1 \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json-patch+json' \
-d '[
{
"op": "replace",
"path": "/name",
"value": "MyFavContractProfile"
}
]'Success
Generated contract Name
Date when this customer contract ends based on start date and contract profile term
Once term of this contract ends, contract will auto-renew as this contract
Renewal alert will be given this many days before the contract ends
Notice period alert will be given this many days before the contract ends
Where this contract had rolled-over from a previous contract, contains the previous contract
Where this contract rolled-over, contains the next contract that replaced this contract
The amount that will be charged in major currency if the customer contract was to be ended today
Number of rental product inventories currently assigned to the customer contract
{ "id": 1, "name": "string", "customerId": 0, "siteId": 0, "contractProfileId": 0, "startDate": "2019-08-24", "endDate": "2019-08-24", "createdDate": "2019-08-24T14:15:22Z", "rolloverContractProfileId": 0, "renewalAlertDays": 28, "noticePeriodDays": 2147483647, "previousCustomerContractId": 0, "renewedCustomerContractId": 0, "earlyTerminationChargeAmount": 15.54, "inventoryCount": 0, "siteName": "string", "contractProfileName": "string" }
- https://rest.elevatebilling.com/v1/customer-contracts/{customer_contract_id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X DELETE \
https://rest.elevatebilling.com/v1/customer-contracts/1 \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'- https://rest.elevatebilling.com/v1/customer-contract-assignments
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://rest.elevatebilling.com/v1/customer-contract-assignments?page=1&pageSize=100&sort=id%2Cname+%7C+name%3Adesc&fields=id%2Cname&id=0&customerContractId=0&rentalProductInventoryId=0&active=true+%2C+false' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'[ { "id": 1, "rentalProductInventoryId": 0, "customerContractId": 0, "createdDate": "2019-08-24T14:15:22Z", "active": true } ]
New customer contract assignment
Customer contract identifier to assign RPI - must be same customer (+ optionally site) as RPI
- https://rest.elevatebilling.com/v1/customer-contract-assignments
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://rest.elevatebilling.com/v1/customer-contract-assignments \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"rentalProductInventoryId": 0,
"customerContractId": 0,
"active": true
}'{ "id": 1, "rentalProductInventoryId": 0, "customerContractId": 0, "createdDate": "2019-08-24T14:15:22Z", "active": true }
- https://rest.elevatebilling.com/v1/customer-contract-assignments
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X HEAD \
'https://rest.elevatebilling.com/v1/customer-contract-assignments?customerContractId=0&rentalProductInventoryId=0&active=true+%2C+false' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'- https://rest.elevatebilling.com/v1/customer-contract-assignments/{customer_contract_assignment_id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
https://rest.elevatebilling.com/v1/customer-contract-assignments/1 \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'{ "id": 1, "rentalProductInventoryId": 0, "customerContractId": 0, "createdDate": "2019-08-24T14:15:22Z", "active": true }
- https://rest.elevatebilling.com/v1/customer-contract-assignments/{customer_contract_assignment_id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X DELETE \
https://rest.elevatebilling.com/v1/customer-contract-assignments/1 \
-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/customer-contract-assignments/{customer_contract_assignment_id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PATCH \
https://rest.elevatebilling.com/v1/customer-contract-assignments/1 \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json-patch+json' \
-d '[
{
"op": "replace",
"path": "/active",
"value": "false"
}
]'{ "id": 1, "rentalProductInventoryId": 0, "customerContractId": 0, "createdDate": "2019-08-24T14:15:22Z", "active": true }