initiateProductSwitch
Do a product switch for a user.
Arguments
Initiate a product switch for a specific supply point given a valid product and account number.
- KT-CT-1111: Unauthorized.
- KT-CT-1113: Disabled GraphQL field requested.
- KT-CT-12402: Unable to accept offer.
- KT-CT-1507: Agreement product switch date is not within the acceptable range.
- KT-CT-1509: Unable to create agreement.
- KT-CT-1516: Requested product switch is not valid.
- KT-CT-15701: Provide exactly one of a quoted product or an offer.
- KT-CT-15702: Offer not found.
- KT-CT-15703: This offer cannot be used for a product switch.
- KT-CT-15704: Unable to determine the supply point for this offer.
- KT-CT-15705: The offer's switch date no longer matches the requested date.
- KT-CT-15706: This offer cannot be accepted at this time.
- KT-CT-15707: An active product switch process already exists for this supply point.
- KT-CT-15708: This offer's quote is missing a component for one of its products.
- KT-CT-15709: This offer's quote component cannot be used for a product switch.
- KT-CT-4619: Quote with given code not found.
- KT-CT-4624: Unable to accept the given product code.
- KT-CT-4626: No product selected for the given quote code.
- KT-CT-4627: No products are available for this quote.
- KT-CT-4640: Unable to get market or client params from quoted product.
- KT-CT-4719: No supply point found for identifier provided.
- KT-CT-4924: Unauthorized.
- KT-CT-7899: An internal error occurred.
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 InitiateProductSwitch($input: InitiateProductSwitchInput!) {
initiateProductSwitch(input: $input) {
productCode
switchDate
}
}
Variables
{
"input": InitiateProductSwitchInput
}
Response
{
"data": {
"initiateProductSwitch": {
"productCode": "degree-speak-wait-who-example",
"switchDate": "1982-04-27"
}
}
}