Sales Affilliate partners
For a sales partnership, you should use the/orders endpoints to track processing of orders instead of the /customers endpoints. See Check order status.
3rd Party [E.g. HEMS] Integration partners
If your application is enabling customers of RABOT Energy or RABOT Whitelabel partners to link their accounts to your application and to allow your application to access their data on the RABOT platform, the/customers endpoints will only list those customers that successfully approved the data access through the customer linking process.
Whitelabel partners
As a whitelabel partner, you will automatically see all customers in the API that you have acquired and that successfully ordered an energy supply contract, either through the web funnel or the API (see create new order endpoint). For your customers, you will have access according to the partnership agreement - eitherrole:finance-reporting, role:customer-support or role:application scope.
If you don’t have the role:application scope by default, you can use the customer linking process to request opt-in from customers, granting full data access to your application.
Delivery Stage
Once an order has successfully cleared the change process, the contract will be in aPendingDelivery state until the start of delivery. This start delivery date is available in the orders DTO in the field actualDateOfDelivery once we have received the communication from the DSO.
At this state, you will see the customer returned in the GET /customers endpoint response as they transition to Customer status.
Customer List
You can get a list of all customers visible to your application, according to the restrictions above using the list customers endpoint. See paging to learn how to work with large data sets.example request
example response
relations attributes in the customer records help you to understand the relationship and access level you have for the respective customer:
| Relation | Description |
|---|---|
Affiliate | A customer acquired by you in a Sales Partnership model |
Owner | A customer acquired by you in a Whitelabel Partnership model |
Linked | A customer that has granted you full data access through the customer linking process |