Update contract
PUT/v2/:tenantName/contracts/:businessId
Update an existing contract. The validations at the update of a contract are:
- startTime is mandatory
- startTime is less than or equal to endTime
product validations
- productStatus is ACTIVE
- the list of facilities of the product belongs to the operator of the contract
Request
Responses
- 200
- 400
- 404
- 412
- 500
OK
BAD REQUEST
NOT FOUND
PRECONDITION FAILED
Internal Server Error