Create a new electricity contract
POST/users/:userId/electricity-contracts
Creates a new electricity contract with the provided details
tip
Recommended guide If you are unsure which parameters to include when creating an electricity contract, refer to the complete documentation.
Request
Responses
- 201
- 400
- 401
- 404
- 409
- default
Electricity contract created successfully
Bad Request
Unauthorized
User not found
Contract already exists (only if contract number is provided), or the contract is INACTIVE and its CUPS already has an active contract
Unexpected error