Create new order
Create a new order
Required input
The following information is mandatory to create an order:General information
General information
- a valid
tariffKey(see list tariffs) - customer information in
useraccount:firstNameandlastNamefor private customers,businessNamefor business customers.- a validated email address of the customer
- the
deliveryAddressobject withfirstNameandlastNamefor private customers,businessNamefor business customers.- complete postal address of the delivery location
bankDetailsneed to be complete withaccountHolder,iban,bicandbankNamefor SEPA. SetbankDetails: nullfor payment by invoicedeliveryDetailshas to filled withmaLoIdentifierormeterNumberof the delivery point- the BDEW code of the previous supplier in
previousSupplierCode
Use case: new delivery location
Use case: new delivery location
contractReasonhas to be set toNewDeliveryLocationdeliveryDetailshas to filled withmoveInDateset to the date the customer will move into the new location. This will be used as desired start date for the contractpreviousAnnualConsumptionhas to be filled and set to the expected annual energy consumption.
Use case: change of supplier
Use case: change of supplier
contractReasonhas to be set toChangeOfSupplier- The name in
deliveryAddresshas to match with the contract holder of the previous supply contract deliveryDetailshas to filled withpreviousAnnualConsumptionhas to be filled and set to the annual energy consumption as reported by the previous supplier- If the customer has already cancelled the contract with the previous supplier
previousSelfCancelledDatehas to be filled. This will be used as desired start date for the new contract
- If the customer wants Rabot to take care of cancelling the contract with the previous supplier:
desiredTransitionDatehas to be filled
create:orders scope.Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Headers
If arbitrary orders can be created, partner token of partner
Body
Request data object
Information about a new order to be created
Tariff key of the tariff to be used
"RabotSmart"
Date, for which the offer was given. Uses today as default, if not provided.
"2025-08-22"
Information about user account, that should be created and bound with the tariff. If an account for the same user (identified by the email address) already exists, the contract is linked to the existing user account instead.
Information about the contract, that should be created for this order
Optional campaign code, if campaign is to be used