switchToProductOnNextReadingDate
Switch to the given product on the next reading date by terminating the current agreement and creating a new one.
Arguments
Returns
SwitchToProductOnNextReadingDateOutput type of the switchToProductOnNextReadingDate mutation.
Examples
The example data in the variables and responses below are autogenerated values designed to resemble real inputs. They do not represent actual customer data, and in some cases may require additional validation.
mutation SwitchToProductOnNextReadingDate($input: SwitchToProductInput) {
switchToProductOnNextReadingDate(input: $input) {
agreement {
...AgreementFragment
}
}
}
Variables
{
"input": SwitchToProductInput
}
Response
{
"data": {
"switchToProductOnNextReadingDate": {
"agreement": Agreement
}
}
}