Mutations
About Mutations
Every GraphQL schema has a root type for both queries and
mutations. The mutation
type
defines GraphQL operations that change data on the server. It is
analogous to performing HTTP verbs such as POST,
PATCH, and DELETE.
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.
acceptGoodsQuote
Type: AcceptGoodsQuote
URL: https://api.oees-kraken.energy/v1/graphql/
Accept a goods quote.
Query Complexity: 1
Possible Errors:
- KT-CT-8201: Received an invalid quoteId.
- KT-CT-8223: Unauthorized.
- KT-CT-8224: Invalid data.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can manage goods purchases
Arguments
| Name | Description |
|---|---|
|
Input fields for accepting a quote. |
Return fields
| Name | Description |
|---|---|
|
Goods purchase created. |
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation AcceptGoodsQuote($input: AcceptGoodsQuoteInput!) {
acceptGoodsQuote(input: $input) {
goodsPurchase {
...GoodsPurchaseFragment
}
}
}
Variables
{
"input": AcceptGoodsQuoteInput
}
Response
{
"data": {
"acceptGoodsQuote": {
"goodsPurchase": GoodsPurchase
}
}
}
acceptOfferForQuoting
Type: AcceptOfferForQuoting
URL: https://api.oees-kraken.energy/v1/graphql/
Accept a quoting offer in an offer group.
Query Complexity: 3
Possible Errors:
- KT-CT-12402: Unable to accept offer.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can create quoting offer group
Arguments
| Name | Description |
|---|---|
|
Input fields for accepting a quoting offer. |
Return fields
| Name | Description |
|---|---|
|
Accepted quoting offer. |
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation AcceptOfferForQuoting($input: AcceptOfferForQuotingInput!) {
acceptOfferForQuoting(input: $input) {
offer {
...OfferTypeFragment
}
}
}
Variables
{
"input": AcceptOfferForQuotingInput
}
Response
{
"data": {
"acceptOfferForQuoting": {
"offer": OfferType
}
}
}
actualizeContract
Type: ActualizeContractOutput!
URL: https://api.oees-kraken.energy/v1/graphql/
Actualize a contract for an account or business.
Query Complexity: 1
Possible Errors:
- KT-CT-10003: Contract not found.
- KT-CT-10007: Unable to terminate contract.
- KT-CT-10008: The contract is currently undergoing an active journey.
- KT-CT-10022: Contract already terminated.
- KT-CT-10023: Contract is already revoked.
- KT-CT-10024: Contract already expired.
- KT-CT-10026: Contract actualization implies breach.
- KT-CT-10039: At least one of the affected fields must be provided.
- KT-CT-10041: Contract is already rescinded.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Arguments
| Name | Description |
|---|---|
|
Return fields
| Name | Description |
|---|---|
|
The contract actualized. |
Mutation
mutation ActualizeContract($input: ActualizeContractInput!) {
actualizeContract(input: $input) {
contract {
...ContractFragment
}
}
}
Variables
{
"input": ActualizeContractInput
}
Response
{
"data": {
"actualizeContract": {
"contract": Contract
}
}
}
addBusinessToSegment
Type: AddBusinessToSegmentMutation
URL: https://api.oees-kraken.energy/v1/graphql/
Add a business to a segment.
Query Complexity: 1
Possible Errors:
- KT-CT-11107: Unauthorized.
- KT-CT-1111: Unauthorized.
- KT-CT-11111: Segment does not exist.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can query businesses AND Can update businesses
Arguments
| Name | Description |
|---|---|
|
Input fields for adding a business to a segment. |
Return fields
| Name | Description |
|---|---|
|
The business segment period that was created. |
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation AddBusinessToSegment($input: AddBusinessToSegmentInput!) {
addBusinessToSegment(input: $input) {
businessSegmentPeriod {
...BusinessSegmentPeriodTypeFragment
}
}
}
Variables
{
"input": AddBusinessToSegmentInput
}
Response
{
"data": {
"addBusinessToSegment": {
"businessSegmentPeriod": BusinessSegmentPeriodType
}
}
}
addCampaignToAccount
Type: AddCampaignToAccount
URL: https://api.oees-kraken.energy/v1/graphql/
Query Complexity: 1
Possible Errors:
- KT-CT-1111: Unauthorized.
- KT-CT-4123: Unauthorized.
- KT-CT-7427: No campaign found with given slug.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can add campaign to account
Arguments
| Name | Description |
|---|---|
|
Input variables needed for adding a campaign to an account. |
Return fields
| Name | Description |
|---|---|
|
Whether the campaign was successfully added. |
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation AddCampaignToAccount($input: AddCampaignToAccountInput!) {
addCampaignToAccount(input: $input) {
campaignAdded
}
}
Variables
{
"input": AddCampaignToAccountInput
}
Response
{
"data": {
"addCampaignToAccount": {
"campaignAdded": true
}
}
}
addChildToProperty
Type: AddChildToProperty
URL: https://api.oees-kraken.energy/v1/graphql/
Add a child property to a parent property in a hierarchy.
If the child is already in the hierarchy with a different parent, it will be reparented. If the child is already a child of the specified parent, this operation is idempotent and does nothing.
Query Complexity: 1
Possible Errors:
- KT-CT-1111: Unauthorized.
- KT-CT-6622: Unauthorized.
- KT-CT-6634: Unable to add child to property.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can manage property hierarchies
Arguments
| Name | Description |
|---|---|
|
Input fields for adding a child to a parent property. |
Return fields
| Name | Description |
|---|---|
|
The child property that was added to the parent. |
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation AddChildToProperty($input: AddChildToPropertyInput!) {
addChildToProperty(input: $input) {
child {
...PropertyTypeFragment
}
}
}
Variables
{
"input": AddChildToPropertyInput
}
Response
{
"data": {
"addChildToProperty": {
"child": PropertyType
}
}
}
addItemsToRiskList
Type: AddItemsToRiskList
URL: https://api.oees-kraken.energy/v1/graphql/
Add items to the risk list.
Query Complexity: 1
Possible Errors:
- KT-CT-12105: Risk list item addition failed.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can edit risk list
Arguments
| Name | Description |
|---|---|
|
A list of risk list items to add. |
Return fields
| Name | Description |
|---|---|
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
|
List of successfully added risk identifiers. |
Mutation
mutation AddItemsToRiskList($input: [RiskListItemInputType]!) {
addItemsToRiskList(input: $input) {
riskIdentifiers {
...RiskListItemTypeFragment
}
}
}
Variables
{
"input": RiskListItemInputType
}
Response
{
"data": {
"addItemsToRiskList": {
"riskIdentifiers": [RiskListItemType]
}
}
}
addNoteToInkConversation
Type: AddNoteToInkConversation
URL: https://api.oees-kraken.energy/v1/graphql/
Query Complexity: 1
Possible Errors:
- KT-CT-7612: The Ink conversation was not found.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can add note to conversation
Arguments
| Name | Description |
|---|---|
|
Return fields
| Name | Description |
|---|---|
|
The ink conversation note. |
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation AddNoteToInkConversation($input: AddNoteToInkConversationInput) {
addNoteToInkConversation(input: $input) {
note {
...InkNoteFragment
}
}
}
Variables
{
"input": AddNoteToInkConversationInput
}
Response
{
"data": {
"addNoteToInkConversation": {
"note": InkNote
}
}
}
addParentToProperty
Type: AddParentToProperty
URL: https://api.oees-kraken.energy/v1/graphql/
Add a parent property to a child property in a hierarchy.
If the child is already in the hierarchy with a different parent, it will be reparented. If the child is already a child of the specified parent, this operation is idempotent and does nothing.
Query Complexity: 1
Possible Errors:
- KT-CT-1111: Unauthorized.
- KT-CT-6622: Unauthorized.
- KT-CT-6635: Unable to add parent to property.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can manage property hierarchies
Arguments
| Name | Description |
|---|---|
|
Input fields for adding a parent to a child property. |
Return fields
| Name | Description |
|---|---|
|
The parent property that was added to the child. |
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation AddParentToProperty($input: AddParentToPropertyInput!) {
addParentToProperty(input: $input) {
parent {
...PropertyTypeFragment
}
}
}
Variables
{
"input": AddParentToPropertyInput
}
Response
{
"data": {
"addParentToProperty": {
"parent": PropertyType
}
}
}
addPortfolioReference
Type: AddPortfolioReference
URL: https://api.oees-kraken.energy/v1/graphql/
Mutation to add a reference to an existing portfolio.
Query Complexity: 1
Possible Errors:
- KT-CT-9403: Received an invalid portfolioId.
- KT-CT-9408: Invalid portfolio number format.
- KT-CT-9409: Invalid portfolio reference.
- KT-CT-9410: Conflicting portfolio reference.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can create portfolios
Arguments
| Name | Description |
|---|---|
|
Input fields for adding a reference to a portfolio. |
Return fields
| Name | Description |
|---|---|
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation AddPortfolioReference($input: AddPortfolioReferenceInput) {
addPortfolioReference(input: $input) {
}
}
Variables
{
"input": AddPortfolioReferenceInput
}
Response
{
"data": {
"addPortfolioReference": {
}
}
}
addProperty
Type: AddProperty
URL: https://api.oees-kraken.energy/v1/graphql/
Add a property to an account.
Query Complexity: 1
Possible Errors:
- KT-CT-6623: Unauthorized.
- KT-CT-6629: Invalid data.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can create property
Rate Limits
| Key | Steps |
|---|---|
User |
['5/m'] |
Arguments
| Name | Description |
|---|---|
|
Input fields for adding a property to an account. |
Return fields
| Name | Description |
|---|---|
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
|
The property that was added to the account. |
Mutation
mutation AddProperty($input: AddPropertyInput!) {
addProperty(input: $input) {
property {
...PropertyTypeFragment
}
}
}
Variables
{
"input": AddPropertyInput
}
Response
{
"data": {
"addProperty": {
"property": PropertyType
}
}
}
addPropertyToHierarchy
Type: AddPropertyToHierarchy
URL: https://api.oees-kraken.energy/v1/graphql/
Add a property to a hierarchy as a root node.
If the property is already a root node in the hierarchy, this operation is idempotent. If the property is already in the hierarchy as a child, an error will be raised.
Query Complexity: 1
Possible Errors:
- KT-CT-6622: Unauthorized.
- KT-CT-6633: Property is already in the hierarchy as a child.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can manage property hierarchies
Arguments
| Name | Description |
|---|---|
|
Input fields for adding a property to a hierarchy. |
Return fields
| Name | Description |
|---|---|
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
|
The property that was added to the hierarchy. |
Mutation
mutation AddPropertyToHierarchy($input: AddPropertyToHierarchyInput!) {
addPropertyToHierarchy(input: $input) {
property {
...PropertyTypeFragment
}
}
}
Variables
{
"input": AddPropertyToHierarchyInput
}
Response
{
"data": {
"addPropertyToHierarchy": {
"property": PropertyType
}
}
}
addSignupReferralOnAccount
Type: AddSignupReferralOnAccount
URL: https://api.oees-kraken.energy/v1/graphql/
Add a one-way signup reward to a referral.
Query Complexity: 1
Possible Errors:
- KT-CT-6710: Unable to create referral.
- KT-CT-6712: Invalid reference.
- KT-CT-6713: Referring and referred account brands do not match.
- KT-CT-6723: Unauthorized.
- KT-CT-6728: This referral scheme's usage is at capacity.
- KT-CT-6729: This scheme cannot be applied to given account.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can create referrals
Rate Limits
| Key | Steps |
|---|---|
User |
['5/m'] |
Arguments
| Name | Description |
|---|---|
|
Input fields for creating a signup reward for an organization. |
Return fields
| Name | Description |
|---|---|
|
The created account referral instance. |
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation AddSignupReferralOnAccount($input: AddSignupReferralOnAccountInput!) {
addSignupReferralOnAccount(input: $input) {
accountReferral {
...ReferralTypeFragment
}
}
}
Variables
{
"input": AddSignupReferralOnAccountInput
}
Response
{
"data": {
"addSignupReferralOnAccount": {
"accountReferral": ReferralType
}
}
}
addStorylineToInkConversation
Type: AddStorylineToInkConversation
URL: https://api.oees-kraken.energy/v1/graphql/
Query Complexity: 1
Possible Errors:
- KT-CT-7612: The Ink conversation was not found.
- KT-CT-7651: Only one storyline entry can be marked as the root cause.
- KT-CT-7657: The provided analyzer result data is invalid.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can add storyline to conversation
Arguments
| Name | Description |
|---|---|
Return fields
| Name | Description |
|---|---|
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
|
The storyline that was added to the conversation. |
Mutation
mutation AddStorylineToInkConversation($input: AddStorylineToInkConversationInput) {
addStorylineToInkConversation(input: $input) {
storyline {
...InkStorylineFragment
}
}
}
Variables
{
"input": AddStorylineToInkConversationInput
}
Response
{
"data": {
"addStorylineToInkConversation": {
"storyline": InkStoryline
}
}
}
addUserToPortfolio
Type: AddUserToPortfolio
URL: https://api.oees-kraken.energy/v1/graphql/
Add an user to a portfolio with a specified role.
Query Complexity: 1
Possible Errors:
- KT-CT-5461: Invalid role code.
- KT-CT-5462: Invalid user number format.
- KT-CT-5463: Unauthorized.
- KT-CT-9407: Unauthorized.
- KT-CT-9408: Invalid portfolio number format.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can allocate user roles
Arguments
| Name | Description |
|---|---|
|
Input fields for adding a user to a portfolio. |
Return fields
| Name | Description |
|---|---|
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation AddUserToPortfolio($input: AddUserToPortfolioInput!) {
addUserToPortfolio(input: $input) {
}
}
Variables
{
"input": AddUserToPortfolioInput
}
Response
{
"data": {
"addUserToPortfolio": {
}
}
}
allowRepaymentSubmission
Type: AllowRepaymentSubmission
URL: https://api.oees-kraken.energy/v1/graphql/
Allow a repayment to be submitted.
Query Complexity: 1
Possible Errors:
- KT-CT-3944: Account repayment does not exist.
- KT-CT-3945: Unable to allow a repayment to be submitted.
- KT-CT-3950: The provided reason text is too long.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can create repayment interventions
Arguments
| Name | Description |
|---|---|
|
Input variable needed for allowing repayment submission. |
Return fields
| Name | Description |
|---|---|
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
|
The repayment ID. |
|
Resulting Repayment Intervention details. |
Mutation
mutation AllowRepaymentSubmission($input: RepaymentInput!) {
allowRepaymentSubmission(input: $input) {
repaymentId
repaymentIntervention {
...RepaymentInterventionTypeFragment
}
}
}
Variables
{
"input": RepaymentInput
}
Response
{
"data": {
"allowRepaymentSubmission": {
"repaymentId": "80582196",
"repaymentIntervention": RepaymentInterventionType
}
}
}
amendPayment
Type: AmendPayment
URL: https://api.oees-kraken.energy/v1/graphql/
Amend an existing payment.
Query Complexity: 1
Possible Errors:
- KT-CT-3924: Unauthorized.
- KT-CT-3970: The account cannot amend payments.
- KT-CT-4123: Unauthorized.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can access customer queries
OR Can amend payments
Arguments
| Name | Description |
|---|---|
|
Input fields for amending an existing payment. |
Return fields
| Name | Description |
|---|---|
|
|
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation AmendPayment($input: AmendPaymentInput!) {
amendPayment(input: $input) {
payment {
...AccountPaymentTypeFragment
}
}
}
Variables
{
"input": AmendPaymentInput
}
Response
{
"data": {
"amendPayment": {
"payment": AccountPaymentType
}
}
}
approveRepayment
Type: ApproveRepayment
URL: https://api.oees-kraken.energy/v1/graphql/
Approve a repayment.
Query Complexity: 1
Possible Errors:
- KT-CT-3934: Repayment request already approved.
- KT-CT-3935: Repayment request cannot be paid.
- KT-CT-3959: Unauthorized.
- KT-CT-3973: Repayment request is not in a state to be approved.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can approve repayments
Arguments
| Name | Description |
|---|---|
|
Input fields for approving a repayment. |
Return fields
| Name | Description |
|---|---|
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
|
The approved repayment. |
Mutation
mutation ApproveRepayment($input: ApproveRepaymentInput!) {
approveRepayment(input: $input) {
repayment {
...AccountRepaymentTypeFragment
}
}
}
Variables
{
"input": ApproveRepaymentInput
}
Response
{
"data": {
"approveRepayment": {
"repayment": AccountRepaymentType
}
}
}
assessCollectionProcessRecordForPause
Type: AssessCollectionProcessRecordForPause
URL: https://api.oees-kraken.energy/v1/graphql/
Assess a collection process record for pause.
Query Complexity: 1
Possible Errors:
- KT-CT-1111: Unauthorized.
- KT-CT-11201: No Collection Process Records associated with id.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can update collection process record to pause
Arguments
| Name | Description |
|---|---|
|
Details of collection process to run the pause assessment. |
Return fields
| Name | Description |
|---|---|
|
Details of collection process after running the pause assessment. |
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation AssessCollectionProcessRecordForPause($input: AssessCollectionProcessRecordForPauseInputType!) {
assessCollectionProcessRecordForPause(input: $input) {
collectionProcessProcessed {
...AssessCollectionProcessRecordForPauseOutputTypeFragment
}
}
}
Variables
{
"input": AssessCollectionProcessRecordForPauseInputType
}
Response
{
"data": {
"assessCollectionProcessRecordForPause": {
"collectionProcessProcessed": AssessCollectionProcessRecordForPauseOutputType
}
}
}
assignInkBucket
Type: AssignInkBucket
URL: https://api.oees-kraken.energy/v1/graphql/
Query Complexity: 1
Possible Errors:
- KT-CT-7612: The Ink conversation was not found.
- KT-CT-7613: The Ink bucket was not found.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can assign ink bucket
Arguments
| Name | Description |
|---|---|
|
Return fields
| Name | Description |
|---|---|
|
The bucket that the conversation will be assigned to. |
|
The conversation that will be assigned to the bucket. |
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation AssignInkBucket($input: AssignInkBucketInput) {
assignInkBucket(input: $input) {
bucket {
...InkBucketFragment
}
conversation {
...InkConversationFragment
}
}
}
Variables
{
"input": AssignInkBucketInput
}
Response
{
"data": {
"assignInkBucket": {
"bucket": InkBucket,
"conversation": InkConversation
}
}
}
assignSupplyPointToEstimationGroup
Type: AssignSupplyPointToEstimationGroup
URL: https://api.oees-kraken.energy/v1/graphql/
Query Complexity: 1
Possible Errors:
- KT-CT-1111: Unauthorized.
- KT-CT-13601: Estimation Group does not exist.
- KT-CT-13602: Supply Point already has an Estimation Group.
- KT-CT-13603: Supply Point does not exist.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can manage supply point estimation group
Arguments
| Name | Description |
|---|---|
|
Input fields for assigning a supply point to an estimation group. |
Return fields
| Name | Description |
|---|---|
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
|
The created supply point estimation group mapping. |
Mutation
mutation AssignSupplyPointToEstimationGroup($input: AssignSupplyPointToEstimationGroupInput!) {
assignSupplyPointToEstimationGroup(input: $input) {
supplyPointEstimationGroup {
...AssignedSupplyPointEstimationGroupTypeFragment
}
}
}
Variables
{
"input": AssignSupplyPointToEstimationGroupInput
}
Response
{
"data": {
"assignSupplyPointToEstimationGroup": {
"supplyPointEstimationGroup": AssignedSupplyPointEstimationGroupType
}
}
}
associateArchivedCallRecordingsWithCalls
Type: AssociateArchivedCallRecordingsWithCalls
URL: https://api.oees-kraken.energy/v1/graphql/
Query Complexity: 6
Possible Errors:
- KT-CT-11818: Invalid archived call recordings input.
- KT-CT-11820: Too many recordings to associate in a single request.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can associate archived call recordings
Arguments
| Name | Description |
|---|---|
|
Input for associating archived call recordings with calls. |
Return fields
| Name | Description |
|---|---|
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
|
Per-recording processing results. |
|
Summary counts of the processing results. |
Mutation
mutation AssociateArchivedCallRecordingsWithCalls($input: AssociateArchivedCallRecordingsWithCallsInput!) {
associateArchivedCallRecordingsWithCalls(input: $input) {
results {
...AssociateArchivedRecordingResultTypeFragment
}
summary {
...AssociateArchivedRecordingsSummaryTypeFragment
}
}
}
Variables
{
"input": AssociateArchivedCallRecordingsWithCallsInput
}
Response
{
"data": {
"associateArchivedCallRecordingsWithCalls": {
"results": [AssociateArchivedRecordingResultType],
"summary": AssociateArchivedRecordingsSummaryType
}
}
}
associateCallWithAccount
Type: AssociateCallWithAccount
URL: https://api.oees-kraken.energy/v1/graphql/
Query Complexity: 1
Possible Errors:
- KT-CT-11802: Call not found.
- KT-CT-11808: Unable to associate account to call.
- KT-CT-11817: Invalid call ID.
- KT-CT-4178: No account found with given account number.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can manage calls
Arguments
| Name | Description |
|---|---|
|
Return fields
| Name | Description |
|---|---|
|
The call. |
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation AssociateCallWithAccount($input: AssociateCallWithAccountInput!) {
associateCallWithAccount(input: $input) {
call {
...InboundCallTypeFragment
}
}
}
Variables
{
"input": AssociateCallWithAccountInput
}
Response
{
"data": {
"associateCallWithAccount": {
"call": InboundCallType
}
}
}
associateItemToCollectionProcess
Type: AssociateItemToCollectionProcess
URL: https://api.oees-kraken.energy/v1/graphql/
Associate item to a collection process.
Query Complexity: 1
Possible Errors:
- KT-CT-1111: Unauthorized.
- KT-CT-11201: No Collection Process Records associated with id.
- KT-CT-11205: Item already associated to collection process.
- KT-CT-11216: Invalid extra_details for associated item type.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can associate item to collection process
Arguments
| Name | Description |
|---|---|
|
Input variables needed for associating an item to collection process. |
Return fields
| Name | Description |
|---|---|
|
Item associated to the collection process. |
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation AssociateItemToCollectionProcess($input: AssociateItemToCollectionProcessInputType!) {
associateItemToCollectionProcess(input: $input) {
collectionProcessAssociatedItem {
...AssociateItemToCollectionProcessOutputTypeFragment
}
}
}
Variables
{
"input": AssociateItemToCollectionProcessInputType
}
Response
{
"data": {
"associateItemToCollectionProcess": {
"collectionProcessAssociatedItem": AssociateItemToCollectionProcessOutputType
}
}
}
attachAgreementsToContracts
Type: AttachAgreementsToContractsOutput!
URL: https://api.oees-kraken.energy/v1/graphql/
Attach a list of agreements to one or both contract types.
Query Complexity: 1
Possible Errors:
- KT-CT-10003: Contract not found.
- KT-CT-10042: One or more agreements are already attached to a different contract.
- KT-CT-10043: At least one contract identifier must be provided.
- KT-CT-1501: Agreement not found.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Arguments
| Name | Description |
|---|---|
|
Input for attaching agreements to contracts. |
Return fields
| Name | Description |
|---|---|
|
True if the agreements were successfully attached. |
Mutation
mutation AttachAgreementsToContracts($input: AttachAgreementsToContractsInput!) {
attachAgreementsToContracts(input: $input) {
ok
}
}
Variables
{
"input": AttachAgreementsToContractsInput
}
Response
{
"data": {
"attachAgreementsToContracts": {
"ok": true
}
}
}
awardLoyaltyPoints
Type: AwardLoyaltyPoints
URL: https://api.oees-kraken.energy/v1/graphql/
Award the passed number of Loyalty Points to the account.
Query Complexity: 1
Possible Errors:
- KT-CT-1111: Unauthorized.
- KT-CT-9202: Loyalty Points adapter not configured.
- KT-CT-9204: Negative or zero points set.
- KT-CT-9208: Invalid posted at datetime.
- KT-CT-9210: Unhandled Loyalty Points exception.
- KT-CT-9211: Invalid reason for loyalty points award.
- KT-CT-9212: Points exceed maximum limit.
- KT-CT-9219: Loyalty points user not found.
- KT-CT-9221: Idempotency key already used on ledger entry.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can add loyalty points
Arguments
| Name | Description |
|---|---|
|
Input fields for awarding Loyalty Points. |
Return fields
| Name | Description |
|---|---|
|
The ledger entry for the awarded loyalty points. |
|
The number of loyalty points that were awarded. |
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation AwardLoyaltyPoints($input: AwardLoyaltyPointsInput!) {
awardLoyaltyPoints(input: $input) {
ledgerEntry {
...LoyaltyPointLedgerEntryTypeFragment
}
pointsAwarded
}
}
Variables
{
"input": AwardLoyaltyPointsInput
}
Response
{
"data": {
"awardLoyaltyPoints": {
"ledgerEntry": LoyaltyPointLedgerEntryType,
"pointsAwarded": 88
}
}
}
backendScreenEvent
Type: BackendScreenEvent
URL: https://api.oees-kraken.energy/v1/graphql/
Look up an event to perform from its event_id, and return the next action to perform.
Query Complexity: 1
Possible Errors:
- KT-CT-1111: Unauthorized.
- KT-CT-8002: No event found.
- KT-CT-8003: Event has no execute function.
- KT-CT-8004: Error executing event in the backend.
- KT-CT-8007: Incorrect or missing parameters for backend screen event.
- KT-GB-9310: Account ineligible for joining Octoplus.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Arguments
| Name | Description |
|---|---|
|
Input fields for performing a backend action. |
Return fields
| Name | Description |
|---|---|
|
An action to perform. |
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation BackendScreenEvent($input: BackendScreenEventInput!) {
backendScreenEvent(input: $input) {
action {
... on BackendScreenEventActionType {
...BackendScreenEventActionTypeFragment
}
... on CloseActionType {
...CloseActionTypeFragment
}
... on DeeplinkActionType {
...DeeplinkActionTypeFragment
}
... on LinkActionType {
...LinkActionTypeFragment
}
... on ScreenActionType {
...ScreenActionTypeFragment
}
... on ShowInputFieldErrorsActionType {
...ShowInputFieldErrorsActionTypeFragment
}
}
}
}
Variables
{
"input": BackendScreenEventInput
}
Response
{
"data": {
"backendScreenEvent": {
"action": BackendScreenEventActionType
}
}
}
blockRepaymentSubmission
Type: BlockRepaymentSubmission
URL: https://api.oees-kraken.energy/v1/graphql/
Block a repayment from being submitted.
Query Complexity: 1
Possible Errors:
- KT-CT-3944: Account repayment does not exist.
- KT-CT-3946: Unable to block a repayment from being submitted.
- KT-CT-3950: The provided reason text is too long.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can create repayment interventions
Arguments
| Name | Description |
|---|---|
|
Input variable needed for blocking repayment submission. |
Return fields
| Name | Description |
|---|---|
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
|
The repayment ID. |
|
Resulting Repayment Intervention details. |
Mutation
mutation BlockRepaymentSubmission($input: RepaymentInput!) {
blockRepaymentSubmission(input: $input) {
repaymentId
repaymentIntervention {
...RepaymentInterventionTypeFragment
}
}
}
Variables
{
"input": RepaymentInput
}
Response
{
"data": {
"blockRepaymentSubmission": {
"repaymentId": "21684075",
"repaymentIntervention": RepaymentInterventionType
}
}
}
bulkAwardLoyaltyPoints
Type: BulkAwardLoyaltyPoints
URL: https://api.oees-kraken.energy/v1/graphql/
Award Loyalty Points to multiple accounts in a single request.
Query Complexity: 3
Possible Errors:
- KT-CT-1111: Unauthorized.
- KT-CT-9202: Loyalty Points adapter not configured.
- KT-CT-9212: Points exceed maximum limit.
- KT-CT-9221: Idempotency key already used on ledger entry.
- KT-CT-9224: Duplicate idempotency keys provided in requested awards.
- KT-CT-9225: Bulk award batch size exceeds the maximum limit.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can add loyalty points
Arguments
| Name | Description |
|---|---|
|
Input fields for bulk awarding Loyalty Points. |
Return fields
| Name | Description |
|---|---|
|
Failed loyalty point awards. |
|
|
Successfully inserted loyalty point awards. |
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation BulkAwardLoyaltyPoints($input: BulkAwardLoyaltyPointsInput!) {
bulkAwardLoyaltyPoints(input: $input) {
failed {
...BulkAwardLoyaltyPointsFailedItemResultFragment
}
inserted {
...BulkAwardLoyaltyPointsInsertedItemResultFragment
}
}
}
Variables
{
"input": BulkAwardLoyaltyPointsInput
}
Response
{
"data": {
"bulkAwardLoyaltyPoints": {
"failed": [BulkAwardLoyaltyPointsFailedItemResult],
"inserted": [BulkAwardLoyaltyPointsInsertedItemResult]
}
}
}
cancelEnrollment
Type: EnrollmentCancelled!
URL: https://api.oees-kraken.energy/v1/graphql/
Cancel an enrollment for an account and a set of supply points.
Query Complexity: 1
Possible Errors:
- KT-CT-10312: Mutation not enabled in this environment.
- KT-CT-10318: Enrollment process not found.
- KT-CT-10319: Enrollment process failed to cancel.
- KT-CT-10320: Enrollment process not cancellable.
- KT-CT-10321: Enrollment cancellation workflow not defined.
- KT-CT-10323: Enrollment process failed to cancel.
- KT-CT-10331: Missing required process number.
- KT-CT-10338: Enrollment process cannot be cancelled.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Arguments
| Name | Description |
|---|---|
|
Return fields
| Name | Description |
|---|---|
|
The Enrollment process that was cancelled. |
|
The message to display to the user on Enrollment initiation. |
Mutation
mutation CancelEnrollment($input: CancelEnrollmentInput!) {
cancelEnrollment(input: $input) {
enrollmentProcess {
... on JoinSupplierProcessType {
...JoinSupplierProcessTypeFragment
}
... on OccupyPropertyProcessType {
...OccupyPropertyProcessTypeFragment
}
}
message
}
}
Variables
{
"input": CancelEnrollmentInput
}
Response
{
"data": {
"cancelEnrollment": {
"enrollmentProcess": JoinSupplierProcessType,
"message": "she-person-themselves-explain-teacher"
}
}
}
cancelLeaveSupplier
Type: LeaveSupplierCancelled!
URL: https://api.oees-kraken.energy/v1/graphql/
Cancel a leave supplier process.
Query Complexity: 1
Possible Errors:
- KT-CT-10302: Invalid data.
- KT-CT-10304: Mutation not enabled in this environment.
- KT-CT-10305: Failed to cancel leave supplier process - market actions are no longer cancellable.
- KT-CT-10306: Failed to cancel leave supplier process - the cancellation workflow has not been configured.
- KT-CT-10307: Failed to cancel leave supplier process - failed to cancel market actions.
- KT-CT-10308: Failed to cancel leave supplier process.
- KT-CT-10311: Failed to cancel leave supplier process. The process status is not in cancellable status.
- KT-CT-1607: Value cannot be empty.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Arguments
| Name | Description |
|---|---|
|
Return fields
| Name | Description |
|---|---|
|
The message to display to the user on cancellation. |
Mutation
mutation CancelLeaveSupplier($input: CancelLeaveSupplierInput!) {
cancelLeaveSupplier(input: $input) {
message
}
}
Variables
{
"input": CancelLeaveSupplierInput
}
Response
{
"data": {
"cancelLeaveSupplier": {
"message": "magazine-very-clear-will-manage"
}
}
}
cancelPayment
Type: CancelPayment
URL: https://api.oees-kraken.energy/v1/graphql/
Cancel an in-flight payment.
Query Complexity: 1
Possible Errors:
- KT-CT-3924: Unauthorized.
- KT-CT-3954: Payment cancellation failed.
- KT-CT-3955: Payment cannot be cancelled.
- KT-CT-3956: Temporary error occurred.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can cancel payments
Arguments
| Name | Description |
|---|---|
|
Input fields for cancelling a pending payment. |
Return fields
| Name | Description |
|---|---|
|
The cancelled payment. |
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation CancelPayment($input: CancelPaymentInput!) {
cancelPayment(input: $input) {
payment {
...AccountPaymentTypeFragment
}
}
}
Variables
{
"input": CancelPaymentInput
}
Response
{
"data": {
"cancelPayment": {
"payment": AccountPaymentType
}
}
}
cancelRepaymentRequest
Type: CancelRepaymentRequest
URL: https://api.oees-kraken.energy/v1/graphql/
Cancel a repayment or refund request.
Query Complexity: 1
Possible Errors:
- KT-CT-3930: The repayment or refund request does not exist.
- KT-CT-3931: This repayment or refund request cannot be cancelled.
- KT-CT-4231: Unauthorized.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Arguments
| Name | Description |
|---|---|
|
Input fields for cancelling a repayment request. |
Return fields
| Name | Description |
|---|---|
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
|
The cancelled repayment/refund request. |
Mutation
mutation CancelRepaymentRequest($input: CancelRepaymentRequestInputType!) {
cancelRepaymentRequest(input: $input) {
repaymentRequest {
...CancelRepaymentRequestOutputTypeFragment
}
}
}
Variables
{
"input": CancelRepaymentRequestInputType
}
Response
{
"data": {
"cancelRepaymentRequest": {
"repaymentRequest": CancelRepaymentRequestOutputType
}
}
}
cancelSmartFlexOnboarding
Type: CancelSmartFlexOnboarding
URL: https://api.oees-kraken.energy/v1/graphql/
Cancel onboarding of a device with SmartFlex.
Query Complexity: 1
Possible Errors:
- KT-CT-1111: Unauthorized.
- KT-CT-4371: Onboarding wizard ID is invalid.
- KT-CT-4372: Simultaneous attempts to update onboarding process.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can register smartflex devices
Arguments
| Name | Description |
|---|---|
|
Return fields
| Name | Description |
|---|---|
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
|
The wizard created for onboarding the device with SmartFlex. |
Mutation
mutation CancelSmartFlexOnboarding($input: CancelSmartFlexOnboardingInput!) {
cancelSmartFlexOnboarding(input: $input) {
wizard {
...SmartFlexOnboardingWizardFragment
}
}
}
Variables
{
"input": CancelSmartFlexOnboardingInput
}
Response
{
"data": {
"cancelSmartFlexOnboarding": {
"wizard": SmartFlexOnboardingWizard
}
}
}
checkCreditRisk
Type: CheckCreditRisk
URL: https://api.oees-kraken.energy/v1/graphql/
Check the credit risk for an account.
Query Complexity: 1
Possible Errors:
- KT-CT-3921: Account not found.
- KT-CT-5518: Account user not found.
- KT-CT-5523: Invalid account or account user.
- KT-ES-10701: Default property not found.
- KT-ES-10702: Credit check only available for domestic accounts.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can run credit check
Arguments
| Name | Description |
|---|---|
|
Return fields
| Name | Description |
|---|---|
|
Indicates whether the user has passed the credit risk check. |
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation CheckCreditRisk($input: CheckCreditRiskInput!) {
checkCreditRisk(input: $input) {
passedCreditCheck
}
}
Variables
{
"input": CheckCreditRiskInput
}
Response
{
"data": {
"checkCreditRisk": {
"passedCreditCheck": true
}
}
}
closeDcaProceeding
Type: CloseDCAProceeding
URL: https://api.oees-kraken.energy/v1/graphql/
Close the DCA proceeding for an account.
Query Complexity: 1
Possible Errors:
- KT-CT-11602: Could not find DCA with that name.
- KT-CT-11603: Could not stop debt collection proceeding.
- KT-CT-11604: Active debt collection proceeding does not exist for account.
- KT-CT-11605: Multiple active Proceeding's found for same agency and campaign on account.
- KT-CT-4178: No account found with given account number.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can update dca proceedings
Arguments
| Name | Description |
|---|---|
|
Return fields
| Name | Description |
|---|---|
|
Whether the closure could be applied. |
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation CloseDcaProceeding($input: CloseDCAProceedingInputType!) {
closeDcaProceeding(input: $input) {
dcaProceedingClosureStatus {
...DCAProceedingClosureStatusFragment
}
}
}
Variables
{
"input": CloseDCAProceedingInputType
}
Response
{
"data": {
"closeDcaProceeding": {
"dcaProceedingClosureStatus": DCAProceedingClosureStatus
}
}
}
closeInkConversation
Type: CloseInkConversation
URL: https://api.oees-kraken.energy/v1/graphql/
Query Complexity: 1
Possible Errors:
- KT-CT-7612: The Ink conversation was not found.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can update ink conversation status
Arguments
| Name | Description |
|---|---|
|
Input for closing an Ink conversation. |
Return fields
| Name | Description |
|---|---|
|
The conversation that was closed. |
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation CloseInkConversation($input: CloseInkConversationInput) {
closeInkConversation(input: $input) {
conversation {
...InkConversationFragment
}
}
}
Variables
{
"input": CloseInkConversationInput
}
Response
{
"data": {
"closeInkConversation": {
"conversation": InkConversation
}
}
}
closeInkLiveChat
Type: CloseInkLiveChatConversation
URL: https://api.oees-kraken.energy/v1/graphql/
Query Complexity: 1
Possible Errors:
- KT-CT-7616: Not yet implemented.
- KT-CT-7643: The Live Chat was not found.
- KT-CT-7644: Ink Live Chat conversation not found.
- KT-CT-7652: Unauthorized.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can manage ink live chat
Arguments
| Name | Description |
|---|---|
Return fields
| Name | Description |
|---|---|
|
The live chat conversation. |
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation CloseInkLiveChat($input: CloseInkLiveChaConversationtInput) {
closeInkLiveChat(input: $input) {
liveChatConversation {
...InkLiveChatConversationFragment
}
}
}
Variables
{
"input": CloseInkLiveChaConversationtInput
}
Response
{
"data": {
"closeInkLiveChat": {
"liveChatConversation": InkLiveChatConversation
}
}
}
closeOpenPrintBatch
Type: CloseOpenPrintBatch!
URL: https://api.oees-kraken.energy/v1/graphql/
Close the Open Print Batch if any.
Query Complexity: 1
Possible Errors:
- KT-CT-9010: Invalid data.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Return fields
| Name | Description |
|---|---|
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
|
Mutation
mutation CloseOpenPrintBatch {
closeOpenPrintBatch {
printBatch {
...PrintBatchTypeFragment
}
}
}
Response
{
"data": {
"closeOpenPrintBatch": {
"printBatch": PrintBatchType
}
}
}
collectDeposit
Type: CollectDeposit
URL: https://api.oees-kraken.energy/v1/graphql/
Collect deposit for the given account.
Query Complexity: 6
Possible Errors:
- KT-CT-4177: Unauthorized.
- KT-CT-5711: No collection is required.
- KT-CT-5712: Deposit agreement does not exist or has not been accepted.
- KT-CT-5713: Payment instruction is not usable.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can perform payments operations AND Can use deposit system
Arguments
| Name | Description |
|---|---|
|
Return fields
| Name | Description |
|---|---|
|
|
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation CollectDeposit($input: CollectDepositInput!) {
collectDeposit(input: $input) {
payment {
...CollectDepositOutputFragment
}
}
}
Variables
{
"input": CollectDepositInput
}
Response
{
"data": {
"collectDeposit": {
"payment": CollectDepositOutput
}
}
}
collectPayment
Type: CollectPayment
URL: https://api.oees-kraken.energy/v1/graphql/
Attempt to collect a one-off payment. If an instruction type is provided and there is an existing payment instruction, the payment can be collected immediately. A request to collect a payment at a future date can also be made, in which case the instruction input type is not necessary, but an instruction must exist at the specified collection date for the payment to be collected successfully.
Query Complexity: 1
Possible Errors:
- KT-CT-3820: Received both ledger ID and number.
- KT-CT-3821: Received neither ledger ID nor ledger number.
- KT-CT-3932: Invalid data.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can access customer queries
OR Can collect payments
Arguments
| Name | Description |
|---|---|
|
Input fields for collecting a payment. |
Return fields
| Name | Description |
|---|---|
|
Details about the collected payment. Note that we might not be able to collect the payment (e.g. if there is no usable payment instruction), in which case the status of the returned payment might be failed or cancelled. |
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation CollectPayment($input: CollectPaymentInput!) {
collectPayment(input: $input) {
payment {
...AccountPaymentTypeFragment
}
}
}
Variables
{
"input": CollectPaymentInput
}
Response
{
"data": {
"collectPayment": {
"payment": AccountPaymentType
}
}
}
commenceDcaProceeding
Type: CommenceDCAProceeding
URL: https://api.oees-kraken.energy/v1/graphql/
Add commencement to an account.
Query Complexity: 1
Possible Errors:
- KT-CT-11601: Cannot start collection proceeding, proceeding for this account already exists.
- KT-CT-11602: Could not find DCA with that name.
- KT-CT-11606: Debt Collection Agency cannot use campaign.
- KT-CT-11607: Invalid ledger number for debt collection proceeding.
- KT-CT-11608: Ledger does not belong to account.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can update dca proceedings
Arguments
| Name | Description |
|---|---|
|
Return fields
| Name | Description |
|---|---|
|
Whether the commencement could be applied. |
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation CommenceDcaProceeding($input: CommenceDCAProceedingInputType!) {
commenceDcaProceeding(input: $input) {
dcaProceedingCommencementStatus {
...DCAProceedingCommencementStatusFragment
}
}
}
Variables
{
"input": CommenceDCAProceedingInputType
}
Response
{
"data": {
"commenceDcaProceeding": {
"dcaProceedingCommencementStatus": DCAProceedingCommencementStatus
}
}
}
completeApproval
Type: CompleteApproval
URL: https://api.oees-kraken.energy/v1/graphql/
Complete an approval by marking it as approved or rejected.
Query Complexity: 1
Possible Errors:
- KT-CT-14801: Approval not found.
- KT-CT-14802: Invalid input for completing approval.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can complete approvals
Arguments
| Name | Description |
|---|---|
|
Input for completing the approval. |
Return fields
| Name | Description |
|---|---|
|
The result of completing the approval. |
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation CompleteApproval($input: CompleteApprovalInputType!) {
completeApproval(input: $input) {
completedApproval {
...CompletedApprovalFragment
}
}
}
Variables
{
"input": CompleteApprovalInputType
}
Response
{
"data": {
"completeApproval": {
"completedApproval": CompletedApproval
}
}
}
completeAuthFlowForSmartFlexOnboarding
Type: CompleteAuthFlowForSmartFlexOnboarding
URL: https://api.oees-kraken.energy/v1/graphql/
Complete the authentication flow to proceed in the onboarding journey.
Query Complexity: 1
Possible Errors:
- KT-CT-1111: Unauthorized.
- KT-CT-4371: Onboarding wizard ID is invalid.
- KT-CT-4372: Simultaneous attempts to update onboarding process.
- KT-CT-4375: Incorrect or missing parameters for SmartFlex onboarding step.
- KT-CT-4376: Unable to complete onboarding step. Please try again later.
- KT-CT-4377: Invalid onboarding step ID.
- KT-CT-4378: Invalid input or step id. Please make sure you are using the correct step id and providing the expected input params.
- KT-CT-4379: Vehicle is not ready for a test charge.
- KT-CT-4391: This onboarding wizard has been cancelled.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can register smartflex devices
Arguments
| Name | Description |
|---|---|
|
Return fields
| Name | Description |
|---|---|
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
|
The wizard created for onboarding the device with SmartFlex. |
Mutation
mutation CompleteAuthFlowForSmartFlexOnboarding($input: CompleteAuthFlowInput!) {
completeAuthFlowForSmartFlexOnboarding(input: $input) {
wizard {
...SmartFlexOnboardingWizardFragment
}
}
}
Variables
{
"input": CompleteAuthFlowInput
}
Response
{
"data": {
"completeAuthFlowForSmartFlexOnboarding": {
"wizard": SmartFlexOnboardingWizard
}
}
}
completeReminder
Type: CompleteReminder
URL: https://api.oees-kraken.energy/v1/graphql/
Complete a reminder.
Query Complexity: 1
Possible Errors:
- KT-CT-1406: Invalid data.
- KT-CT-1407: Unable to complete reminder.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can update reminders
Arguments
| Name | Description |
|---|---|
|
Input variables needed for completing a reminder. |
Return fields
| Name | Description |
|---|---|
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation CompleteReminder($input: CompleteReminderInput!) {
completeReminder(input: $input) {
}
}
Variables
{
"input": CompleteReminderInput
}
Response
{
"data": {
"completeReminder": {
}
}
}
completeStandalonePayment
Type: CompleteStandalonePayment
URL: https://api.oees-kraken.energy/v1/graphql/
Complete a standalone payment.
Query Complexity: 1
Possible Errors:
- KT-CT-3822: Unauthorized.
- KT-CT-3823: Unauthorized.
- KT-CT-3974: Unauthorized.
- KT-CT-3975: Unable to complete standalone payment.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can initiate standalone payments
Arguments
| Name | Description |
|---|---|
|
Input fields for completing a standalone payment. |
Return fields
| Name | Description |
|---|---|
|
The completed standalone payment. |
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation CompleteStandalonePayment($input: CompleteStandalonePaymentInput!) {
completeStandalonePayment(input: $input) {
payment {
...CompleteStandalonePaymentOutputFragment
}
}
}
Variables
{
"input": CompleteStandalonePaymentInput
}
Response
{
"data": {
"completeStandalonePayment": {
"payment": CompleteStandalonePaymentOutput
}
}
}
completeTeslaSetupVirtualKeyForSmartFlexOnboarding
Type: CompleteTeslaSetupVirtualKeyForSmartFlexOnboarding
URL: https://api.oees-kraken.energy/v1/graphql/
Complete the Tesla virtual key setup onboarding step.
Query Complexity: 1
Possible Errors:
- KT-CT-1111: Unauthorized.
- KT-CT-4371: Onboarding wizard ID is invalid.
- KT-CT-4372: Simultaneous attempts to update onboarding process.
- KT-CT-4375: Incorrect or missing parameters for SmartFlex onboarding step.
- KT-CT-4376: Unable to complete onboarding step. Please try again later.
- KT-CT-4377: Invalid onboarding step ID.
- KT-CT-4378: Invalid input or step id. Please make sure you are using the correct step id and providing the expected input params.
- KT-CT-4379: Vehicle is not ready for a test charge.
- KT-CT-4391: This onboarding wizard has been cancelled.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can register smartflex devices
Arguments
| Name | Description |
|---|---|
Return fields
| Name | Description |
|---|---|
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
|
The wizard created for onboarding the device with SmartFlex. |
Mutation
mutation CompleteTeslaSetupVirtualKeyForSmartFlexOnboarding($input: CompleteSmartFlexOnboardingStepInput!) {
completeTeslaSetupVirtualKeyForSmartFlexOnboarding(input: $input) {
wizard {
...SmartFlexOnboardingWizardFragment
}
}
}
Variables
{
"input": CompleteSmartFlexOnboardingStepInput
}
Response
{
"data": {
"completeTeslaSetupVirtualKeyForSmartFlexOnboarding": {
"wizard": SmartFlexOnboardingWizard
}
}
}
completeUserActionForSmartFlexOnboarding
Type: CompleteUserActionRequiredForSmartFlexOnboarding
URL: https://api.oees-kraken.energy/v1/graphql/
Complete the user action required step to proceed in the onboarding journey.
Query Complexity: 1
Possible Errors:
- KT-CT-1111: Unauthorized.
- KT-CT-4371: Onboarding wizard ID is invalid.
- KT-CT-4372: Simultaneous attempts to update onboarding process.
- KT-CT-4375: Incorrect or missing parameters for SmartFlex onboarding step.
- KT-CT-4376: Unable to complete onboarding step. Please try again later.
- KT-CT-4377: Invalid onboarding step ID.
- KT-CT-4378: Invalid input or step id. Please make sure you are using the correct step id and providing the expected input params.
- KT-CT-4379: Vehicle is not ready for a test charge.
- KT-CT-4391: This onboarding wizard has been cancelled.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can register smartflex devices
Arguments
| Name | Description |
|---|---|
Return fields
| Name | Description |
|---|---|
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
|
The wizard created for onboarding the device with SmartFlex. |
Mutation
mutation CompleteUserActionForSmartFlexOnboarding($input: CompleteSmartFlexOnboardingStepInput!) {
completeUserActionForSmartFlexOnboarding(input: $input) {
wizard {
...SmartFlexOnboardingWizardFragment
}
}
}
Variables
{
"input": CompleteSmartFlexOnboardingStepInput
}
Response
{
"data": {
"completeUserActionForSmartFlexOnboarding": {
"wizard": SmartFlexOnboardingWizard
}
}
}
completeUserInputRequiredForSmartFlexOnboarding
Type: CompleteUserInputRequiredForSmartFlexOnboarding
URL: https://api.oees-kraken.energy/v1/graphql/
Complete the user input required step to proceed in the onboarding journey.
Query Complexity: 1
Possible Errors:
- KT-CT-1111: Unauthorized.
- KT-CT-4371: Onboarding wizard ID is invalid.
- KT-CT-4372: Simultaneous attempts to update onboarding process.
- KT-CT-4375: Incorrect or missing parameters for SmartFlex onboarding step.
- KT-CT-4376: Unable to complete onboarding step. Please try again later.
- KT-CT-4377: Invalid onboarding step ID.
- KT-CT-4378: Invalid input or step id. Please make sure you are using the correct step id and providing the expected input params.
- KT-CT-4379: Vehicle is not ready for a test charge.
- KT-CT-4391: This onboarding wizard has been cancelled.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can register smartflex devices
Arguments
| Name | Description |
|---|---|
|
Return fields
| Name | Description |
|---|---|
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
|
The wizard created for onboarding the device with SmartFlex. |
Mutation
mutation CompleteUserInputRequiredForSmartFlexOnboarding($input: UserInputRequiredInput!) {
completeUserInputRequiredForSmartFlexOnboarding(input: $input) {
wizard {
...SmartFlexOnboardingWizardFragment
}
}
}
Variables
{
"input": UserInputRequiredInput
}
Response
{
"data": {
"completeUserInputRequiredForSmartFlexOnboarding": {
"wizard": SmartFlexOnboardingWizard
}
}
}
confirmDoubleOptIn
Type: ConfirmDoubleOptIn
URL: https://api.oees-kraken.energy/v1/graphql/
Confirm a double opt in
Query Complexity: 1
Possible Errors:
- KT-CT-9016: Consent management not enabled.
- KT-CT-9020: Invalid consent expiring token.
- KT-CT-9021: Consent expiring token not found.
- KT-CT-9022: Consent for given token already accepted.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can access customer queries
OR Can edit customer marketing preference
Arguments
| Name | Description |
|---|---|
|
Return fields
| Name | Description |
|---|---|
|
The consent that was created or updated. |
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation ConfirmDoubleOptIn($input: ConfirmDoubleOptInInput) {
confirmDoubleOptIn(input: $input) {
consent {
...ConsentTypeFragment
}
}
}
Variables
{
"input": ConfirmDoubleOptInInput
}
Response
{
"data": {
"confirmDoubleOptIn": {
"consent": ConsentType
}
}
}
connectAiAgentToCall
Type: ConnectAiAgentToCall
URL: https://api.oees-kraken.energy/v1/graphql/
Query Complexity: 1
Possible Errors:
- KT-CT-11802: Call not found.
- KT-CT-11815: Unable to connect a call to an AI agent.
- KT-CT-11817: Invalid call ID.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can manage calls
Arguments
| Name | Description |
|---|---|
|
Return fields
| Name | Description |
|---|---|
|
The call the AI agent was connected to. |
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation ConnectAiAgentToCall($input: ConnectAiAgentToCallInput!) {
connectAiAgentToCall(input: $input) {
call {
...InboundCallTypeFragment
}
}
}
Variables
{
"input": ConnectAiAgentToCallInput
}
Response
{
"data": {
"connectAiAgentToCall": {
"call": InboundCallType
}
}
}
createAccountCharge
Type: CreateAccountCharge
URL: https://api.oees-kraken.energy/v1/graphql/
Add charge to an account.
Query Complexity: 1
Possible Errors:
- KT-CT-5211: The charge reason with the requested code is deprecated.
- KT-CT-5212: The charge reason with the requested code does not exist.
- KT-CT-5213: Invalid data.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can add charges to accounts AND Can perform payments operations
Arguments
| Name | Description |
|---|---|
|
Input fields for creating an account charge. |
Return fields
| Name | Description |
|---|---|
|
|
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation CreateAccountCharge($input: CreateAccountChargeInput!) {
createAccountCharge(input: $input) {
accountCharge {
...AccountChargeTypeFragment
}
}
}
Variables
{
"input": CreateAccountChargeInput
}
Response
{
"data": {
"createAccountCharge": {
"accountCharge": AccountChargeType
}
}
}
createAccountFileAttachment
Type: CreateAccountFileAttachmentPayload!
URL: https://api.oees-kraken.energy/v1/graphql/
Query Complexity: 1
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Arguments
| Name | Description |
|---|---|
|
Return fields
| Name | Description |
|---|---|
|
|
|
Mutation
mutation CreateAccountFileAttachment($input: CreateAccountFileAttachmentInput!) {
createAccountFileAttachment(input: $input) {
clientMutationId
postRequest {
...UploadPostRequestFragment
}
}
}
Variables
{
"input": CreateAccountFileAttachmentInput
}
Response
{
"data": {
"createAccountFileAttachment": {
"clientMutationId": "16099802",
"postRequest": UploadPostRequest
}
}
}
createAccountNote
Type: CreateAccountNote
URL: https://api.oees-kraken.energy/v1/graphql/
Add a note to an account.
Query Complexity: 1
Possible Errors:
- KT-CT-4123: Unauthorized.
- KT-CT-4180: Account note must be a valid string.
- KT-CT-4195: Unpin at date provided for an unpinned note.
- KT-CT-4196: Unpin at date provided is in the past.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can create account notes
Arguments
| Name | Description |
|---|---|
|
Input variables needed for adding a note to an account. |
Return fields
| Name | Description |
|---|---|
|
Account, which has the added note. |
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation CreateAccountNote($input: CreateAccountNoteInput!) {
createAccountNote(input: $input) {
account {
...AccountTypeFragment
}
}
}
Variables
{
"input": CreateAccountNoteInput
}
Response
{
"data": {
"createAccountNote": {
"account": AccountType
}
}
}
createAccountPaymentSchedule
Type: CreateAccountPaymentSchedule
URL: https://api.oees-kraken.energy/v1/graphql/
Replace an existing payment schedule with a new one that updates either the payment amount or payment day.
Query Complexity: 1
Possible Errors:
- KT-CT-1111: Unauthorized.
- KT-CT-3815: No active payment schedule found for this account.
- KT-CT-3822: Unauthorized.
- KT-CT-3923: Unauthorized.
- KT-CT-3941: Invalid data.
- KT-CT-3942: An unexpected error occurred.
- KT-CT-3947: An unexpected error occurred.
- KT-CT-3960: Invalid value for payment day.
- KT-CT-3961: Cannot update plan-associated payment schedule.
- KT-CT-3962: No new value provided to update payment schedule.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can access customer queries
OR Can manage payment schedules
Arguments
| Name | Description |
|---|---|
|
Input fields for updating a payment schedule. |
Return fields
| Name | Description |
|---|---|
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
|
New payment schedule. |
Mutation
mutation CreateAccountPaymentSchedule($input: CreateAccountPaymentScheduleInput!) {
createAccountPaymentSchedule(input: $input) {
schedule {
...PaymentScheduleTypeFragment
}
}
}
Variables
{
"input": CreateAccountPaymentScheduleInput
}
Response
{
"data": {
"createAccountPaymentSchedule": {
"schedule": PaymentScheduleType
}
}
}
createAccountReference
Type: CreateAccountReference
URL: https://api.oees-kraken.energy/v1/graphql/
Create an account reference.
Query Complexity: 1
Possible Errors:
- KT-CT-4123: Unauthorized.
- KT-CT-8310: Invalid data.
- KT-CT-8311: Invalid data.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can access customer queries
OR Can create account reference
Arguments
| Name | Description |
|---|---|
|
Input fields for creating an account reference. |
Return fields
| Name | Description |
|---|---|
|
|
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation CreateAccountReference($input: AccountReferenceInput!) {
createAccountReference(input: $input) {
accountReference {
...AccountReferenceTypeFragment
}
}
}
Variables
{
"input": AccountReferenceInput
}
Response
{
"data": {
"createAccountReference": {
"accountReference": AccountReferenceType
}
}
}
createAccountReminder
Type: CreateAccountReminder
URL: https://api.oees-kraken.energy/v1/graphql/
Create an account reminder.
Query Complexity: 1
Possible Errors:
- KT-CT-1401: Invalid data.
- KT-CT-1402: Unable to create account reminder.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can create account reminders
Deprecated
The 'createAccountReminder' field is deprecated.
This mutation rely on legacy reminder types.
Please use the createReminder mutation which uses the new registry based reminder types instead.
- Marked as deprecated on 2024-11-14.
- Scheduled for removal on or after 2025-04-16.
Arguments
| Name | Description |
|---|---|
|
Input variables needed for creating an account reminder. |
Return fields
| Name | Description |
|---|---|
|
Account reminder. |
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation CreateAccountReminder($input: CreateAccountReminderInput!) {
createAccountReminder(input: $input) {
accountReminder {
...AccountReminderFragment
}
}
}
Variables
{
"input": CreateAccountReminderInput
}
Response
{
"data": {
"createAccountReminder": {
"accountReminder": AccountReminder
}
}
}
createAffiliateLink
Type: CreateAffiliateLink!
URL: https://api.oees-kraken.energy/v1/graphql/
Create an affiliate link for a new sales agent.
Query Complexity: 1
Possible Errors:
- KT-CT-7711: Invalid data.
- KT-CT-7713: Invalid data.
- KT-CT-7714: Invalid data.
- KT-CT-7715: Invalid data.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Arguments
| Name | Description |
|---|---|
|
Input fields for creating an affiliate link for an organisation. |
Return fields
| Name | Description |
|---|---|
|
The created affiliate link. |
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation CreateAffiliateLink($input: CreateAffiliateLinkInputType!) {
createAffiliateLink(input: $input) {
affiliateLink {
...AffiliateLinkTypeFragment
}
}
}
Variables
{
"input": CreateAffiliateLinkInputType
}
Response
{
"data": {
"createAffiliateLink": {
"affiliateLink": AffiliateLinkType
}
}
}
createAffiliateOrganisation
Type: CreateAffiliateOrganisation!
URL: https://api.oees-kraken.energy/v1/graphql/
Create an affiliate organisation.
Query Complexity: 1
Possible Errors:
- KT-CT-7716: Invalid data.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Arguments
| Name | Description |
|---|---|
|
Input fields for creating an affiliate organisation. |
Return fields
| Name | Description |
|---|---|
|
The created affiliate organisation. |
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation CreateAffiliateOrganisation($input: CreateAffiliateOrganisationInputType!) {
createAffiliateOrganisation(input: $input) {
affiliateOrganisation {
...AffiliateOrganisationTypeFragment
}
}
}
Variables
{
"input": CreateAffiliateOrganisationInputType
}
Response
{
"data": {
"createAffiliateOrganisation": {
"affiliateOrganisation": AffiliateOrganisationType
}
}
}
createAffiliateSession
Type: CreateAffiliateSession!
URL: https://api.oees-kraken.energy/v1/graphql/
Create a session for an affiliate link.
Query Complexity: 1
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Arguments
| Name | Description |
|---|---|
|
Input fields for creating a session for an affiliate link. |
Return fields
| Name | Description |
|---|---|
|
The created affiliate session. |
Mutation
mutation CreateAffiliateSession($input: CreateAffiliateSessionInputType!) {
createAffiliateSession(input: $input) {
affiliateSession {
...AffiliateSessionTypeFragment
}
}
}
Variables
{
"input": CreateAffiliateSessionInputType
}
Response
{
"data": {
"createAffiliateSession": {
"affiliateSession": AffiliateSessionType
}
}
}
createAgreement
Type: CreateAgreement
URL: https://api.oees-kraken.energy/v1/graphql/
Create a new agreement.
Query Complexity: 1
Possible Errors:
- KT-CT-1503: Agreement valid_to date must be later than valid_from date.
- KT-CT-1509: Unable to create agreement.
- KT-CT-1511: Cannot create overlapping agreement.
- KT-CT-1512: Account type does not support agreements.
- KT-CT-4123: Unauthorized.
- KT-CT-4719: No supply point found for identifier provided.
- KT-CT-4910: No product exists with the given input.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can create agreements AND Can query agreements
Arguments
| Name | Description |
|---|---|
|
Input fields for creating an agreement. |
Return fields
| Name | Description |
|---|---|
|
The created agreement. |
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation CreateAgreement($input: CreateAgreementInput!) {
createAgreement(input: $input) {
agreement {
...CommonAgreementTypeFragment
}
}
}
Variables
{
"input": CreateAgreementInput
}
Response
{
"data": {
"createAgreement": {
"agreement": CommonAgreementType
}
}
}
createAgreementRollover
Type: CreateAgreementRollover
URL: https://api.oees-kraken.energy/v1/graphql/
Create an agreement rollover for a specific account and agreement.
Query Complexity: 1
Possible Errors:
- KT-CT-13701: An active agreement rollover already exists for this agreement.
- KT-CT-13702: Expected send date cannot be in the past.
- KT-CT-13703: Rollover date cannot be in the past.
- KT-CT-13704: Unable to create agreement rollover.
- KT-CT-13708: Agreement rollover validation error.
- KT-CT-1501: Agreement not found.
- KT-CT-4910: No product exists with the given input.
- KT-CT-4924: Unauthorized.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can create agreement rollovers AND Can query agreement rollovers
Arguments
| Name | Description |
|---|---|
|
Create an agreement rollover for a specific account and agreement. |
Return fields
| Name | Description |
|---|---|
|
The new agreement rollover. |
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation CreateAgreementRollover($input: CreateAgreementRolloverInput!) {
createAgreementRollover(input: $input) {
agreementRollover {
...AgreementRolloverTypeFragment
}
}
}
Variables
{
"input": CreateAgreementRolloverInput
}
Response
{
"data": {
"createAgreementRollover": {
"agreementRollover": AgreementRolloverType
}
}
}
createApiCall
Type: CreateAPICall
URL: https://api.oees-kraken.energy/v1/graphql/
Mutation to create a new APICall instance.
Query Complexity: 1
Possible Errors:
- KT-CT-7803: Received an invalid apiExceptionId.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can create api exceptions
Arguments
| Name | Description |
|---|---|
|
Input fields for creating an API call. |
Return fields
| Name | Description |
|---|---|
|
The created APICall. |
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation CreateApiCall($input: CreateAPICallInput!) {
createApiCall(input: $input) {
apiCall {
...APICallTypeFragment
}
}
}
Variables
{
"input": CreateAPICallInput
}
Response
{
"data": {
"createApiCall": {
"apiCall": APICallType
}
}
}
createApiException
Type: CreateAPIException
URL: https://api.oees-kraken.energy/v1/graphql/
Mutation to create a new APIException instance.
Query Complexity: 1
Possible Errors:
- KT-CT-7801: Received an invalid operationsTeamId.
- KT-CT-7802: The external identifier already exists.
- KT-CT-7805: Too many tags associated with this API Exception.
- KT-CT-7806: Cannot create duplicate tags for the same API exception.
- KT-CT-7811: Received an invalid assignedUserId.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can create api exceptions
Arguments
| Name | Description |
|---|---|
|
Input fields for creating an API exception. |
Return fields
| Name | Description |
|---|---|
|
The created APIException. |
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation CreateApiException($input: CreateAPIExceptionInput!) {
createApiException(input: $input) {
apiException {
...APIExceptionTypeFragment
}
}
}
Variables
{
"input": CreateAPIExceptionInput
}
Response
{
"data": {
"createApiException": {
"apiException": APIExceptionType
}
}
}
createApiExceptionEvent
Type: CreateAPIExceptionEvent
URL: https://api.oees-kraken.energy/v1/graphql/
Mutation to create a new APIExceptionEvent instance.
Query Complexity: 1
Possible Errors:
- KT-CT-7803: Received an invalid apiExceptionId.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can create api exceptions
Arguments
| Name | Description |
|---|---|
|
Input fields for creating an API exception event. |
Return fields
| Name | Description |
|---|---|
|
The created APIExceptionEvent. |
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation CreateApiExceptionEvent($input: CreateAPIExceptionEventInput!) {
createApiExceptionEvent(input: $input) {
apiExceptionEvent {
...APIExceptionEventTypeFragment
}
}
}
Variables
{
"input": CreateAPIExceptionEventInput
}
Response
{
"data": {
"createApiExceptionEvent": {
"apiExceptionEvent": APIExceptionEventType
}
}
}
createApiExceptionNote
Type: CreateAPIExceptionNote
URL: https://api.oees-kraken.energy/v1/graphql/
Mutation to create a new APIExceptionNote instance.
Query Complexity: 1
Possible Errors:
- KT-CT-7803: Received an invalid apiExceptionId.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can create api exception notes
Arguments
| Name | Description |
|---|---|
|
Input fields for creating an API exception note. |
Return fields
| Name | Description |
|---|---|
|
The created APIExceptionNote. |
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation CreateApiExceptionNote($input: CreateAPIExceptionNoteInput!) {
createApiExceptionNote(input: $input) {
apiException {
...APIExceptionTypeFragment
}
}
}
Variables
{
"input": CreateAPIExceptionNoteInput
}
Response
{
"data": {
"createApiExceptionNote": {
"apiException": APIExceptionType
}
}
}
createAudioRecording
Type: CreateAudioRecording!
URL: https://api.oees-kraken.energy/v1/graphql/
Create an audio recording for an affiliate session.
Query Complexity: 1
Possible Errors:
- KT-CT-7720: Invalid S3 key format.
- KT-CT-7721: Link not found.
- KT-CT-7722: Invalid input for audio recording upload.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Arguments
| Name | Description |
|---|---|
|
Input fields required to create an audio recording. |
Return fields
| Name | Description |
|---|---|
|
The created audio recording. |
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation CreateAudioRecording($input: AudioRecordingInputType!) {
createAudioRecording(input: $input) {
audioRecording {
...AudioRecordingTypeFragment
}
}
}
Variables
{
"input": AudioRecordingInputType
}
Response
{
"data": {
"createAudioRecording": {
"audioRecording": AudioRecordingType
}
}
}
createBusiness
Type: CreateBusiness
URL: https://api.oees-kraken.energy/v1/graphql/
Create a business.
Query Complexity: 1
Possible Errors:
- KT-CT-11108: Invalid data.
- KT-CT-11109: Invalid data.
- KT-CT-1111: Unauthorized.
- KT-CT-11110: Invalid data.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can create businesses AND Can query businesses
Arguments
| Name | Description |
|---|---|
|
Input for creating a business. |
Return fields
| Name | Description |
|---|---|
|
The created business. |
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation CreateBusiness($input: CreateBusinessInput!) {
createBusiness(input: $input) {
business {
...BusinessTypeFragment
}
}
}
Variables
{
"input": CreateBusinessInput
}
Response
{
"data": {
"createBusiness": {
"business": BusinessType
}
}
}
createCallMetadata
Type: CreateCallMetadata
URL: https://api.oees-kraken.energy/v1/graphql/
Query Complexity: 1
Possible Errors:
- KT-CT-11802: Call not found.
- KT-CT-11806: Call metadata item key cannot be an empty string.
- KT-CT-11807: A call metadata item with this key already exists for this call.
- KT-CT-11817: Invalid call ID.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can manage calls
Arguments
| Name | Description |
|---|---|
|
Return fields
| Name | Description |
|---|---|
|
The call metadata was attached to. |
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation CreateCallMetadata($input: CallMetadataInput!) {
createCallMetadata(input: $input) {
call {
...CallInterfaceFragment
}
}
}
Variables
{
"input": CallMetadataInput
}
Response
{
"data": {
"createCallMetadata": {
"call": CallInterface
}
}
}
createCampaignItems
Type: CreateCampaignItems
URL: https://api.oees-kraken.energy/v1/graphql/
Query Complexity: 1
Possible Errors:
- KT-CT-11501: Voice campaign not found.
- KT-CT-11503: One or more campaign items are invalid and cannot be created.
- KT-CT-11504: The batch of campaign items is too large.
- KT-CT-11506: Invalid campaign ID.
- KT-CT-4178: No account found with given account number.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can manage voice campaigns
Arguments
| Name | Description |
|---|---|
|
Return fields
| Name | Description |
|---|---|
|
The identifier for this batch of items to assist in tracking and logging. |
|
|
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation CreateCampaignItems($input: CreateCampaignItemsInput!) {
createCampaignItems(input: $input) {
batchIdentifier
campaignItems {
...VoiceCampaignItemTypeFragment
}
}
}
Variables
{
"input": CreateCampaignItemsInput
}
Response
{
"data": {
"createCampaignItems": {
"batchIdentifier": "57042688",
"campaignItems": [VoiceCampaignItemType]
}
}
}
createCollectionProcessEvent
Type: CreateCollectionProcessEvent
URL: https://api.oees-kraken.energy/v1/graphql/
Create an event for a collection process.
Query Complexity: 1
Possible Errors:
- KT-CT-1111: Unauthorized.
- KT-CT-11201: No Collection Process Records associated with id.
- KT-CT-1605: Invalid input.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can associate item to collection process
Arguments
| Name | Description |
|---|---|
|
Input variables needed for creating a collection process event. |
Return fields
| Name | Description |
|---|---|
|
The created collection process event. |
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation CreateCollectionProcessEvent($input: CreateCollectionProcessEventInputType!) {
createCollectionProcessEvent(input: $input) {
collectionProcessEvent {
...CollectionProcessEventOutputTypeFragment
}
}
}
Variables
{
"input": CreateCollectionProcessEventInputType
}
Response
{
"data": {
"createCollectionProcessEvent": {
"collectionProcessEvent": CollectionProcessEventOutputType
}
}
}
createComplaint
Type: CreateComplaint
URL: https://api.oees-kraken.energy/v1/graphql/
Create a complaint.
Query Complexity: 1
Possible Errors:
- KT-CT-10801: Invalid data.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can access customer queries
OR Can create complaints
Arguments
| Name | Description |
|---|---|
|
Return fields
| Name | Description |
|---|---|
|
The complaint that has been created. |
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation CreateComplaint($complaint: CreateComplaintInputType!) {
createComplaint(complaint: $complaint) {
complaint {
...ComplaintTypeFragment
}
}
}
Variables
{
"complaint": CreateComplaintInputType
}
Response
{
"data": {
"createComplaint": {
"complaint": ComplaintType
}
}
}
createContract
Type: CreateContractOutput!
URL: https://api.oees-kraken.energy/v1/graphql/
Create and actualize a new contract for an account or business.
Query Complexity: 1
Possible Errors:
- KT-CT-10001: Party is already under contract.
- KT-CT-10006: Account not found.
- KT-CT-10018: The provided contract subject is invalid.
- KT-CT-10019: Contract creation implies breach.
- KT-CT-10020: The provided contract party payload is invalid.
- KT-CT-10021: Business not found.
- KT-CT-10039: At least one of the affected fields must be provided.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Arguments
| Name | Description |
|---|---|
|
Return fields
| Name | Description |
|---|---|
|
Unique identifier for the created contract. |
|
Indicates whether a new contract was created (True) or an existing contract was matched (False). When False, the mutation is idempotent and returns the existing contract that matches the provided parameters. |
Mutation
mutation CreateContract($input: CreateContractInput!) {
createContract(input: $input) {
identifier
wasCreated
}
}
Variables
{
"input": CreateContractInput
}
Response
{
"data": {
"createContract": {
"identifier": "73732875",
"wasCreated": true
}
}
}
createContributionAgreement
Type: CreateContributionAgreement
URL: https://api.oees-kraken.energy/v1/graphql/
Create a contribution agreement for an account.
Query Complexity: 1
Possible Errors:
- KT-CT-4123: Unauthorized.
- KT-CT-9601: Invalid data.
- KT-CT-9602: Unable to create contribution agreement.
- KT-CT-9605: Contribution amount cannot be 0 or negative.
- KT-CT-9606: Scheme is not accepting contributions at this time.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can manage contribution agreements
Arguments
| Name | Description |
|---|---|
|
Input variables needed for creating a contribution agreement on an account. |
Return fields
| Name | Description |
|---|---|
|
The created contribution agreement. |
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation CreateContributionAgreement($input: CreateContributionAgreementInput!) {
createContributionAgreement(input: $input) {
contributionAgreement {
...ContributionAgreementTypeFragment
}
}
}
Variables
{
"input": CreateContributionAgreementInput
}
Response
{
"data": {
"createContributionAgreement": {
"contributionAgreement": ContributionAgreementType
}
}
}
createCreditTransferPermission
Type: CreateCreditTransferPermission
URL: https://api.oees-kraken.energy/v1/graphql/
Create a credit transfer permission.
Query Complexity: 1
Possible Errors:
- KT-CT-3822: Unauthorized.
- KT-CT-3827: The ledger is not valid.
- KT-CT-3828: At least one of the provided ledgers must be a credit storage ledger.
- KT-CT-3829: The credit transfer permission already exists.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can access customer queries
OR Can update user details
Arguments
| Name | Description |
|---|---|
|
Input fields to create a credit transfer permission. |
Return fields
| Name | Description |
|---|---|
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
|
Datetime when the credit transfer permission is valid. |
Mutation
mutation CreateCreditTransferPermission($input: CreateCreditTransferPermissionInput!) {
createCreditTransferPermission(input: $input) {
validFrom
}
}
Variables
{
"input": CreateCreditTransferPermissionInput
}
Response
{
"data": {
"createCreditTransferPermission": {
"validFrom": "2002-02-15T00:08:48.389268+00:00"
}
}
}
createCustomerFeedback
Type: CreateCustomerFeedback
URL: https://api.oees-kraken.energy/v1/graphql/
Create unsubmitted customer feedback object.
Query Complexity: 1
Possible Errors:
- KT-CT-1111: Unauthorized.
- KT-CT-5516: Invalid data.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can create customer feedback
Arguments
| Name | Description |
|---|---|
|
Return fields
| Name | Description |
|---|---|
|
The created customer feedback object. |
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation CreateCustomerFeedback($input: CreateCustomerFeedbackInputType!) {
createCustomerFeedback(input: $input) {
customerFeedback {
...CustomerFeedbackTypeFragment
}
}
}
Variables
{
"input": CreateCustomerFeedbackInputType
}
Response
{
"data": {
"createCustomerFeedback": {
"customerFeedback": CustomerFeedbackType
}
}
}
createDepositAgreement
Type: CreateDepositAgreement
URL: https://api.oees-kraken.energy/v1/graphql/
Create a new deposit agreement for the account if it needs one.
Query Complexity: 1
Possible Errors:
- KT-CT-4177: Unauthorized.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can perform payments operations AND Can use deposit system
Arguments
| Name | Description |
|---|---|
|
Return fields
| Name | Description |
|---|---|
|
|
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation CreateDepositAgreement($input: CreateDepositAgreementInput!) {
createDepositAgreement(input: $input) {
depositAgreement {
...CreateDepositAgreementOutputFragment
}
}
}
Variables
{
"input": CreateDepositAgreementInput
}
Response
{
"data": {
"createDepositAgreement": {
"depositAgreement": CreateDepositAgreementOutput
}
}
}
createEnergyAccount
Type: CreateEnergyAccount
URL: https://api.oees-kraken.energy/v1/graphql/
Create an account for either electricity or dual fuel.
Query Complexity: 6
Possible Errors:
- KT-CT-4910: No product exists with the given input.
- KT-CT-4911: Product not available.
- KT-CT-7899: An internal error occurred.
- KT-ES-4102: Account with multiple properties.
- KT-ES-4111: Supply point already exists.
- KT-ES-4113: ATR not valid for contracting.
- KT-ES-4117: Invalid data.
- KT-ES-4121: Gas tariffs are not available.
- KT-ES-4122: Unable to create a referral.
- KT-ES-4123: Nif not found.
- KT-ES-4914: The received CUPS is invalid.
- KT-ES-4917: The given supply point is not valid to contract.
- KT-ES-7701: The affiliate client failed to meet the requirements.
- KT-ES-7819: The request to Chipiron to get SIPS data failed.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
(No)
Rate Limits
| Key | Steps |
|---|---|
Ip |
['200/m'] |
Arguments
| Name | Description |
|---|---|
|
Return fields
| Name | Description |
|---|---|
|
Customer's Spanish fiscal code. |
|
The account number. |
|
Electricity supply point agreement number. |
|
Gas supply point agreement number. |
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
|
Resolves whether a referral was created as part of this account creation. |
|
Token for setting the initial password. |
|
Id for setting the initial password. |
Mutation
mutation CreateEnergyAccount($input: CreateEnergyAccountInput) {
createEnergyAccount(input: $input) {
accountNif
accountNumber
electricityAgreementNumber
gasAgreementNumber
referralCreated
token
userId
}
}
Variables
{
"input": CreateEnergyAccountInput
}
Response
{
"data": {
"createEnergyAccount": {
"accountNif": "number-computer-economy-design-now",
"accountNumber": "A-C1F4F60F",
"electricityAgreementNumber": "serious-appear-race-response-girl",
"gasAgreementNumber": "middle-close-role-American-wonder",
"referralCreated": true,
"token": "space-pick-environment-tree-where",
"userId": "28673196"
}
}
}
createExternalAccountEvent
Type: CreateExternalAccountEvent
URL: https://api.oees-kraken.energy/v1/graphql/
Create an external account event.
Query Complexity: 1
Possible Errors:
- KT-CT-7123: Unauthorized.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can create external account events
Arguments
| Name | Description |
|---|---|
|
Input fields for creating an external account event. |
Return fields
| Name | Description |
|---|---|
|
The new event data. |
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation CreateExternalAccountEvent($input: CreateExternalAccountEventInput!) {
createExternalAccountEvent(input: $input) {
event {
...ExternalAccountEventFragment
}
}
}
Variables
{
"input": CreateExternalAccountEventInput
}
Response
{
"data": {
"createExternalAccountEvent": {
"event": ExternalAccountEvent
}
}
}
createExternalAccountUserEvent
Type: CreateExternalAccountUserEvent
URL: https://api.oees-kraken.energy/v1/graphql/
Create an external account user event.
Query Complexity: 1
Possible Errors:
- KT-CT-7123: Unauthorized.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can create external account events
Arguments
| Name | Description |
|---|---|
|
Input fields for creating an external account event. |
Return fields
| Name | Description |
|---|---|
|
The new event data. |
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation CreateExternalAccountUserEvent($input: CreateExternalAccountUserEventInput!) {
createExternalAccountUserEvent(input: $input) {
event {
...ExternalAccountUserEventFragment
}
}
}
Variables
{
"input": CreateExternalAccountUserEventInput
}
Response
{
"data": {
"createExternalAccountUserEvent": {
"event": ExternalAccountUserEvent
}
}
}
createExternalMessage
Type: CreateExternalMessage
URL: https://api.oees-kraken.energy/v1/graphql/
Create an external message to record communications sent by external vendors. This allows you to import messages, such as emails, sent using other tools into Kraken.
Query Complexity: 3
Possible Errors:
- KT-CT-14201: Vendor is empty.
- KT-CT-14202: Vendor message ID is empty.
- KT-CT-14203: Account number is empty.
- KT-CT-14204: Message already exists.
- KT-CT-14205: Unable to create the external message.
- KT-CT-14206: An email body is missing.
- KT-CT-14207: To email is empty.
- KT-CT-14208: To email is not a valid email address.
- KT-CT-14209: From email is empty.
- KT-CT-14210: From email is an invalid format.
- KT-CT-14211: A reply to email address is empty.
- KT-CT-14212: A reply to email address is not a valid email address.
- KT-CT-14214: An account number was provided, but no corresponding account could be found.
- KT-CT-14215: Sent at datetime is in the future.
- KT-CT-14216: Sent at datetime is missing timezone.
- KT-CT-14219: Exactly one of emailContent or smsContent must be provided.
- KT-CT-14220: SMS body is empty.
- KT-CT-14221: To phone number is empty.
- KT-CT-14222: From phone number is empty.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can create external messages
Arguments
| Name | Description |
|---|---|
|
Input variables needed for creating an external message. |
Return fields
| Name | Description |
|---|---|
|
The external message that was created. |
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation CreateExternalMessage($input: CreateExternalMessageInput!) {
createExternalMessage(input: $input) {
externalMessage {
...ExternalMessageTypeFragment
}
}
}
Variables
{
"input": CreateExternalMessageInput
}
Response
{
"data": {
"createExternalMessage": {
"externalMessage": ExternalMessageType
}
}
}
createExternalMessageEvent
Type: CreateExternalMessageEvent
URL: https://api.oees-kraken.energy/v1/graphql/
Record a lifecycle event, such as a delivery confirmation, bounce, or link click, for a previously created external message.
Query Complexity: 3
Possible Errors:
- KT-CT-14217: Message not found.
- KT-CT-14218: Invalid event data.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can create external messages events
Arguments
| Name | Description |
|---|---|
|
The event to record against an external message. |
Return fields
| Name | Description |
|---|---|
|
The external message event that was created. |
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation CreateExternalMessageEvent($input: CreateExternalMessageEventInput!) {
createExternalMessageEvent(input: $input) {
externalMessageEvent {
...ExternalMessageEventTypeFragment
}
}
}
Variables
{
"input": CreateExternalMessageEventInput
}
Response
{
"data": {
"createExternalMessageEvent": {
"externalMessageEvent": ExternalMessageEventType
}
}
}
createFormSubmission
Type: FormSubmissionOuput
URL: https://api.oees-kraken.energy/v1/graphql/
Create a "form submission" entity. This is only meant to be used as a quick way of putting together a form and submit data for it, in the form of JSON - it is not expected that all form submissions will come through this path.
This field requires the Authorization header to be set.
Query Complexity: 1
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Arguments
| Name | Description |
|---|---|
|
Return fields
| Name | Description |
|---|---|
|
|
|
|
|
Mutation
mutation CreateFormSubmission($input: FormSubmissionInput!) {
createFormSubmission(input: $input) {
content
errors {
...SerializerFieldErrorsTypeFragment
}
id
}
}
Variables
{
"input": FormSubmissionInput
}
Response
{
"data": {
"createFormSubmission": {
"content": {"key": "value"},
"errors": [SerializerFieldErrorsType],
"id": 69786805
}
}
}
createGoodsPurchase
Type: CreateGoodsPurchase
URL: https://api.oees-kraken.energy/v1/graphql/
Create a goods purchase.
Query Complexity: 1
Possible Errors:
- KT-CT-1131: Unauthorized.
- KT-CT-8206: Invalid data.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can manage goods purchases
Arguments
| Name | Description |
|---|---|
|
Input fields for creating a purchase without a quote. |
Return fields
| Name | Description |
|---|---|
|
Goods purchase created. |
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation CreateGoodsPurchase($input: CreatePurchaseInput!) {
createGoodsPurchase(input: $input) {
goodsPurchase {
...GoodsPurchaseFragment
}
}
}
Variables
{
"input": CreatePurchaseInput
}
Response
{
"data": {
"createGoodsPurchase": {
"goodsPurchase": GoodsPurchase
}
}
}
createGoodsQuote
Type: CreateGoodsQuote
URL: https://api.oees-kraken.energy/v1/graphql/
Create a goods quote.
Query Complexity: 6
Possible Errors:
- KT-CT-8202: Invalid data.
- KT-CT-8205: Unable to create quote.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can create goods quotes
Arguments
| Name | Description |
|---|---|
|
Input fields for creating a goods quote. |
Return fields
| Name | Description |
|---|---|
|
Goods quote created for the customer. |
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation CreateGoodsQuote($input: CreateGoodsQuoteInput!) {
createGoodsQuote(input: $input) {
goodsQuote {
...GoodsQuoteFragment
}
}
}
Variables
{
"input": CreateGoodsQuoteInput
}
Response
{
"data": {
"createGoodsQuote": {
"goodsQuote": GoodsQuote
}
}
}
createGoodsQuoteWithoutAccount
Type: CreateGoodsQuoteWithoutAccount
URL: https://api.oees-kraken.energy/v1/graphql/
Create a goods quote without an account.
Query Complexity: 1
Possible Errors:
- KT-CT-8202: Invalid data.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can manage goods purchases
Arguments
| Name | Description |
|---|---|
|
Input fields for creating a goods quote without an existing account. |
Return fields
| Name | Description |
|---|---|
|
Goods quote created for the customer. |
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation CreateGoodsQuoteWithoutAccount($input: CreateGoodsQuoteWithoutAccountInput!) {
createGoodsQuoteWithoutAccount(input: $input) {
goodsQuote {
...GoodsQuoteFragment
}
}
}
Variables
{
"input": CreateGoodsQuoteWithoutAccountInput
}
Response
{
"data": {
"createGoodsQuoteWithoutAccount": {
"goodsQuote": GoodsQuote
}
}
}
createInboundCall
Type: CreateInboundCall
URL: https://api.oees-kraken.energy/v1/graphql/
Query Complexity: 1
Possible Errors:
- KT-CT-11805: Invalid input for creating an inbound call.
- KT-CT-11810: Caller is blocked.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can manage calls
Arguments
| Name | Description |
|---|---|
|
Return fields
| Name | Description |
|---|---|
|
The call that was created. |
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation CreateInboundCall($input: CreateInboundCallInput!) {
createInboundCall(input: $input) {
call {
...InboundCallTypeFragment
}
}
}
Variables
{
"input": CreateInboundCallInput
}
Response
{
"data": {
"createInboundCall": {
"call": InboundCallType
}
}
}
createInkInboundMessage
Type: CreateInkInboundMessage
URL: https://api.oees-kraken.energy/v1/graphql/
Register an Ink inbound message.
Query Complexity: 1
Possible Errors:
- KT-CT-7618: Unable to process message.
- KT-CT-7620: Channel not supported.
- KT-CT-7621: Attachment not found.
- KT-CT-7622: Attachment bucket is invalid.
- KT-CT-7623: Attachment path is invalid.
- KT-CT-7625: Invalid email address.
- KT-CT-7627: The 'email' object is missing from the payload.
- KT-CT-7628: The 'generic' object is missing from the payload.
- KT-CT-7629: The 'post' object is missing from the payload.
- KT-CT-7630: Message with this message ID has already been processed.
- KT-CT-7632: The text content of the Ink Inbound Generic Message is too long.
- KT-CT-7653: Account numbers on the message and message type must match if both are supplied.
- KT-CT-7654: An account number was provided, but no corresponding account could be found.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can create ink inbound messages
Arguments
| Name | Description |
|---|---|
|
Return fields
| Name | Description |
|---|---|
|
The Ink message that was created. |
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation CreateInkInboundMessage($input: CreateInkInboundMessageInput) {
createInkInboundMessage(input: $input) {
message {
... on InkEmail {
...InkEmailFragment
}
... on InkGenericMessage {
...InkGenericMessageFragment
}
... on InkLine {
...InkLineFragment
}
... on InkLiveChatMessage {
...InkLiveChatMessageFragment
}
... on InkPost {
...InkPostFragment
}
... on InkSMS {
...InkSMSFragment
}
... on InkTwilioWhatsApp {
...InkTwilioWhatsAppFragment
}
... on InkWhatsApp {
...InkWhatsAppFragment
}
}
}
}
Variables
{
"input": CreateInkInboundMessageInput
}
Response
{
"data": {
"createInkInboundMessage": {
"message": InkEmail
}
}
}
createInkLiveChatMessage
Type: CreateInkLiveChatMessage
URL: https://api.oees-kraken.energy/v1/graphql/
Query Complexity: 1
Possible Errors:
- KT-CT-1111: Unauthorized.
- KT-CT-4123: Unauthorized.
- KT-CT-7616: Not yet implemented.
- KT-CT-7621: Attachment not found.
- KT-CT-7622: Attachment bucket is invalid.
- KT-CT-7623: Attachment path is invalid.
- KT-CT-7641: Live Chat message with this message ID has already been processed.
- KT-CT-7642: No account user was found for the given fromHandle.
- KT-CT-7645: The user is not authorized to access this Live Chat.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can manage ink live chat
Arguments
| Name | Description |
|---|---|
|
Return fields
| Name | Description |
|---|---|
|
The live chat conversation. |
|
The ID of the Ink Live Chat message that was created. |
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation CreateInkLiveChatMessage($input: CreateInkLiveChatMessageInput) {
createInkLiveChatMessage(input: $input) {
liveChatConversation {
...InkLiveChatConversationFragment
}
messageRelayId
}
}
Variables
{
"input": CreateInkLiveChatMessageInput
}
Response
{
"data": {
"createInkLiveChatMessage": {
"liveChatConversation": InkLiveChatConversation,
"messageRelayId": "31465811"
}
}
}
createInternalCompany
Type: CreateInternalCompany
URL: https://api.oees-kraken.energy/v1/graphql/
Create a new internal company.
Query Complexity: 1
Possible Errors:
- KT-CT-14402: Duplicated internal company.
- KT-CT-14403: Invalid address.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can create internal companies
Arguments
| Name | Description |
|---|---|
|
The input required to create an internal company. |
Return fields
| Name | Description |
|---|---|
|
The result of the create internal company operation. |
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation CreateInternalCompany($input: CreateInternalCompanyInput!) {
createInternalCompany(input: $input) {
internalCompany {
...CreateInternalCompanyResultTypeFragment
}
}
}
Variables
{
"input": CreateInternalCompanyInput
}
Response
{
"data": {
"createInternalCompany": {
"internalCompany": CreateInternalCompanyResultType
}
}
}
createLead
Type: CreateLead
URL: https://api.oees-kraken.energy/v1/graphql/
Create a lead with the provided details.
Query Complexity: 1
Possible Errors:
- KT-CT-4121: Invalid phone number.
- KT-CT-8912: Funnel not found.
- KT-CT-8913: Organisation is not valid to be assigned.
- KT-CT-8919: Funnel initial stage not set.
- KT-CT-8928: The funnel is not active and cannot be used to create this entity.
- KT-CT-8930: Unable to parse address.
- KT-CT-8931: Extra detail value is invalid.
- KT-CT-8932: Lead contact details missing legal contact.
- KT-CT-8934: Lead contact details missing communications contact.
- KT-CT-8935: National ID bad input.
- KT-CT-9017: Consent type not found.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can create leads
Arguments
| Name | Description |
|---|---|
|
Input fields for creating a lead. |
Return fields
| Name | Description |
|---|---|
|
The unique number of the lead. |
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation CreateLead($input: CreateLeadInput!) {
createLead(input: $input) {
leadNumber
}
}
Variables
{
"input": CreateLeadInput
}
Response
{
"data": {
"createLead": {
"leadNumber": "tend-want-notice-pressure-available"
}
}
}
createMetadata
Type: CreateMetadata
URL: https://api.oees-kraken.energy/v1/graphql/
Create metadata on an object.
Query Complexity: 1
Possible Errors:
- KT-CT-4124: Unauthorized.
- KT-CT-4177: Unauthorized.
- KT-CT-4323: Unauthorized.
- KT-CT-6622: Unauthorized.
- KT-CT-6637: Unauthorized.
- KT-CT-8411: Invalid data.
- KT-CT-8412: Invalid data.
- KT-CT-8414: Invalid data.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can mutate metadata
Arguments
| Name | Description |
|---|---|
|
Input fields for creating metadata. |
Return fields
| Name | Description |
|---|---|
|
|
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation CreateMetadata($input: MetadataInput!) {
createMetadata(input: $input) {
metadata {
...MetadataFragment
}
}
}
Variables
{
"input": MetadataInput
}
Response
{
"data": {
"createMetadata": {
"metadata": Metadata
}
}
}
createMfaDevice
Type: CreateMfaDevice
URL: https://api.oees-kraken.energy/v1/graphql/
Create MFA Device for user.
Query Complexity: 1
Possible Errors:
- KT-CT-1128: Unauthorized.
- KT-CT-1151: MFA device not found.
- KT-CT-1153: Unable to create MFA device.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can create mfa device
Rate Limits
| Key | Steps |
|---|---|
User |
['2/m'] |
Arguments
| Name | Description |
|---|---|
|
Input fields for creating a new multi-factor authentication device for the logged user. |
Return fields
| Name | Description |
|---|---|
|
Email address to send the MFA code by default. |
|
Phone number to send the MFA code by default. |
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
|
Secret to setup Time-based One-Time Passwords (TOTP) in your authenticator or password manager manually. |
Mutation
mutation CreateMfaDevice($input: CreateMfaDeviceInputType!) {
createMfaDevice(input: $input) {
deviceEmail
devicePhone
totpSecret
}
}
Variables
{
"input": CreateMfaDeviceInputType
}
Response
{
"data": {
"createMfaDevice": {
"deviceEmail": "explain-current-country-late-set",
"devicePhone": "where-stage-green-think-seem",
"totpSecret": "quite-peace-teach-hot-often"
}
}
}
createNewAgreementFromProductSwitchProcess
Type: CreateNewAgreementFromProductSwitchProcess
URL: https://api.oees-kraken.energy/v1/graphql/
Create a new agreement from an existing product switch process.
Query Complexity: 1
Possible Errors:
- KT-CT-1111: Unauthorized.
- KT-CT-1507: Agreement product switch date is not within the acceptable range.
- KT-CT-1509: Unable to create agreement.
- KT-CT-1510: Product switch process not found.
- KT-CT-4924: Unauthorized.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
(Can manage account renewals OR Can switch product) AND Can query agreements
Arguments
| Name | Description |
|---|---|
|
Validate the product switch flow data and creates a ProcessSwitchProcess model. |
Return fields
| Name | Description |
|---|---|
|
The new agreement created. |
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation CreateNewAgreementFromProductSwitchProcess($input: CreateNewAgreementFromProductSwitchProcessInput!) {
createNewAgreementFromProductSwitchProcess(input: $input) {
agreement {
...CommonAgreementTypeFragment
}
}
}
Variables
{
"input": CreateNewAgreementFromProductSwitchProcessInput
}
Response
{
"data": {
"createNewAgreementFromProductSwitchProcess": {
"agreement": CommonAgreementType
}
}
}
createOfferGroupForQuoting
Type: CreateOfferGroupForQuoting
URL: https://api.oees-kraken.energy/v1/graphql/
Create a quoting Offer Group.
Query Complexity: 3
Possible Errors:
- KT-CT-12401: Unable to create offer group.
- KT-CT-12405: Missing rates for quoting.
- KT-CT-12406: Product not configured correctly for quoting.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can create quoting offer group
Arguments
| Name | Description |
|---|---|
|
Input fields for creating an offer group from a list of offers. |
Return fields
| Name | Description |
|---|---|
|
Quoting Offer Group. |
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation CreateOfferGroupForQuoting($input: CreateOfferGroupForQuotingInput!) {
createOfferGroupForQuoting(input: $input) {
offerGroup {
...CreateOfferGroupTypeFragment
}
}
}
Variables
{
"input": CreateOfferGroupForQuotingInput
}
Response
{
"data": {
"createOfferGroupForQuoting": {
"offerGroup": CreateOfferGroupType
}
}
}
createOnSiteJobsRequest
Type: CreateOnSiteJobsRequest
URL: https://api.oees-kraken.energy/v1/graphql/
Create a Request.
Query Complexity: 1
Possible Errors:
- KT-CT-13002: Supply point not found.
- KT-CT-13003: Supply points must belong to the same account.
- KT-CT-13004: No account found for the given supply points.
- KT-CT-13006: No properties found for the given supply points.
- KT-CT-13007: At least one of the request checks failed.
- KT-CT-13008: At least one of the request checks has warnings.
- KT-CT-13009: On site jobs Request already exists.
- KT-CT-13010: No booking adapter found for agent.
- KT-CT-13012: Viewer is not allowed to create a request.
- KT-CT-13013: Reporter post init error.
- KT-CT-13014: Request reason is not supported.
- KT-CT-13015: Request sub_reason is not supported.
- KT-CT-13028: Agent not found.
- KT-CT-13041: User is not allowed to override request/appointment checks.
- KT-CT-13042: Multiple supply points not supported by this booking adapter.
- KT-CT-13045: Failed to update appointment assets.
- KT-CT-13047: Multiple supply points found.
- KT-CT-13048: Cannot provide both supply_point_identifier_to_market_name_mapping and supply_point_internal_ids.
- KT-CT-13049: Neither supply_point_identifier_to_market_name_mapping nor supply_point_internal_ids provided.
- KT-CT-13050: Cannot provide both supply_point_identifier_to_market_name_mapping and supply_point_internal_id when creating assets.
- KT-CT-13051: Supply point not found when creating assets.
- KT-CT-13052: Multiple supply points found when creating assets.
- KT-CT-13063: Failed to derive property for the given supply points.
- KT-CT-13064: Provided supply point(s) not supported by the On-Site Jobs market manager.
- KT-CT-13066: Request reason is deprecated.
- KT-CT-13067: Provided sub-reason for request is invalid.
- KT-CT-13068: Property required for this request.
- KT-CT-13069: Account required for this request.
- KT-CT-13070: Provided status for request is invalid.
- KT-CT-13071: Provided reason for request is invalid.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can create on site jobs requests
Arguments
| Name | Description |
|---|---|
|
The input objects required to create a Request. |
Return fields
| Name | Description |
|---|---|
|
The created request. |
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation CreateOnSiteJobsRequest($input: CreateOnSiteJobsRequestInputType!) {
createOnSiteJobsRequest(input: $input) {
onSiteJobsRequest {
...OnSiteJobsRequestTypeFragment
}
}
}
Variables
{
"input": CreateOnSiteJobsRequestInputType
}
Response
{
"data": {
"createOnSiteJobsRequest": {
"onSiteJobsRequest": OnSiteJobsRequestType
}
}
}
createOpportunityAndLead
Type: CreateOpportunityAndLead
URL: https://api.oees-kraken.energy/v1/graphql/
Create an opportunity and lead with the provided details.
Query Complexity: 1
Possible Errors:
- KT-CT-4121: Invalid phone number.
- KT-CT-8901: Unable to create lead.
- KT-CT-8902: Unable to create lead.
- KT-CT-8907: Lead not found.
- KT-CT-8912: Funnel not found.
- KT-CT-8913: Organisation is not valid to be assigned.
- KT-CT-8919: Funnel initial stage not set.
- KT-CT-8930: Unable to parse address.
- KT-CT-8931: Extra detail value is invalid.
- KT-CT-8935: National ID bad input.
- KT-CT-8936: Only one address is required to create an opportunity.
- KT-CT-8937: One or more Supply Points cannot be validated.
- KT-CT-8946: A team must also be provided when assigning a user.
- KT-CT-8947: The team you specified was not found.
- KT-CT-8948: The user you specified was not found.
- KT-CT-8949: The selected team does not belong to the specified partner.
- KT-CT-8950: The selected user does not belong to the specified partner.
- KT-CT-8951: The selected user is not a member of the specified team.
- KT-CT-9017: Consent type not found.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can create leads
Arguments
| Name | Description |
|---|---|
|
Input fields for creating an opportunity. |
Return fields
| Name | Description |
|---|---|
|
The date the opportunity was created. |
|
The code of the funnel. |
|
The unique number of the opportunity. |
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
|
The stage of the opportunity. |
Mutation
mutation CreateOpportunityAndLead($input: CreateOpportunityAndLeadInput!) {
createOpportunityAndLead(input: $input) {
dateOfCreation
funnelCode
opportunityNumber
stage
}
}
Variables
{
"input": CreateOpportunityAndLeadInput
}
Response
{
"data": {
"createOpportunityAndLead": {
"dateOfCreation": "1990-10-10T20:57:10.447370+00:00",
"funnelCode": "conference-many-buy-attorney-southern",
"opportunityNumber": "industry-five-across-enjoy-against",
"stage": "gas-TV-by-perform-represent"
}
}
}
createOpportunityFileAttachment
Type: CreateOpportunityFileAttachment
URL: https://api.oees-kraken.energy/v1/graphql/
Creates an Opportunity File Attachment.
Query Complexity: 1
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can upload leads attachment files
Arguments
| Name | Description |
|---|---|
|
Input to create an Opportunity File Attachment. |
Return fields
| Name | Description |
|---|---|
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
|
Whether the operation was successful. |
Mutation
mutation CreateOpportunityFileAttachment($input: CreateOpportunityFileAttachmentInput!) {
createOpportunityFileAttachment(input: $input) {
result
}
}
Variables
{
"input": CreateOpportunityFileAttachmentInput
}
Response
{
"data": {
"createOpportunityFileAttachment": {
"result": "scene-ten-dog-responsibility-myself"
}
}
}
createOpportunityForLead
Type: CreateOpportunityForLead
URL: https://api.oees-kraken.energy/v1/graphql/
Create an opportunity for a lead with the provided details.
Query Complexity: 1
Possible Errors:
- KT-CT-8907: Lead not found.
- KT-CT-8912: Funnel not found.
- KT-CT-8913: Organisation is not valid to be assigned.
- KT-CT-8919: Funnel initial stage not set.
- KT-CT-8924: Unable to create opportunity.
- KT-CT-8925: Unable to create opportunity.
- KT-CT-8926: Unable to create opportunity.
- KT-CT-8928: The funnel is not active and cannot be used to create this entity.
- KT-CT-8930: Unable to parse address.
- KT-CT-8931: Extra detail value is invalid.
- KT-CT-8936: Only one address is required to create an opportunity.
- KT-CT-8937: One or more Supply Points cannot be validated.
- KT-CT-8946: A team must also be provided when assigning a user.
- KT-CT-8947: The team you specified was not found.
- KT-CT-8948: The user you specified was not found.
- KT-CT-8949: The selected team does not belong to the specified partner.
- KT-CT-8950: The selected user does not belong to the specified partner.
- KT-CT-8951: The selected user is not a member of the specified team.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can create leads
Arguments
| Name | Description |
|---|---|
|
Input fields for creating an opportunity for a lead. |
Return fields
| Name | Description |
|---|---|
|
The date the opportunity was created. |
|
The unique number of the opportunity. |
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation CreateOpportunityForLead($input: CreateOpportunityForLeadInput!) {
createOpportunityForLead(input: $input) {
dateOfCreation
opportunityNumber
}
}
Variables
{
"input": CreateOpportunityForLeadInput
}
Response
{
"data": {
"createOpportunityForLead": {
"dateOfCreation": "2001-12-21T23:37:44.962491+00:00",
"opportunityNumber": "with-hold-size-ball-quite"
}
}
}
createOrUpdateLoyaltyCard
Type: CreateOrUpdateLoyaltyCardMutation
URL: https://api.oees-kraken.energy/v1/graphql/
Create or update a loyalty card for the given account user.
Query Complexity: 1
Possible Errors:
- KT-CT-5412: No account user exists with the given id.
- KT-CT-8610: Invalid data.
- KT-CT-8611: Invalid data.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can create or update loyalty cards
Arguments
| Name | Description |
|---|---|
|
Input fields for creating or updating a loyalty card. |
Return fields
| Name | Description |
|---|---|
|
Created or updated loyalty card. |
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation CreateOrUpdateLoyaltyCard($input: CreateOrUpdateLoyaltyCardInput!) {
createOrUpdateLoyaltyCard(input: $input) {
loyaltyCard {
...LoyaltyCardTypeFragment
}
}
}
Variables
{
"input": CreateOrUpdateLoyaltyCardInput
}
Response
{
"data": {
"createOrUpdateLoyaltyCard": {
"loyaltyCard": LoyaltyCardType
}
}
}
createOrUpdateTimeSeriesEntries
Type: CreateOrUpdateTimeSeriesEntries!
URL: https://api.oees-kraken.energy/v1/graphql/
Create or update time series entries.
Query Complexity: 1
Possible Errors:
- KT-CT-12014: Time series not found.
- KT-CT-12015: Characteristics mismatch.
- KT-CT-12016: Conflicting time series entries.
- KT-CT-12017: Invalid time series entries period.
- KT-CT-12038: Invalid time series entries granularity.
- KT-CT-12040: Time series entries in use.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Arguments
| Name | Description |
|---|---|
|
The time series input for time series entry creation or update. |
Return fields
| Name | Description |
|---|---|
|
The time series code. |
|
The time series description. |
|
The time series meta information. |
|
The time series display name. |
|
The time series period size value. |
|
The product code associated to the time series. |
|
The time series unit value. |
|
The existing time series variants based on the prices created. |
Mutation
mutation CreateOrUpdateTimeSeriesEntries($input: CreateOrUpdateTimeSeriesEntriesInput!) {
createOrUpdateTimeSeriesEntries(input: $input) {
code
description
meta
name
periodSize
productCode
unit
variants {
...VariantProfileFragment
}
}
}
Variables
{
"input": CreateOrUpdateTimeSeriesEntriesInput
}
Response
{
"data": {
"createOrUpdateTimeSeriesEntries": {
"code": "thank-mind-easy-read-piece",
"description": "join-collection-detail-account-its",
"meta": {"key": "value"},
"name": "go-for-evening-best-none",
"periodSize": "approach-evidence-outside-appear-night",
"productCode": "plant-material-operation-treatment-expert",
"unit": "land-expect-chair-including-much",
"variants": [VariantProfile]
}
}
}
createPaymentActionIntent
Type: CreatePaymentActionIntent
URL: https://api.oees-kraken.energy/v1/graphql/
Create a new payment action intent.
Query Complexity: 1
Possible Errors:
- KT-CT-1111: Unauthorized.
- KT-CT-3822: Unauthorized.
- KT-CT-3980: Invalid ledger identifier.
- KT-CT-3981: Unauthorized.
- KT-CT-3982: Unauthorized.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can create payment action intents
Arguments
| Name | Description |
|---|---|
|
Input fields for creating a payment action intent. |
Return fields
| Name | Description |
|---|---|
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
|
The action intent token. |
Mutation
mutation CreatePaymentActionIntent($input: CreatePaymentActionIntentInput!) {
createPaymentActionIntent(input: $input) {
token
}
}
Variables
{
"input": CreatePaymentActionIntentInput
}
Response
{
"data": {
"createPaymentActionIntent": {
"token": "75940347"
}
}
}
createPaymentMethodActionIntent
Type: CreatePaymentMethodActionIntent
URL: https://api.oees-kraken.energy/v1/graphql/
Create a new payment method action intent.
Query Complexity: 1
Possible Errors:
- KT-CT-1111: Unauthorized.
- KT-CT-3822: Unauthorized.
- KT-CT-3971: Instruction owners are not valid.
- KT-CT-3980: Invalid ledger identifier.
- KT-CT-3981: Unauthorized.
- KT-CT-3982: Unauthorized.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can create payment method action intents
Arguments
| Name | Description |
|---|---|
|
Input fields for creating a payment method action intent. |
Return fields
| Name | Description |
|---|---|
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
|
The action intent token. |
Mutation
mutation CreatePaymentMethodActionIntent($input: CreatePaymentMethodActionIntentInput!) {
createPaymentMethodActionIntent(input: $input) {
token
}
}
Variables
{
"input": CreatePaymentMethodActionIntentInput
}
Response
{
"data": {
"createPaymentMethodActionIntent": {
"token": "27249198"
}
}
}
createPortfolio
Type: CreatePortfolio
URL: https://api.oees-kraken.energy/v1/graphql/
Mutation to create a new Portfolio instance.
Query Complexity: 1
Possible Errors:
- KT-CT-9401: Received an invalid operationsTeamId.
- KT-CT-9402: Received an invalid brandCode.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can create portfolios
Arguments
| Name | Description |
|---|---|
|
Input fields for creating a portfolio. |
Return fields
| Name | Description |
|---|---|
|
The created portfolio. |
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation CreatePortfolio($input: CreatePortfolioInput) {
createPortfolio(input: $input) {
portfolio {
...PortfolioTypeFragment
}
}
}
Variables
{
"input": CreatePortfolioInput
}
Response
{
"data": {
"createPortfolio": {
"portfolio": PortfolioType
}
}
}
createPortfolioUserRole
Type: CreatePortfolioUserRole
URL: https://api.oees-kraken.energy/v1/graphql/
Mutation to create a new portfolio user role. This will effectively link the user to the portfolio giving them all the permissions enabled for the specific role.
Query Complexity: 1
Possible Errors:
- KT-CT-9403: Received an invalid portfolioId.
- KT-CT-9404: Received an invalid accountUserId.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can update portfolios
Arguments
| Name | Description |
|---|---|
|
Input fields for connecting a user to a portfolio. |
Return fields
| Name | Description |
|---|---|
|
The created role for a user in association with a portfolio. |
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation CreatePortfolioUserRole($input: CreatePortfolioUserRoleInput) {
createPortfolioUserRole(input: $input) {
portfolioUserRole {
...PortfolioUserRoleTypeFragment
}
}
}
Variables
{
"input": CreatePortfolioUserRoleInput
}
Response
{
"data": {
"createPortfolioUserRole": {
"portfolioUserRole": PortfolioUserRoleType
}
}
}
createPostEvents
Type: CreatePostEvents
URL: https://api.oees-kraken.energy/v1/graphql/
Create post delivery events from external vendors.
Query Complexity: 1
Possible Errors:
- KT-CT-9907: Post events batch size exceeded.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can create post events
Arguments
| Name | Description |
|---|---|
|
Batch of post events to create. |
Return fields
| Name | Description |
|---|---|
|
Number of events successfully created. |
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation CreatePostEvents($input: CreatePostEventsInput!) {
createPostEvents(input: $input) {
createdEventsCount
}
}
Variables
{
"input": CreatePostEventsInput
}
Response
{
"data": {
"createPostEvents": {
"createdEventsCount": 1
}
}
}
createProduct
Type: CreateProductOutput!
URL: https://api.oees-kraken.energy/v1/graphql/
Create a new product.
Query Complexity: 1
Possible Errors:
- KT-CT-12003: Specified product brand does not exist.
- KT-CT-12004: Invalid product tag type.
- KT-CT-12005: A selection of a terms and conditions type does not exist.
- KT-CT-12006: Provided product characteristic overrides are not in the correct format.
- KT-CT-12007: Unable to create product.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Arguments
| Name | Description |
|---|---|
|
Return fields
| Name | Description |
|---|---|
|
The created product. |
Mutation
mutation CreateProduct($input: CreateProductInput!) {
createProduct(input: $input) {
product {
...SupplyProductTypeFragment
}
}
}
Variables
{
"input": CreateProductInput
}
Response
{
"data": {
"createProduct": {
"product": SupplyProductType
}
}
}
createQuote
Type: CreateQuote
URL: https://api.oees-kraken.energy/v1/graphql/
Create a quote for the provided CUPS Or Estimation.
Query Complexity: 1
Possible Errors:
- KT-CT-1501: Agreement not found.
- KT-CT-4131: Invalid brand.
- KT-CT-4639: Unable to quote for the provided market identifier.
- KT-CT-7719: Session not found.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can create electricity quote
OR Can create gas quote
Arguments
| Name | Description |
|---|---|
|
Input for creating a quote. |
Return fields
| Name | Description |
|---|---|
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
|
The quote request. |
Mutation
mutation CreateQuote($input: CreateQuoteInput!) {
createQuote(input: $input) {
errors {
...SerializerFieldErrorsTypeFragment
}
quote {
...QuoteTypeFragment
}
}
}
Variables
{
"input": CreateQuoteInput
}
Response
{
"data": {
"createQuote": {
"errors": [SerializerFieldErrorsType],
"quote": QuoteType
}
}
}
createQuoteForAccount
Type: CreateQuoteForAccount
URL: https://api.oees-kraken.energy/v1/graphql/
Create a quote for switching product.
Query Complexity: 1
Possible Errors:
- KT-CT-1111: Unauthorized.
- KT-CT-1112: 'Authorization' header not provided.
- KT-CT-4616: Unable to create a quote.
- KT-CT-4631: Unable to quote for the chosen market.
- KT-CT-4645: No supply point found belonging to the account for the provided identifier.
- KT-CT-4924: Unauthorized.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can query quotes AND Can switch product
Arguments
| Name | Description |
|---|---|
|
Return fields
| Name | Description |
|---|---|
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
|
Returns a quote request. |
Mutation
mutation CreateQuoteForAccount($input: CreateQuoteForAccountInput!) {
createQuoteForAccount(input: $input) {
quoteRequest {
...MarketSupplyQuoteRequestTypeFragment
}
}
}
Variables
{
"input": CreateQuoteForAccountInput
}
Response
{
"data": {
"createQuoteForAccount": {
"quoteRequest": MarketSupplyQuoteRequestType
}
}
}
createQuoteForProducts
Type: QuoteRequest
URL: https://api.oees-kraken.energy/v1/graphql/
Create a quote.
Query Complexity: 1
Possible Errors:
- KT-CT-4616: Unable to create a quote.
- KT-ES-4601: Invalid product codes.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
(No)
Rate Limits
| Key | Steps |
|---|---|
Ip |
['10/m'] |
Arguments
| Name | Description |
|---|---|
|
Return fields
| Name | Description |
|---|---|
|
The code of the created quote. |
|
The ID of the quote request. |
|
List of quoted supply points. |
Mutation
mutation CreateQuoteForProducts($input: CreateQuoteForProductsInput!) {
createQuoteForProducts(input: $input) {
code
id
quotedSupplyPoints {
...QuotedSupplyPointFragment
}
}
}
Variables
{
"input": CreateQuoteForProductsInput
}
Response
{
"data": {
"createQuoteForProducts": {
"code": "wide-pay-whom-rather-bank",
"id": "42345169",
"quotedSupplyPoints": [QuotedSupplyPoint]
}
}
}
createReferral
Type: CreateReferral
URL: https://api.oees-kraken.energy/v1/graphql/
Create an account referral using an email address, personal link or code.This is for customers to refer other customers so it only works with friend referrals and not partner referrals.
Query Complexity: 1
Possible Errors:
- KT-CT-6710: Unable to create referral.
- KT-CT-6711: Accounts may not self-refer.
- KT-CT-6712: Invalid reference.
- KT-CT-6713: Referring and referred account brands do not match.
- KT-CT-6723: Unauthorized.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can access customer queries
OR Can create referrals
Rate Limits
| Key | Steps |
|---|---|
User |
['5/m'] |
Arguments
| Name | Description |
|---|---|
|
Input fields for creating a referral. |
Return fields
| Name | Description |
|---|---|
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
|
The reward amount to be issued to the referred account, in smallest currency subunits. |
Mutation
mutation CreateReferral($input: CreateReferralInput!) {
createReferral(input: $input) {
referredAccountRewardAmount
}
}
Variables
{
"input": CreateReferralInput
}
Response
{
"data": {
"createReferral": {
"referredAccountRewardAmount": 11
}
}
}
createReminder
Type: CreateReminder
URL: https://api.oees-kraken.energy/v1/graphql/
Create an account reminder.
Query Complexity: 1
Possible Errors:
- KT-CT-1401: Invalid data.
- KT-CT-1402: Unable to create account reminder.
- KT-CT-1403: Missing user or team assignee.
- KT-CT-1404: This reminder type is deprecated.
- KT-CT-1405: Both user and team assignee provided.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can create account reminders
Arguments
| Name | Description |
|---|---|
|
Input variables needed for creating an account reminder. |
Return fields
| Name | Description |
|---|---|
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
|
Account reminder. |
Mutation
mutation CreateReminder($input: CreateReminderInput!) {
createReminder(input: $input) {
reminder {
...ReminderFragment
}
}
}
Variables
{
"input": CreateReminderInput
}
Response
{
"data": {
"createReminder": {
"reminder": Reminder
}
}
}
createScheduledTransactions
Type: CreateScheduledTransactions
URL: https://api.oees-kraken.energy/v1/graphql/
Create scheduled transactions.
Query Complexity: 1
Possible Errors:
- KT-CT-3821: Received neither ledger ID nor ledger number.
- KT-CT-3830: Invalid action.
- KT-CT-3831: Invalid data.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can add charges to accounts AND Can add credits to accounts
Arguments
| Name | Description |
|---|---|
|
Input fields to create scheduled transactions. |
Return fields
| Name | Description |
|---|---|
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
|
Mutation
mutation CreateScheduledTransactions($input: [CreateScheduledTransactionsInput]!) {
createScheduledTransactions(input: $input) {
scheduledTransactions {
...ScheduledTransactionTypeFragment
}
}
}
Variables
{
"input": CreateScheduledTransactionsInput
}
Response
{
"data": {
"createScheduledTransactions": {
"scheduledTransactions": [ScheduledTransactionType]
}
}
}
createShellAccount
Type: CreateShellAccountPayload
URL: https://api.oees-kraken.energy/v1/graphql/
Create a shell/payment account.
Query Complexity: 1
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can create shell accounts
Arguments
| Name | Description |
|---|---|
|
Return fields
| Name | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Day to fixed bill on if billing_period_length set. |
|
For fixed billing accounts only, the length of their billing period. Can be MONTHLY or QUARTERLY. |
|
Month to start billing from if billing_period_length set to QUARTERLY or the multiplier is > 1. |
|
For fixed billing accounts only, the number the period length is to be multiplied by to get the total period length, i.e. for billing every second month, select 2 combined with a billing period length MONTHLY. Can't be > 1 for quarterly billing. |
|
|
|
This must be a string-ified version of the JSON representation of RichAddressInput type. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Mutation
mutation CreateShellAccount($input: CreateShellAccountInput!) {
createShellAccount(input: $input) {
account {
...AccountInterfaceFragment
}
billingAddressLine1
billingAddressLine2
billingAddressLine3
billingAddressLine4
billingAddressLine5
billingName
billingPeriodDay
billingPeriodLength
billingPeriodMonth
billingPeriodMultiplier
billingPostcode
billingRichAddress
brand
businessType
clientMutationId
companyName
companyNumber
dateOfBirth
email
errors {
...ErrorTypeFragment
}
familyName
givenName
isBusinessAccount
landline
mobile
password
passwordUpdateToken
portfolioNumber
urn
}
}
Variables
{
"input": CreateShellAccountInput
}
Response
{
"data": {
"createShellAccount": {
"account": AccountInterface,
"billingAddressLine1": "between-anything-administration-behavior-visit",
"billingAddressLine2": "teach-simply-per-very-reflect",
"billingAddressLine3": "need-test-sea-shoulder-believe",
"billingAddressLine4": "bad-clearly-girl-ability-major",
"billingAddressLine5": "conference-accept-state-exactly-entire",
"billingName": "hot-fast-if-close-democratic",
"billingPeriodDay": 31,
"billingPeriodLength": "me-notice-try-hand-stop",
"billingPeriodMonth": 4,
"billingPeriodMultiplier": 65,
"billingPostcode": "agent-audience-writer-similar-road",
"billingRichAddress": "speech-marriage-clearly-must-customer",
"brand": "common-film-on-measure-quite",
"businessType": "language-strong-science-company-maybe",
"clientMutationId": "68736767",
"companyName": "hot-between-actually-worker-no",
"companyNumber": "form-mouth-three-edge-opportunity",
"dateOfBirth": "1975-05-03",
"email": "national-east-quickly-population-necessary",
"errors": [ErrorType],
"familyName": "Green",
"givenName": "Sharon",
"isBusinessAccount": true,
"landline": "property-new-particularly-maintain-indeed",
"mobile": "go-so-late-skin-heavy",
"password": "region-specific-much-nature-crime",
"passwordUpdateToken": "wide-score-minute-camera-improve",
"portfolioNumber": "P-6BC8360B",
"urn": "window-true-author-collection-situation"
}
}
}
createSolarWalletRelationship
Type: CreateSolarWalletRelationship
URL: https://api.oees-kraken.energy/v1/graphql/
Create solar wallet sharing credit between a solar wallet credit ledger and spain electricity ledger.
Query Complexity: 1
Possible Errors:
- KT-CT-4123: Unauthorized.
- KT-ES-4116: Account not found.
- KT-ES-7805: The request to create a solar wallet sharing credit between ledgers was incomplete or malformed.
- KT-ES-7806: Couldn't create sharing credit between ledgers because credit sharing ledger already exist.
- KT-ES-7809: There is no ledger of this type on this account..
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can access customer queries
OR Can update user details
Deprecated
The 'createSolarWalletRelationship' field is deprecated.
Use 'createCreditTransferPermission' mutation instead.
- Marked as deprecated on 2025-02-10.
- Scheduled for removal on or after 2025-08-10.
Arguments
| Name | Description |
|---|---|
|
Input fields for creating a solar wallet sharing credit between ledgers. |
Return fields
| Name | Description |
|---|---|
|
Credit sharing ledgers id. |
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
|
Source account number of the solar wallet ledger. |
|
A flag that ensures changes have been made. |
|
Target account number of the electricity ledger. |
|
Target account given name. |
|
Datetime when the solar wallet credit sharing ledger begins. |
|
Datetime when the solar wallet credit sharing ledger ends. |
Mutation
mutation CreateSolarWalletRelationship($input: CreateSolarWalletRelationshipType!) {
createSolarWalletRelationship(input: $input) {
creditSharingLedgerId
sourceAccountNumber
success
targetAccountNumber
targetGivenName
validFrom
validTo
}
}
Variables
{
"input": CreateSolarWalletRelationshipType
}
Response
{
"data": {
"createSolarWalletRelationship": {
"creditSharingLedgerId": 61318592,
"sourceAccountNumber": "A-BE0D4632",
"success": true,
"targetAccountNumber": "A-0A37FF62",
"targetGivenName": "Shelby",
"validFrom": "2020-12-22T12:49:58.491174+00:00",
"validTo": "1992-05-31T15:27:06.754223+00:00"
}
}
}
createTimeSeriesPrices
Type: CreateTimeSeriesPrices!
URL: https://api.oees-kraken.energy/v1/graphql/
Create time series prices.
Query Complexity: 1
Possible Errors:
- KT-CT-12014: Time series not found.
- KT-CT-12015: Characteristics mismatch.
- KT-CT-12016: Conflicting time series entries.
- KT-CT-12017: Invalid time series entries period.
- KT-CT-12038: Invalid time series entries granularity.
- KT-CT-12040: Time series entries in use.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Deprecated
The 'createTimeSeriesPrices' field is deprecated.
Please use the 'createOrUpdateTimeSeriesEntries' mutation instead.
- Marked as deprecated on 2025-02-03.
- Scheduled for removal on or after 2025-03-01.
Arguments
| Name | Description |
|---|---|
|
The time series input for price creation. |
Return fields
| Name | Description |
|---|---|
|
The time series code. |
|
The time series description. |
|
The time series meta information. |
|
The time series display name. |
|
The time series period size value. |
|
The product code associated to the time series. |
|
The time series unit value. |
|
The existing time series variants based on the prices created. |
Mutation
mutation CreateTimeSeriesPrices($input: CreateTimeSeriesPricesInput!) {
createTimeSeriesPrices(input: $input) {
code
description
meta
name
periodSize
productCode
unit
variants {
...VariantProfileFragment
}
}
}
Variables
{
"input": CreateTimeSeriesPricesInput
}
Response
{
"data": {
"createTimeSeriesPrices": {
"code": "very-better-skill-view-bring",
"description": "federal-floor-deep-front-present",
"meta": {"key": "value"},
"name": "that-itself-else-goal-allow",
"periodSize": "peace-suggest-brother-but-game",
"productCode": "into-event-she-the-red",
"unit": "game-type-board-score-bank",
"variants": [VariantProfile]
}
}
}
deauthenticateDevice
Type: DeauthenticateDevice
URL: https://api.oees-kraken.energy/v1/graphql/
De-authenticate a device.
Query Complexity: 6
Possible Errors:
- KT-CT-4301: Unable to find device for given account.
- KT-CT-4350: Unable to de-authenticate device.
- KT-CT-4352: This device cannot currently be de-authenticated.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Rate Limits
| Key | Steps |
|---|---|
User |
['300/h'] |
Deprecated
The 'deauthenticateDevice' field is deprecated.
Please use 'deauthenticateFlexDevice' instead.
- Marked as deprecated on 2025-05-12.
- Scheduled for removal on or after 2026-01-16.
You can read more about this deprecation on:
https://announcements.kraken.tech/announcements/public/606/
Arguments
| Name | Description |
|---|---|
|
Return fields
| Name | Description |
|---|---|
|
|
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation DeauthenticateDevice($input: DeAuthenticationInput) {
deauthenticateDevice(input: $input) {
krakenflexDevice {
...DeviceDetailsTypeFragment
}
}
}
Variables
{
"input": DeAuthenticationInput
}
Response
{
"data": {
"deauthenticateDevice": {
"krakenflexDevice": DeviceDetailsType
}
}
}
deauthenticateFlexDevice
Type: DeauthenticateFlexDevice
URL: https://api.oees-kraken.energy/v1/graphql/
De-authenticate a device by device id.
Query Complexity: 6
Possible Errors:
- KT-CT-4350: Unable to de-authenticate device.
- KT-CT-4352: This device cannot currently be de-authenticated.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Rate Limits
| Key | Steps |
|---|---|
User |
['300/h'] |
Arguments
| Name | Description |
|---|---|
|
Return fields
| Name | Description |
|---|---|
|
|
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation DeauthenticateFlexDevice($input: DeauthenticateFlexDeviceInput) {
deauthenticateFlexDevice(input: $input) {
krakenflexDevice {
...DeviceDetailsTypeFragment
}
}
}
Variables
{
"input": DeauthenticateFlexDeviceInput
}
Response
{
"data": {
"deauthenticateFlexDevice": {
"krakenflexDevice": DeviceDetailsType
}
}
}
deductLoyaltyPoints
Type: DeductLoyaltyPoints
URL: https://api.oees-kraken.energy/v1/graphql/
Deduct the passed number of Loyalty Points from the account.
Query Complexity: 1
Possible Errors:
- KT-CT-1111: Unauthorized.
- KT-CT-5420: Unauthorized.
- KT-CT-9204: Negative or zero points set.
- KT-CT-9205: Insufficient Loyalty Points.
- KT-CT-9208: Invalid posted at datetime.
- KT-CT-9211: Invalid reason for loyalty points award.
- KT-CT-9219: Loyalty points user not found.
- KT-CT-9221: Idempotency key already used on ledger entry.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can deduct loyalty points
Arguments
| Name | Description |
|---|---|
|
Input fields for deducting Loyalty Points. |
Return fields
| Name | Description |
|---|---|
|
The ledger entry for the deducted loyalty points. |
|
The number of loyalty points that were deducted. |
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation DeductLoyaltyPoints($input: DeductLoyaltyPointsInput!) {
deductLoyaltyPoints(input: $input) {
ledgerEntry {
...LoyaltyPointLedgerEntryTypeFragment
}
pointsDeducted
}
}
Variables
{
"input": DeductLoyaltyPointsInput
}
Response
{
"data": {
"deductLoyaltyPoints": {
"ledgerEntry": LoyaltyPointLedgerEntryType,
"pointsDeducted": 9
}
}
}
deleteAccountReference
Type: DeleteAccountReference
URL: https://api.oees-kraken.energy/v1/graphql/
Delete an account reference.
Query Complexity: 1
Possible Errors:
- KT-CT-4123: Unauthorized.
- KT-CT-8310: Invalid data.
- KT-CT-8312: Invalid data.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can delete account reference
Arguments
| Name | Description |
|---|---|
|
Input fields for removing an account reference. |
Return fields
| Name | Description |
|---|---|
|
|
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation DeleteAccountReference($input: DeleteAccountReferenceInput!) {
deleteAccountReference(input: $input) {
accountReference {
...DeleteAccountReferenceTypeFragment
}
}
}
Variables
{
"input": DeleteAccountReferenceInput
}
Response
{
"data": {
"deleteAccountReference": {
"accountReference": DeleteAccountReferenceType
}
}
}
deleteBoostCharge
Type: DeleteBoostCharge
URL: https://api.oees-kraken.energy/v1/graphql/
Stop any active boost charging.
Query Complexity: 5
Possible Errors:
- KT-CT-4301: Unable to find device for given account.
- KT-CT-4354: Unable to cancel boost charge.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Rate Limits
| Key | Steps |
|---|---|
User |
['300/h'] |
Deprecated
The 'deleteBoostCharge' field is deprecated.
Please use 'updateBoostCharge' instead.
- Marked as deprecated on 2025-05-12.
- Scheduled for removal on or after 2026-01-26.
You can read more about this deprecation on:
https://announcements.kraken.tech/announcements/public/607/
Arguments
| Name | Description |
|---|---|
|
Return fields
| Name | Description |
|---|---|
|
|
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation DeleteBoostCharge($input: DeleteBoostChargeInput) {
deleteBoostCharge(input: $input) {
krakenflexDevice {
...KrakenFlexDeviceTypeFragment
}
}
}
Variables
{
"input": DeleteBoostChargeInput
}
Response
{
"data": {
"deleteBoostCharge": {
"krakenflexDevice": KrakenFlexDeviceType
}
}
}
deleteMfaDevice
Type: DeleteMfaDevice
URL: https://api.oees-kraken.energy/v1/graphql/
Delete MFA Device for user.
Query Complexity: 1
Possible Errors:
- KT-CT-1150: MFA device not found.
- KT-CT-1154: Unable to delete MFA device.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can delete mfa device
Arguments
| Name | Description |
|---|---|
|
Input fields for deleting an existing multi-factor authentication device for the logged user. |
Return fields
| Name | Description |
|---|---|
|
Flag to indicate if the MFA device has been successfully deleted. |
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation DeleteMfaDevice($input: DeleteMfaDeviceInputType!) {
deleteMfaDevice(input: $input) {
deviceDeleted
}
}
Variables
{
"input": DeleteMfaDeviceInputType
}
Response
{
"data": {
"deleteMfaDevice": {
"deviceDeleted": true
}
}
}
deletePropertyDescendants
Type: DeletePropertyDescendants
URL: https://api.oees-kraken.energy/v1/graphql/
Delete all descendants of a property in a hierarchy.
This permanently deletes all descendant nodes (children, grandchildren, etc.) but keeps the property node itself in the hierarchy. This operation is idempotent - if the property is not in the hierarchy or has no descendants, it will succeed without error.
Query Complexity: 1
Possible Errors:
- KT-CT-6622: Unauthorized.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can manage property hierarchies
Arguments
| Name | Description |
|---|---|
|
Input fields for deleting descendants from a property. |
Return fields
| Name | Description |
|---|---|
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
|
The property whose descendants were deleted. |
Mutation
mutation DeletePropertyDescendants($input: DeletePropertyDescendantsInput!) {
deletePropertyDescendants(input: $input) {
property {
...PropertyTypeFragment
}
}
}
Variables
{
"input": DeletePropertyDescendantsInput
}
Response
{
"data": {
"deletePropertyDescendants": {
"property": PropertyType
}
}
}
deletePushNotificationBinding
Type: DeletePushNotificationBinding
URL: https://api.oees-kraken.energy/v1/graphql/
Delete a device token used for push notifications.
This field requires the Authorization header to be set.
Query Complexity: 1
Possible Errors:
- KT-CT-5411: Invalid token or no push notification binding found for the given account user.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can access customer queries
Arguments
| Name | Description |
|---|---|
|
Input fields for deleting a push notification binding. |
Return fields
| Name | Description |
|---|---|
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
|
Mutation
mutation DeletePushNotificationBinding($input: DeletePushNotificationBindingInput!) {
deletePushNotificationBinding(input: $input) {
status
}
}
Variables
{
"input": DeletePushNotificationBindingInput
}
Response
{
"data": {
"deletePushNotificationBinding": {
"status": "SUCCESSFUL"
}
}
}
detachAgreementsFromContracts
Type: DetachAgreementsFromContractsOutput!
URL: https://api.oees-kraken.energy/v1/graphql/
Detach a list of agreements from all contracts they are linked to.
Query Complexity: 1
Possible Errors:
- KT-CT-1501: Agreement not found.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Arguments
| Name | Description |
|---|---|
|
Input for detaching agreements from contracts. |
Return fields
| Name | Description |
|---|---|
|
True if the agreements were successfully detached. |
Mutation
mutation DetachAgreementsFromContracts($input: DetachAgreementsFromContractsInput!) {
detachAgreementsFromContracts(input: $input) {
ok
}
}
Variables
{
"input": DetachAgreementsFromContractsInput
}
Response
{
"data": {
"detachAgreementsFromContracts": {
"ok": true
}
}
}
detachSupplyPointFromEstimationGroup
Type: DetachSupplyPointFromEstimationGroup
URL: https://api.oees-kraken.energy/v1/graphql/
Query Complexity: 1
Possible Errors:
- KT-CT-1111: Unauthorized.
- KT-CT-13603: Supply Point does not exist.
- KT-CT-13604: Supply point has no estimation group assigned.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can manage supply point estimation group
Arguments
| Name | Description |
|---|---|
|
Input fields for detaching a supply point from an estimation group. |
Return fields
| Name | Description |
|---|---|
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
|
The deleted supply point. |
Mutation
mutation DetachSupplyPointFromEstimationGroup($input: DetachSupplyPointFromEstimationGroupInput!) {
detachSupplyPointFromEstimationGroup(input: $input) {
supplyPoint {
...DeletedSupplyPointEstimationGroupTypeFragment
}
}
}
Variables
{
"input": DetachSupplyPointFromEstimationGroupInput
}
Response
{
"data": {
"detachSupplyPointFromEstimationGroup": {
"supplyPoint": DeletedSupplyPointEstimationGroupType
}
}
}
deviceRegistration
Type: DeviceRegistration
URL: https://api.oees-kraken.energy/v1/graphql/
Register a device (EV, battery or heat pump) for smart control.
Query Complexity: 6
Possible Errors:
- KT-CT-4312: Unable to register device.
- KT-CT-4321: Serializer validation error.
- KT-CT-4324: Device already registered error.
- KT-CT-4363: No capable devices found.
- KT-CT-4364: Multiple devices found.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Rate Limits
| Key | Steps |
|---|---|
User |
['300/h'] |
Deprecated
The 'deviceRegistration' field is deprecated.
Please use 'startSmartFlexOnboarding' instead.
- Marked as deprecated on 2025-09-08.
- Scheduled for removal on or after 2026-03-01.
You can read more about this deprecation on:
https://announcements.kraken.tech/announcements/public/678/
Arguments
| Name | Description |
|---|---|
|
Return fields
| Name | Description |
|---|---|
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
|
Device ID(s) of the registered device(s). |
Mutation
mutation DeviceRegistration($input: DeviceRegistrationInput) {
deviceRegistration(input: $input) {
registeredDeviceIds
}
}
Variables
{
"input": DeviceRegistrationInput
}
Response
{
"data": {
"deviceRegistration": {
"registeredDeviceIds": "market-field-today-pressure-quality"
}
}
}
endContributionAgreement
Type: EndContributionAgreement
URL: https://api.oees-kraken.energy/v1/graphql/
End a contribution agreement for an account.
Query Complexity: 1
Possible Errors:
- KT-CT-4123: Unauthorized.
- KT-CT-9603: Unable to find contribution agreement.
- KT-CT-9604: Unable to end contribution agreement.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can manage contribution agreements
Arguments
| Name | Description |
|---|---|
|
Input variables needed for ending a contribution agreement on an account. |
Return fields
| Name | Description |
|---|---|
|
The created contribution agreement. |
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation EndContributionAgreement($input: EndContributionAgreementInput!) {
endContributionAgreement(input: $input) {
contributionAgreement {
...ContributionAgreementTypeFragment
}
}
}
Variables
{
"input": EndContributionAgreementInput
}
Response
{
"data": {
"endContributionAgreement": {
"contributionAgreement": ContributionAgreementType
}
}
}
enqueueInboundCall
Type: EnqueueInboundCall
URL: https://api.oees-kraken.energy/v1/graphql/
Query Complexity: 1
Possible Errors:
- KT-CT-11802: Call not found.
- KT-CT-11803: Unable to enqueue the call.
- KT-CT-11817: Invalid call ID.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can manage calls
Arguments
| Name | Description |
|---|---|
|
Return fields
| Name | Description |
|---|---|
|
The call that was enqueued. |
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation EnqueueInboundCall($input: EnqueueInboundCallInput!) {
enqueueInboundCall(input: $input) {
call {
...InboundCallTypeFragment
}
}
}
Variables
{
"input": EnqueueInboundCallInput
}
Response
{
"data": {
"enqueueInboundCall": {
"call": InboundCallType
}
}
}
enrollAccountInLoyaltyProgram
Type: EnrollAccountInLoyaltyProgram
URL: https://api.oees-kraken.energy/v1/graphql/
Enroll users account in Loyalty program.
Query Complexity: 1
Possible Errors:
- KT-CT-1111: Unauthorized.
- KT-CT-9210: Unhandled Loyalty Points exception.
- KT-CT-9213: ineligible loyalty points enrollment.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can enrol customers in campaigns
OR Can join campaigns
Arguments
| Name | Description |
|---|---|
|
The account number to enroll in the loyalty program. |
Return fields
| Name | Description |
|---|---|
|
Outcome of the loyalty points campaign enrollment. |
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation EnrollAccountInLoyaltyProgram($input: EnrollAccountInLoyaltyProgramInput!) {
enrollAccountInLoyaltyProgram(input: $input) {
outcome {
...EnrollAccountInLoyaltyProgramOutcomeFragment
}
}
}
Variables
{
"input": EnrollAccountInLoyaltyProgramInput
}
Response
{
"data": {
"enrollAccountInLoyaltyProgram": {
"outcome": EnrollAccountInLoyaltyProgramOutcome
}
}
}
enrollment
Type: EnrollmentInitiated!
URL: https://api.oees-kraken.energy/v1/graphql/
Initiate an enrollment for an account and a set of supply points.
Query Complexity: 1
Possible Errors:
- KT-CT-10302: Invalid data.
- KT-CT-10312: Mutation not enabled in this environment.
- KT-CT-10313: Failed to enroll account.
- KT-CT-10314: This supply point is already on supply.
- KT-CT-10315: Unable to begin enrollment journey due to invalid data.
- KT-CT-10340: House move enrollment is not enabled.
- KT-CT-10356: A join supplier process is already linked to the house move.
- KT-CT-10357: The house move enrollment has multiple supply points for a single market.
- KT-CT-1602: Serializer validation error.
- KT-CT-4410: Invalid postcode.
- KT-CT-4412: The supplied address is not valid.
- KT-CT-4501: Unauthorized.
- KT-CT-6622: Unauthorized.
- KT-CT-7719: Session not found.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Arguments
| Name | Description |
|---|---|
|
The Enrollment Input data for the Join Supplier. |
Return fields
| Name | Description |
|---|---|
|
The Enrollment processes that were initiated. |
|
The message to display to the user on Enrollment initiation. |
Mutation
mutation Enrollment($input: EnrollmentInput!) {
enrollment(input: $input) {
enrollmentProcesses {
... on JoinSupplierProcessType {
...JoinSupplierProcessTypeFragment
}
... on OccupyPropertyProcessType {
...OccupyPropertyProcessTypeFragment
}
}
message
}
}
Variables
{
"input": EnrollmentInput
}
Response
{
"data": {
"enrollment": {
"enrollmentProcesses": JoinSupplierProcessType,
"message": "I-season-general-standard-boy"
}
}
}
escalateInkConversation
Type: EscalateInkConversation
URL: https://api.oees-kraken.energy/v1/graphql/
Query Complexity: 1
Possible Errors:
- KT-CT-1111: Unauthorized.
- KT-CT-7659: The Ink conversation could not be escalated.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can escalate ink conversation
Arguments
| Name | Description |
|---|---|
|
Input for escalating an Ink conversation to the team leader. |
Return fields
| Name | Description |
|---|---|
|
The ID of the conversation that was escalated. |
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation EscalateInkConversation($input: EscalateInkConversationInput) {
escalateInkConversation(input: $input) {
conversationRelayId
}
}
Variables
{
"input": EscalateInkConversationInput
}
Response
{
"data": {
"escalateInkConversation": {
"conversationRelayId": "61320172"
}
}
}
extendAgreementPeriod
Type: ExtendAgreementPeriod
URL: https://api.oees-kraken.energy/v1/graphql/
Extend the period of an agreement.
Query Complexity: 1
Possible Errors:
- KT-CT-1501: Agreement not found.
- KT-CT-1504: Account does not match with the agreement.
- KT-CT-1505: Unable to edit agreement.
- KT-CT-1506: Agreement period is not within the supply and property period.
- KT-CT-1514: Extension valid_to date must be later than the current valid_to date.
- KT-CT-1515: Agreement must have an end date to be extensible.
- KT-CT-4178: No account found with given account number.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can extend agreements AND Can query agreements
Arguments
| Name | Description |
|---|---|
|
Input for extending the agreement period. |
Return fields
| Name | Description |
|---|---|
|
Agreement that we are going to extend. |
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation ExtendAgreementPeriod($input: ExtendAgreementPeriodInput!) {
extendAgreementPeriod(input: $input) {
agreement {
...CommonAgreementTypeFragment
}
}
}
Variables
{
"input": ExtendAgreementPeriodInput
}
Response
{
"data": {
"extendAgreementPeriod": {
"agreement": CommonAgreementType
}
}
}
fetchGeneratePaymentFingerprint
Type: FetchGeneratePaymentFingerprint
URL: https://api.oees-kraken.energy/v1/graphql/
Fetch or generate payment fingerprint from vendor.
Query Complexity: 1
Possible Errors:
- KT-CT-12101: Payment instruction not found.
- KT-CT-12102: Payment vendor not supported.
- KT-CT-12103: Missing payment metadata from vendor.
- KT-CT-12104: Unable to fetch or generate payment fingerprint.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can generate payment fingerprint
Arguments
| Name | Description |
|---|---|
Return fields
| Name | Description |
|---|---|
|
Fetched or generated fingerprint from vendor. |
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
|
Vendor name. |
Mutation
mutation FetchGeneratePaymentFingerprint($input: FetchGeneratePaymentFingerprintInput!) {
fetchGeneratePaymentFingerprint(input: $input) {
fingerprint
vendor
}
}
Variables
{
"input": FetchGeneratePaymentFingerprintInput
}
Response
{
"data": {
"fetchGeneratePaymentFingerprint": {
"fingerprint": "story-because-capital-nature-memory",
"vendor": "game-whether-south-own-entire"
}
}
}
fetchPreSignedLinkForOpportunityAttachment
Type: FetchPreSignedLinkForOpportunityAttachment
URL: https://api.oees-kraken.energy/v1/graphql/
Fetch a pre-signed link for an opportunity file attachment.
Query Complexity: 1
Possible Errors:
- KT-CT-8933: Opportunity file attachment not found.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can download leads attachment files
Arguments
| Name | Description |
|---|---|
|
Input fields for fetching a pre-signed link for an opportunity file attachment. |
Return fields
| Name | Description |
|---|---|
|
The opportunity file attachment with pre-signed URL. |
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation FetchPreSignedLinkForOpportunityAttachment($input: FetchPreSignedLinkForOpportunityAttachmentInput!) {
fetchPreSignedLinkForOpportunityAttachment(input: $input) {
opportunityFileAttachment {
...OpportunityFileAttachmentFragment
}
}
}
Variables
{
"input": FetchPreSignedLinkForOpportunityAttachmentInput
}
Response
{
"data": {
"fetchPreSignedLinkForOpportunityAttachment": {
"opportunityFileAttachment": OpportunityFileAttachment
}
}
}
forceReauthentication
Type: ForceReauthentication
URL: https://api.oees-kraken.energy/v1/graphql/
Force users of Kraken Tokens and refresh tokens issued to the viewer to reauthenticate.
Calling this mutation will cause all Kraken Tokens and refresh tokens issued to the authenticated viewer before the mutation was called to become invalid.
Query Complexity: 1
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
(No)
Arguments
| Name | Description |
|---|---|
|
Input object argument to the force-reauthentication mutation. |
Return fields
| Name | Description |
|---|---|
|
The time at which forced reauthentication is effective. Kraken and refresh tokens issued before this time will be invalid. |
|
Reports whether the mutation applied successfully. Should always be 'true'. |
Mutation
mutation ForceReauthentication($input: ForceReauthenticationInput!) {
forceReauthentication(input: $input) {
effectiveAt
tokensInvalidated
}
}
Variables
{
"input": ForceReauthenticationInput
}
Response
{
"data": {
"forceReauthentication": {
"effectiveAt": "1994-04-12T17:01:52.681693+00:00",
"tokensInvalidated": true
}
}
}
generateAffiliatesAudioRecordingPreSignedUrl
Type: GenerateAffiliatesAudioRecordingPreSignedUrl!
URL: https://api.oees-kraken.energy/v1/graphql/
Generate a pre signed url for uploading a file for use with affiliates.
Query Complexity: 1
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Arguments
| Name | Description |
|---|---|
|
Input fields for creating a pre-signed URL for uploading an audio file to S3. |
Return fields
| Name | Description |
|---|---|
|
Input fields required to generate a presigned S3 post for affiliates audio recording. |
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation GenerateAffiliatesAudioRecordingPreSignedUrl($input: GenerateAffiliatesAudioRecordingPreSignedUrlInput!) {
generateAffiliatesAudioRecordingPreSignedUrl(input: $input) {
affiliatesAudioRecordingPreSignedUrl {
...AffiliateAudioRecordingPresignedPostTypeFragment
}
}
}
Variables
{
"input": GenerateAffiliatesAudioRecordingPreSignedUrlInput
}
Response
{
"data": {
"generateAffiliatesAudioRecordingPreSignedUrl": {
"affiliatesAudioRecordingPreSignedUrl": AffiliateAudioRecordingPresignedPostType
}
}
}
generateInkPresignedUrl
Type: GenerateInkPresignedUrl
URL: https://api.oees-kraken.energy/v1/graphql/
Query Complexity: 1
Possible Errors:
- KT-CT-7618: Unable to process message.
- KT-CT-7620: Channel not supported.
- KT-CT-7624: Error when generating the presigned URL.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can create ink message attachments
Arguments
| Name | Description |
|---|---|
|
Return fields
| Name | Description |
|---|---|
|
Presigned post fields required to upload the file. |
|
The key for the item. |
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
|
A presigned URL for the user to upload to the quarantine bucket. |
Mutation
mutation GenerateInkPresignedUrl($input: GenerateInkPresignedUrlInput) {
generateInkPresignedUrl(input: $input) {
fields
key
uploadUrl
}
}
Variables
{
"input": GenerateInkPresignedUrlInput
}
Response
{
"data": {
"generateInkPresignedUrl": {
"fields": {"key": "value"},
"key": "store-production-example-get-family",
"uploadUrl": "simply-rest-hair-among-our"
}
}
}
generateLeadsFileAttachmentDownloadPreSignedUrl
Type: GenerateLeadsFileAttachmentDownloadPreSignedUrl
URL: https://api.oees-kraken.energy/v1/graphql/
Generate a pre-signed URL for downloading a leads attachment file.
Query Complexity: 1
Possible Errors:
- KT-CT-8933: Opportunity file attachment not found.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can download leads attachment files
Arguments
| Name | Description |
|---|---|
|
Input fields for creating a pre-signed URL for downloading a lead file attachment from S3. |
Return fields
| Name | Description |
|---|---|
|
Pre-signed S3 URL for downloading the leads file attachment. |
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation GenerateLeadsFileAttachmentDownloadPreSignedUrl($input: GenerateLeadsFileAttachmentDownloadPreSignedUrlInput!) {
generateLeadsFileAttachmentDownloadPreSignedUrl(input: $input) {
leadsFileAttachmentDownloadPreSignedUrl {
...LeadsFileAttachmentDownloadPresignedUrlTypeFragment
}
}
}
Variables
{
"input": GenerateLeadsFileAttachmentDownloadPreSignedUrlInput
}
Response
{
"data": {
"generateLeadsFileAttachmentDownloadPreSignedUrl": {
"leadsFileAttachmentDownloadPreSignedUrl": LeadsFileAttachmentDownloadPresignedUrlType
}
}
}
generateLeadsFileAttachmentPreSignedUrl
Type: GenerateLeadsFileAttachmentsPreSignedUrl
URL: https://api.oees-kraken.energy/v1/graphql/
Generate a pre signed url for uploading a leads attachment file.
Query Complexity: 1
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can upload leads attachment files
Arguments
| Name | Description |
|---|---|
|
Input fields for creating a pre-signed URL for uploading a lead file attachment file to S3. |
Return fields
| Name | Description |
|---|---|
|
Input fields required to generate a presigned S3 post for leads file attachment. |
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation GenerateLeadsFileAttachmentPreSignedUrl($input: GenerateLeadsFileAttachmentPreSignedUrlInput!) {
generateLeadsFileAttachmentPreSignedUrl(input: $input) {
leadsFileAttachmentPreSignedUrl {
...LeadsFileAttachmentPresignedPostTypeFragment
}
}
}
Variables
{
"input": GenerateLeadsFileAttachmentPreSignedUrlInput
}
Response
{
"data": {
"generateLeadsFileAttachmentPreSignedUrl": {
"leadsFileAttachmentPreSignedUrl": LeadsFileAttachmentPresignedPostType
}
}
}
generatePreSignedToken
Type: GeneratePreSignedToken
URL: https://api.oees-kraken.energy/v1/graphql/
Generate a pre-signed token with a set expiry time.
Query Complexity: 1
Possible Errors:
- KT-CT-1120: The Kraken Token has expired.
- KT-CT-1128: Unauthorized.
- KT-CT-1131: Unauthorized.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can generate pre signed tokens
Arguments
| Name | Description |
|---|---|
|
|
|
The number of days that the token will be available for authentication (From now on). |
|
Define (and limit) the scope of the token. |
Return fields
| Name | Description |
|---|---|
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
|
|
|
|
|
Mutation
mutation GeneratePreSignedToken(
$email: String!,
$numberOfDaysAllowed: Int!,
$scope: PreSignedTokenScope!
) {
generatePreSignedToken(
email: $email,
numberOfDaysAllowed: $numberOfDaysAllowed,
scope: $scope
) {
scope
token
tokenExpiryDatetime
}
}
Variables
{
"email": "soon-clearly-eye-common-example",
"numberOfDaysAllowed": 67,
"scope": "SUBMIT_METER_READINGS"
}
Response
{
"data": {
"generatePreSignedToken": {
"scope": "SUBMIT_METER_READINGS",
"token": "century-reflect-white-store-idea",
"tokenExpiryDatetime": "1989-10-06T04:29:05.696754+00:00"
}
}
}
getEmbeddedSecretForNewPaymentInstruction
Type: GetEmbeddedSecretForNewPaymentInstruction
URL: https://api.oees-kraken.energy/v1/graphql/
Get the client secret needed to create a new payment instruction using an embedded form.
Query Complexity: 1
Possible Errors:
- KT-CT-3820: Received both ledger ID and number.
- KT-CT-3822: Unauthorized.
- KT-CT-4177: Unauthorized.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can create payment instructions
Arguments
| Name | Description |
|---|---|
|
Input fields for getting the client secret for an embedded new card payment method form. |
Return fields
| Name | Description |
|---|---|
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
|
Mutation
mutation GetEmbeddedSecretForNewPaymentInstruction($input: GetEmbeddedSecretForNewPaymentInstructionInput!) {
getEmbeddedSecretForNewPaymentInstruction(input: $input) {
secretKey
}
}
Variables
{
"input": GetEmbeddedSecretForNewPaymentInstructionInput
}
Response
{
"data": {
"getEmbeddedSecretForNewPaymentInstruction": {
"secretKey": "that-get-western-friend-hospital"
}
}
}
getEmbeddedSecretForNewPaymentInstructionWithoutAccount
Type: GetEmbeddedSecretForNewPaymentInstructionWithoutAccount
URL: https://api.oees-kraken.energy/v1/graphql/
Get the client secret needed to create a new payment instruction using an embedded form without tying it to a customer.
Query Complexity: 1
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can create payment instructions
Arguments
| Name | Description |
|---|---|
|
Input fields for getting the client secret for an embedded new card payment method form. |
Return fields
| Name | Description |
|---|---|
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
|
The client secret needed to create a new stored payment instruction. |
Mutation
mutation GetEmbeddedSecretForNewPaymentInstructionWithoutAccount($input: GetEmbeddedSecretForNewPaymentInstructionWithoutAccountInput!) {
getEmbeddedSecretForNewPaymentInstructionWithoutAccount(input: $input) {
secretKey
}
}
Variables
Response
{
"data": {
"getEmbeddedSecretForNewPaymentInstructionWithoutAccount": {
"secretKey": "international-eight-project-position-coach"
}
}
}
getHostedUrlForNewPaymentInstruction
Type: GetHostedUrlForNewPaymentInstruction
URL: https://api.oees-kraken.energy/v1/graphql/
Get the external URL where the user can set up a payment instruction.
Query Complexity: 1
Possible Errors:
- KT-CT-1128: Unauthorized.
- KT-CT-3822: Unauthorized.
- KT-CT-3979: Invalid ledger.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can create payment instructions
Arguments
| Name | Description |
|---|---|
|
Input fields for getting the external URL for setting up a payment instruction. |
Return fields
| Name | Description |
|---|---|
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
|
URL at which payment instruction can be set up. |
Mutation
mutation GetHostedUrlForNewPaymentInstruction($input: GetHostedUrlForNewPaymentInstructionInput!) {
getHostedUrlForNewPaymentInstruction(input: $input) {
url
}
}
Variables
{
"input": GetHostedUrlForNewPaymentInstructionInput
}
Response
{
"data": {
"getHostedUrlForNewPaymentInstruction": {
"url": "score-since-card-say-sense"
}
}
}
getOrCreateAgreement
Type: GetOrCreateAgreement
URL: https://api.oees-kraken.energy/v1/graphql/
Get an existing agreement or create a new one if it doesn't exist.
Query Complexity: 1
Possible Errors:
- KT-CT-1503: Agreement valid_to date must be later than valid_from date.
- KT-CT-1509: Unable to create agreement.
- KT-CT-1511: Cannot create overlapping agreement.
- KT-CT-1512: Account type does not support agreements.
- KT-CT-4123: Unauthorized.
- KT-CT-4719: No supply point found for identifier provided.
- KT-CT-4910: No product exists with the given input.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can create agreements AND Can query agreements
Arguments
| Name | Description |
|---|---|
|
Input fields for getting or creating an agreement. |
Return fields
| Name | Description |
|---|---|
|
The agreement that was retrieved or created. |
|
Indicates whether a new agreement was created (true) or an existing agreement was returned (false). |
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation GetOrCreateAgreement($input: CreateAgreementInput!) {
getOrCreateAgreement(input: $input) {
agreement {
...CommonAgreementTypeFragment
}
created
}
}
Variables
{
"input": CreateAgreementInput
}
Response
{
"data": {
"getOrCreateAgreement": {
"agreement": CommonAgreementType,
"created": true
}
}
}
grantUserAccessToBusiness
Type: GrantUserAccessToBusiness
URL: https://api.oees-kraken.energy/v1/graphql/
Grant user access to the business using the provided role.
Query Complexity: 1
Possible Errors:
- KT-CT-11107: Unauthorized.
- KT-CT-13501: Unauthorized.
- KT-CT-5463: Unauthorized.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can allocate user roles
Arguments
| Name | Description |
|---|---|
|
Return fields
| Name | Description |
|---|---|
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation GrantUserAccessToBusiness($input: GrantUserAccessToBusinessInput!) {
grantUserAccessToBusiness(input: $input) {
}
}
Variables
{
"input": GrantUserAccessToBusinessInput
}
Response
{
"data": {
"grantUserAccessToBusiness": {
}
}
}
initializeAccount
Type: InitializeAccountResult!
URL: https://api.oees-kraken.energy/v1/graphql/
Initialize account for sign up. Returns the existing account if matching datafound for the provided input, otherwise creates a new account.
Query Complexity: 1
Possible Errors:
- KT-CT-10324: Mutation not enabled in this environment.
- KT-CT-10325: Input data has invalid format.
- KT-CT-10326: An error occurred when trying to initialize the account.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Arguments
| Name | Description |
|---|---|
|
Return fields
| Name | Description |
|---|---|
|
The account number of the newly created account or the existing account to be re-used. |
|
Was a new account created. |
Mutation
mutation InitializeAccount($input: BaseInitializeAccountInput!) {
initializeAccount(input: $input) {
accountNumber
isNewAccount
}
}
Variables
{
"input": BaseInitializeAccountInput
}
Response
{
"data": {
"initializeAccount": {
"accountNumber": "A-8B636603",
"isNewAccount": true
}
}
}
initializeUser
Type: InitializeUserResult!
URL: https://api.oees-kraken.energy/v1/graphql/
Initialize user for sign up. Returns an existing user if matching datafound for the provided input, otherwise creates a new one.
Query Complexity: 1
Possible Errors:
- KT-CT-10327: Mutation not enabled in this environment.
- KT-CT-10328: Input data has invalid format.
- KT-CT-10329: An error occurred when trying to initialize the user.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Arguments
| Name | Description |
|---|---|
|
Return fields
| Name | Description |
|---|---|
|
Was a new user created. |
|
The user number of the newly created user or the existing user to be re-used. |
Mutation
mutation InitializeUser($input: BaseInitializeUserInput!) {
initializeUser(input: $input) {
isNewUser
userNumber
}
}
Variables
{
"input": BaseInitializeUserInput
}
Response
{
"data": {
"initializeUser": {
"isNewUser": true,
"userNumber": "pay-employee-college-threat-middle"
}
}
}
initiateHostedStandalonePayment
Type: InitiateHostedStandalonePayment
URL: https://api.oees-kraken.energy/v1/graphql/
Initiate a standalone payment and return the url where the customer can complete it.
Query Complexity: 1
Possible Errors:
- KT-CT-1128: Unauthorized.
- KT-CT-3822: Unauthorized.
- KT-CT-3943: Invalid ledger.
- KT-CT-3957: No collection method provided.
- KT-CT-3958: Provide either ledger ID or ledger number.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can access customer queries
OR Can initiate standalone payments
Arguments
| Name | Description |
|---|---|
|
Input fields for initiating a standalone payment. |
Return fields
| Name | Description |
|---|---|
|
The details required to refer to and complete a hosted payment. |
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation InitiateHostedStandalonePayment($input: InitiateHostedStandalonePaymentInput!) {
initiateHostedStandalonePayment(input: $input) {
payment {
...InitiateHostedStandalonePaymentOutputFragment
}
}
}
Variables
{
"input": InitiateHostedStandalonePaymentInput
}
Response
{
"data": {
"initiateHostedStandalonePayment": {
"payment": InitiateHostedStandalonePaymentOutput
}
}
}
initiateProductSwitch
Type: InitiateProductSwitch
URL: https://api.oees-kraken.energy/v1/graphql/
Do a product switch for a user.
Query Complexity: 1
Possible Errors:
- KT-CT-1111: Unauthorized.
- KT-CT-1507: Agreement product switch date is not within the acceptable range.
- KT-CT-1509: Unable to create agreement.
- 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.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can manage account renewals
OR Can switch product
Arguments
| Name | Description |
|---|---|
|
Instigate a product switch for a specific supply point given a valid product and account number. |
Return fields
| Name | Description |
|---|---|
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
|
The selected product for a specific product switch. |
|
The date at which the product switch becomes effective. |
Mutation
mutation InitiateProductSwitch($input: InitiateProductSwitchInput!) {
initiateProductSwitch(input: $input) {
productCode
switchDate
}
}
Variables
{
"input": InitiateProductSwitchInput
}
Response
{
"data": {
"initiateProductSwitch": {
"productCode": "perform-mean-natural-head-either",
"switchDate": "1977-04-01"
}
}
}
initiateStandalonePayment
Type: InitiateStandalonePayment
URL: https://api.oees-kraken.energy/v1/graphql/
Initiate a standalone payment and return the client secret required to complete it.
Query Complexity: 1
Possible Errors:
- KT-CT-3820: Received both ledger ID and number.
- KT-CT-3822: Unauthorized.
- KT-CT-3943: Invalid ledger.
- KT-CT-4177: Unauthorized.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can access customer queries
OR Can initiate standalone payments
Arguments
| Name | Description |
|---|---|
|
Input fields for initiating a standalone payment. |
Return fields
| Name | Description |
|---|---|
|
|
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation InitiateStandalonePayment($input: InitiateStandalonePaymentInput!) {
initiateStandalonePayment(input: $input) {
payment {
...InitiateStandalonePaymentOutputFragment
}
}
}
Variables
{
"input": InitiateStandalonePaymentInput
}
Response
{
"data": {
"initiateStandalonePayment": {
"payment": InitiateStandalonePaymentOutput
}
}
}
instigateLeaveSupplier
Type: LeaveSupplierInstigated!
URL: https://api.oees-kraken.energy/v1/graphql/
Instigate a leave supplier process or update an existing process.
Query Complexity: 1
Possible Errors:
- KT-CT-10301: Unable to instigate leave supplier process.
- KT-CT-10304: Mutation not enabled in this environment.
- KT-CT-10330: Unsupported leave supplier type.
- KT-CT-4501: Unauthorized.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Arguments
| Name | Description |
|---|---|
|
Return fields
| Name | Description |
|---|---|
|
The ID of the newly created or existing leave supplier process. Deprecated The 'leaveSupplierProcessId' field is deprecated. |
|
The message to display to the user on termination initiation. |
|
The number of the newly created or existing leave supplier process. |
Mutation
mutation InstigateLeaveSupplier($input: LeaveSupplierInput!) {
instigateLeaveSupplier(input: $input) {
message
number
}
}
Variables
{
"input": LeaveSupplierInput
}
Response
{
"data": {
"instigateLeaveSupplier": {
"message": "writer-audience-short-vote-hard",
"number": "75576693"
}
}
}
invalidatePaymentInstruction
Type: InvalidatePaymentInstruction
URL: https://api.oees-kraken.energy/v1/graphql/
Invalidate an existing instruction.
Query Complexity: 1
Possible Errors:
- KT-CT-3926: Unauthorized.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can access customer queries
OR Can invalidate payment instructions
Arguments
| Name | Description |
|---|---|
|
Input fields for invalidating a payment instruction from an embedded form. |
Return fields
| Name | Description |
|---|---|
|
|
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation InvalidatePaymentInstruction($input: InvalidatePaymentInstructionInput!) {
invalidatePaymentInstruction(input: $input) {
instruction {
...InvalidatePaymentInstructionOutputFragment
}
}
}
Variables
{
"input": InvalidatePaymentInstructionInput
}
Response
{
"data": {
"invalidatePaymentInstruction": {
"instruction": InvalidatePaymentInstructionOutput
}
}
}
invalidatePreSignedToken
Type: InvalidatePreSignedToken
URL: https://api.oees-kraken.energy/v1/graphql/
Invalidate a previously-issued pre-signed token.
Query Complexity: 1
Possible Errors:
- KT-CT-1129: Unauthorized.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
(No)
Rate Limits
| Key | Steps |
|---|---|
Ip |
['5/m'] |
Arguments
| Name | Description |
|---|---|
|
Return fields
| Name | Description |
|---|---|
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
|
Mutation
mutation InvalidatePreSignedToken($input: InvalidatePreSignedTokenInput!) {
invalidatePreSignedToken(input: $input) {
token {
...PreSignedTokenFragment
}
}
}
Variables
{
"input": InvalidatePreSignedTokenInput
}
Response
{
"data": {
"invalidatePreSignedToken": {
"token": PreSignedToken
}
}
}
invalidatePreSignedTokensForUser
Type: InvalidatePreSignedTokensForUser
URL: https://api.oees-kraken.energy/v1/graphql/
Invalidate pre-signed tokens issued to a particular user.
Query Complexity: 1
Possible Errors:
- KT-CT-1129: Unauthorized.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can invalidate pre signed tokens
Rate Limits
| Key | Steps |
|---|---|
Ip |
['5/m'] |
Arguments
| Name | Description |
|---|---|
Return fields
| Name | Description |
|---|---|
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
|
Mutation
mutation InvalidatePreSignedTokensForUser($input: InvalidatePreSignedTokensForUserInput!) {
invalidatePreSignedTokensForUser(input: $input) {
tokens {
...PreSignedTokenFragment
}
}
}
Variables
{
"input": InvalidatePreSignedTokensForUserInput
}
Response
{
"data": {
"invalidatePreSignedTokensForUser": {
"tokens": [PreSignedToken]
}
}
}
invalidateRefreshToken
Type: InvalidateRefreshToken
URL: https://api.oees-kraken.energy/v1/graphql/
Invalidate a previously-issued refresh token.
Query Complexity: 1
Possible Errors:
- KT-CT-1130: Unauthorized.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can invalidate refresh tokens
Arguments
| Name | Description |
|---|---|
|
Return fields
| Name | Description |
|---|---|
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
|
Mutation
mutation InvalidateRefreshToken($input: InvalidateRefreshTokenInput!) {
invalidateRefreshToken(input: $input) {
token {
...RefreshTokenFragment
}
}
}
Variables
{
"input": InvalidateRefreshTokenInput
}
Response
{
"data": {
"invalidateRefreshToken": {
"token": RefreshToken
}
}
}
invalidateRefreshTokensForUser
Type: InvalidateRefreshTokensForUser
URL: https://api.oees-kraken.energy/v1/graphql/
Invalidate refresh tokens issued to a particular user.
Query Complexity: 1
Possible Errors:
- KT-CT-1128: Unauthorized.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can invalidate refresh tokens
Arguments
| Name | Description |
|---|---|
Return fields
| Name | Description |
|---|---|
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
|
Mutation
mutation InvalidateRefreshTokensForUser($input: InvalidateRefreshTokensForUserInput!) {
invalidateRefreshTokensForUser(input: $input) {
tokens {
...RefreshTokenFragment
}
}
}
Variables
{
"input": InvalidateRefreshTokensForUserInput
}
Response
{
"data": {
"invalidateRefreshTokensForUser": {
"tokens": [RefreshToken]
}
}
}
joinSupplierAcceptTermsAndConditions
Type: JoinSupplierAcceptTermsAndConditions
URL: https://api.oees-kraken.energy/v1/graphql/
Accept terms and conditions for a join supplier process.
Query Complexity: 1
Possible Errors:
- KT-CT-1111: Unauthorized.
- KT-CT-4501: Unauthorized.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can accept terms and conditions
Arguments
| Name | Description |
|---|---|
Return fields
| Name | Description |
|---|---|
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
|
Indicator that the mutation has completed successfully. |
Mutation
mutation JoinSupplierAcceptTermsAndConditions($input: JoinSupplierAcceptTermsAndConditionsInput!) {
joinSupplierAcceptTermsAndConditions(input: $input) {
success
}
}
Variables
{
"input": JoinSupplierAcceptTermsAndConditionsInput
}
Response
{
"data": {
"joinSupplierAcceptTermsAndConditions": {
"success": true
}
}
}
legacyProcessOrder
Type: LegacyProcessOrderOutput!
URL: https://api.oees-kraken.energy/v1/graphql/
Process an Order (legacy)
Query Complexity: 1
Possible Errors:
- KT-CT-12701: Invalid sales channel code.
- KT-CT-13102: Invalid order data.
- KT-CT-13103: Unprocessable order.
- KT-CT-13104: Conflicting order.
- KT-CT-1605: Invalid input.
- KT-CT-7701: The affiliate organisation was not found.
- KT-CT-8906: Opportunity not found.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Arguments
| Name | Description |
|---|---|
|
Return fields
| Name | Description |
|---|---|
|
The unique identifier of the processed order. |
|
The resources associated with the processed order. |
|
The status of the order processing. |
Mutation
mutation LegacyProcessOrder($input: LegacyProcessOrderInput!) {
legacyProcessOrder(input: $input) {
identifier
resources {
...LegacyOrderResourceFragment
}
status
}
}
Variables
{
"input": LegacyProcessOrderInput
}
Response
{
"data": {
"legacyProcessOrder": {
"identifier": "32157857",
"resources": [LegacyOrderResource],
"status": "PENDING"
}
}
}
linkAccountToBusiness
Type: LinkAccountToBusiness
URL: https://api.oees-kraken.energy/v1/graphql/
Link an account to a business.
Query Complexity: 1
Possible Errors:
- KT-CT-11104: Business role already allocated.
- KT-CT-11105: Business role already allocated.
- KT-CT-11106: Unauthorized.
- KT-CT-11107: Unauthorized.
- KT-CT-1111: Unauthorized.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can query businesses AND Can update businesses
Arguments
| Name | Description |
|---|---|
|
Input fields for linking an account to a business. |
Return fields
| Name | Description |
|---|---|
|
The business the account was linked to. |
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation LinkAccountToBusiness($input: LinkAccountToBusinessInput!) {
linkAccountToBusiness(input: $input) {
business {
...BusinessTypeFragment
}
}
}
Variables
{
"input": LinkAccountToBusinessInput
}
Response
{
"data": {
"linkAccountToBusiness": {
"business": BusinessType
}
}
}
linkUserToLine
Type: LinkUserToLineResponse!
URL: https://api.oees-kraken.energy/v1/graphql/
Link an account user and line user together.
Query Complexity: 1
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Arguments
| Name | Description |
|---|---|
|
Input fields to link an account user with LINE. |
Return fields
| Name | Description |
|---|
Mutation
mutation LinkUserToLine($input: LinkUserToLineInput!) {
linkUserToLine(input: $input) {
... on AlreadyLinkedError {
...AlreadyLinkedErrorFragment
}
... on LineLinkRedirectResponse {
...LineLinkRedirectResponseFragment
}
... on LinkTokenNotFound {
...LinkTokenNotFoundFragment
}
}
}
Variables
{
"input": LinkUserToLineInput
}
Response
{
"data": {
"linkUserToLine": AlreadyLinkedError
}
}
markPrintBatchAsProcessed
Type: MarkPrintBatchAsProcessed!
URL: https://api.oees-kraken.energy/v1/graphql/
Mark the print batch as processed.
Query Complexity: 1
Possible Errors:
- KT-CT-9011: Invalid data.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Arguments
| Name | Description |
|---|---|
|
Return fields
| Name | Description |
|---|---|
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
|
Mutation
mutation MarkPrintBatchAsProcessed($printBatchId: ID!) {
markPrintBatchAsProcessed(printBatchId: $printBatchId) {
printBatch {
...PrintBatchTypeFragment
}
}
}
Variables
{
"printBatchId": "43037029"
}
Response
{
"data": {
"markPrintBatchAsProcessed": {
"printBatch": PrintBatchType
}
}
}
masqueradeAuthentication
Type: MasqueradeAuthentication
URL: https://api.oees-kraken.energy/v1/graphql/
Provide a temporary token to get an auth token. This is intended to allow support users to view customer data through the brand interface.
Query Complexity: 1
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
(No)
Arguments
| Name | Description |
|---|---|
|
The masquerade token issued by the support site. |
|
The ID of the AccountUser to masquerade as. |
Return fields
| Name | Description |
|---|---|
|
A list of any errors that occurred while running this mutation. |
|
A Kraken Token that can be used to authenticate to the API, masquerading as the desired user. |
Mutation
mutation MasqueradeAuthentication(
$masqueradeToken: String!,
$userId: String!
) {
masqueradeAuthentication(
masqueradeToken: $masqueradeToken,
userId: $userId
) {
errors {
...ErrorTypeFragment
}
token
}
}
Variables
{
"masqueradeToken": "situation-century-later-step-drop",
"userId": "57151537"
}
Response
{
"data": {
"masqueradeAuthentication": {
"errors": [ErrorType],
"token": "once-civil-down-democratic-pretty"
}
}
}
moveToBucket
Type: MoveToBucket
URL: https://api.oees-kraken.energy/v1/graphql/
Query Complexity: 1
Possible Errors:
- KT-CT-7612: The Ink conversation was not found.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can assign ink bucket
Arguments
| Name | Description |
|---|---|
|
Input for moving a conversation to a bucket. |
Return fields
| Name | Description |
|---|---|
|
The conversation that was moved to the bucket. |
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation MoveToBucket($input: MoveToBucketInput) {
moveToBucket(input: $input) {
conversation {
...InkConversationFragment
}
}
}
Variables
{
"input": MoveToBucketInput
}
Response
{
"data": {
"moveToBucket": {
"conversation": InkConversation
}
}
}
nextOperationsTeamRoundRobin
Type: NextOperationsTeamRoundRobin
URL: https://api.oees-kraken.energy/v1/graphql/
Query Complexity: 1
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can query operations team
Arguments
| Name | Description |
|---|---|
|
The name of the operations team group to select from. |
Return fields
| Name | Description |
|---|---|
|
All inferred routing attributes for team, location, and team groups (e.g., ['OPERATIONS_GROUP.TEAM.Team_A', 'OPERATIONS_GROUP.LOCATION.London', 'OPERATIONS_GROUP.GROUP_B']). Recommended for IVR usage. |
|
Location routing information for the selected team. |
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
|
The next operations team assigned in round-robin sequence. |
|
All operations team groups that the selected team belongs to. |
Mutation
mutation NextOperationsTeamRoundRobin($teamGroupName: String!) {
nextOperationsTeamRoundRobin(teamGroupName: $teamGroupName) {
allInferredRoutingAttributes
location {
...TeamLocationFragment
}
team {
...TeamFragment
}
teamGroups {
...TeamGroupFragment
}
}
}
Variables
{
"teamGroupName": "let-push-evidence-allow-serve"
}
Response
{
"data": {
"nextOperationsTeamRoundRobin": {
"allInferredRoutingAttributes": "choose-cup-fact-mean-responsibility",
"location": TeamLocation,
"team": Team,
"teamGroups": [TeamGroup]
}
}
}
obtainKrakenToken
Type: ObtainKrakenJSONWebToken
URL: https://api.oees-kraken.energy/v1/graphql/
Create a Kraken Token (JWT) for authentication.
Provide the required input fields to obtain the token.
The token should be used as the Authorization header for any authenticated requests.
Query Complexity: 1
Possible Errors:
- KT-CT-1134: Invalid data.
- KT-CT-1135: Invalid data.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
(No)
Rate Limits
| Key | Steps |
|---|---|
Email from graphql input fields |
['5/m'] |
Failed logins per ip |
['3/m'] |
Ip |
['10/m'] |
Ip if email or password in input |
['10/m'] |
Arguments
| Name | Description |
|---|---|
|
Input fields that can be used to obtain a Json Web Token (JWT) for authentication to the API. |
Return fields
| Name | Description |
|---|---|
|
The body payload of the Kraken Token. The same information can be obtained by using JWT decoding tools on the value of the |
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
|
A Unix timestamp representing the point in time at which the refresh token will expire. |
|
A token that can be used in a subsequent call to |
|
The Kraken Token. Can be used in the |
Mutation
mutation ObtainKrakenToken($input: ObtainJSONWebTokenInput!) {
obtainKrakenToken(input: $input) {
payload
refreshExpiresIn
refreshToken
token
}
}
Variables
{
"input": ObtainJSONWebTokenInput
}
Response
{
"data": {
"obtainKrakenToken": {
"payload": "abc123" | 1 | 1.0 | true | ["abc123"] | AccountType,
"refreshExpiresIn": 49,
"refreshToken": "its-magazine-through-like-safe",
"token": "management-recent-audience-artist-newspaper"
}
}
}
obtainLongLivedRefreshToken
Type: ObtainLongLivedRefreshToken
URL: https://api.oees-kraken.energy/v1/graphql/
For authorized third-party organizations only.
Query Complexity: 1
Possible Errors:
- KT-CT-1120: The Kraken Token has expired.
- KT-CT-1121: Please use Kraken Token to issue long-lived refresh tokens.
- KT-CT-1122: Long-lived refresh tokens can only be issued for account users.
- KT-CT-1132: Unauthorized.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can generate long lived refresh tokens
Arguments
| Name | Description |
|---|---|
|
Input fields for obtaining a long-lived refresh token to extend the expiry claim of a Kraken token. |
Return fields
| Name | Description |
|---|---|
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
|
|
|
Mutation
mutation ObtainLongLivedRefreshToken($input: ObtainLongLivedRefreshTokenInput!) {
obtainLongLivedRefreshToken(input: $input) {
refreshExpiresIn
refreshToken
}
}
Variables
{
"input": ObtainLongLivedRefreshTokenInput
}
Response
{
"data": {
"obtainLongLivedRefreshToken": {
"refreshExpiresIn": 14,
"refreshToken": "send-seem-free-sister-friend"
}
}
}
ocppAuthentication
Type: OCPPAuthentication
URL: https://api.oees-kraken.energy/v1/graphql/
Trigger OCPP authentication.
Query Complexity: 3
Possible Errors:
- KT-CT-4301: Unable to find device for given account.
- KT-CT-4310: Unable to register OCPP authentication details.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Arguments
| Name | Description |
|---|---|
|
Return fields
| Name | Description |
|---|---|
|
|
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation OcppAuthentication($input: OCPPAuthenticationInput) {
ocppAuthentication(input: $input) {
krakenflexDevice {
...KrakenFlexDeviceTypeFragment
}
}
}
Variables
{
"input": OCPPAuthenticationInput
}
Response
{
"data": {
"ocppAuthentication": {
"krakenflexDevice": KrakenFlexDeviceType
}
}
}
pauseCollectionProcess
Type: PauseCollectionProcess
URL: https://api.oees-kraken.energy/v1/graphql/
Pause a collection process.
Query Complexity: 1
Possible Errors:
- KT-CT-1111: Unauthorized.
- KT-CT-11201: No Collection Process Records associated with id.
- KT-CT-11214: Invalid pause length for collection process.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can start collection process
Arguments
| Name | Description |
|---|---|
|
Details for pausing a collection process. |
Return fields
| Name | Description |
|---|---|
|
Collection process pause output. |
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation PauseCollectionProcess($input: PauseCollectionProcessInput!) {
pauseCollectionProcess(input: $input) {
collectionProcessPaused {
...PauseCollectionProcessOutputFragment
}
}
}
Variables
{
"input": PauseCollectionProcessInput
}
Response
{
"data": {
"pauseCollectionProcess": {
"collectionProcessPaused": PauseCollectionProcessOutput
}
}
}
pauseDunning
Type: PauseDunning
URL: https://api.oees-kraken.energy/v1/graphql/
Pause the dunning process for an account.
Query Complexity: 1
Possible Errors:
- KT-CT-11301: Account not in a dunning process for the given path name.
- KT-CT-11302: No active dunning process found.
- KT-CT-11303: Multiple active dunning processes found.
- KT-CT-11304: Dunning pause process failed verifying the dates.
- KT-CT-11305: Pausing the dunning process failed.
- KT-CT-4178: No account found with given account number.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can update dunning process
Arguments
| Name | Description |
|---|---|
|
Input variables needed for pausing a dunning process for an account. |
Return fields
| Name | Description |
|---|---|
|
Whether the pause has been successfully created. |
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation PauseDunning($input: PauseDunningInputType!) {
pauseDunning(input: $input) {
pauseCreated
}
}
Variables
{
"input": PauseDunningInputType
}
Response
{
"data": {
"pauseDunning": {
"pauseCreated": true
}
}
}
payoutReferralForAccount
Type: PayoutReferralForAccount
URL: https://api.oees-kraken.energy/v1/graphql/
Pay out a referral reward for an account.
Query Complexity: 1
Possible Errors:
- KT-CT-6712: Invalid reference.
- KT-CT-6723: Unauthorized.
- KT-CT-6730: Referral cannot be paid out.
- KT-CT-6731: The account is unrelated to the referral.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can payout referrals
Arguments
| Name | Description |
|---|---|
|
Input fields for paying out a referral for an account. |
Return fields
| Name | Description |
|---|---|
|
The result of the payout. |
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation PayoutReferralForAccount($input: PayoutReferralForAccountInput!) {
payoutReferralForAccount(input: $input) {
payoutResult {
...PayoutReferralForAccountResultTypeFragment
}
}
}
Variables
{
"input": PayoutReferralForAccountInput
}
Response
{
"data": {
"payoutReferralForAccount": {
"payoutResult": PayoutReferralForAccountResultType
}
}
}
postCredit
Type: PostCredit
URL: https://api.oees-kraken.energy/v1/graphql/
Post credit to a ledger.
Query Complexity: 1
Possible Errors:
- KT-CT-3820: Received both ledger ID and number.
- KT-CT-3821: Received neither ledger ID nor ledger number.
- KT-CT-5311: The credit reason with the requested code is deprecated.
- KT-CT-5312: The credit reason with the requested code does not exist.
- KT-CT-5313: An error occurred whilst posting the credit.
- KT-CT-5316: Invalid data.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can add credits to accounts
Arguments
| Name | Description |
|---|---|
|
Input fields for posting a credit. |
Return fields
| Name | Description |
|---|---|
|
Posted account credit. |
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation PostCredit($input: PostCreditInput!) {
postCredit(input: $input) {
credit {
...CreditFragment
}
}
}
Variables
{
"input": PostCreditInput
}
Response
{
"data": {
"postCredit": {
"credit": Credit
}
}
}
prepareAccount
Type: PrepareAccountResult!
URL: https://api.oees-kraken.energy/v1/graphql/
Prepare account for sign up. Returns the existing account and/or user if matching datafound for the provided input, otherwise creates a new account and account user.
Query Complexity: 1
Possible Errors:
- KT-CT-10303: Mutation not enabled in this environment.
- KT-CT-10316: Input data has invalid format.
- KT-CT-10317: An error occured when trying to prepare the account.
- KT-CT-10322: A user with this email address already exists.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Arguments
| Name | Description |
|---|---|
|
Return fields
| Name | Description |
|---|---|
|
The account number of the newly created account or the existing account to be re-used. |
|
Was a new account created. |
|
Was a new user created. |
|
The ID of the newly created or existing account user. |
|
The user number of the newly created or existing account user. |
Mutation
mutation PrepareAccount($input: PrepareAccountInput!) {
prepareAccount(input: $input) {
accountNumber
isNewAccount
isNewUser
userId
userNumber
}
}
Variables
{
"input": PrepareAccountInput
}
Response
{
"data": {
"prepareAccount": {
"accountNumber": "A-177CAB5A",
"isNewAccount": true,
"isNewUser": true,
"userId": "49625195",
"userNumber": "oil-clear-country-former-billion"
}
}
}
publishTransactionalMessagingExternalTrigger
Type: PublishTransactionalMessagingExternalTrigger
URL: https://api.oees-kraken.energy/v1/graphql/
Publish an externally defined transactional messaging trigger.
Query Complexity: 1
Possible Errors:
- KT-CT-4178: No account found with given account number.
- KT-CT-5421: Account user not found.
- KT-CT-9901: Invalid trigger type code.
- KT-CT-9905: Top-level context fields are missing.
- KT-CT-9906: Template variables do not match the defined schema.
- KT-CT-9908: Invalid recipient information.
- KT-CT-9909: Invalid recipient information.
- KT-CT-9910: Invalid input field combination.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can publish transactional messaging triggers
Arguments
| Name | Description |
|---|---|
|
Input fields to publish an external transactional messaging trigger. |
Return fields
| Name | Description |
|---|---|
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
|
The trigger that has been published. |
Mutation
mutation PublishTransactionalMessagingExternalTrigger($input: PublishTransactionalMessagingExternalTriggerInput!) {
publishTransactionalMessagingExternalTrigger(input: $input) {
trigger {
...TriggerFragment
}
}
}
Variables
{
"input": PublishTransactionalMessagingExternalTriggerInput
}
Response
{
"data": {
"publishTransactionalMessagingExternalTrigger": {
"trigger": Trigger
}
}
}
publishTransactionalMessagingTrigger
Type: PublishTransactionalMessagingTrigger
URL: https://api.oees-kraken.energy/v1/graphql/
Publish a trigger within the transactional messaging service.
Query Complexity: 1
Possible Errors:
- KT-CT-9901: Invalid trigger type code.
- KT-CT-9902: Invalid trigger type params.
- KT-CT-9903: Trigger type cannot be published externally.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can publish transactional messaging triggers
Arguments
| Name | Description |
|---|---|
|
Input fields to publish a transactional messaging trigger. |
Return fields
| Name | Description |
|---|---|
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
|
The trigger that has been published. |
Mutation
mutation PublishTransactionalMessagingTrigger($input: PublishTransactionalMessagingTriggerInput!) {
publishTransactionalMessagingTrigger(input: $input) {
trigger {
...TriggerFragment
}
}
}
Variables
{
"input": PublishTransactionalMessagingTriggerInput
}
Response
{
"data": {
"publishTransactionalMessagingTrigger": {
"trigger": Trigger
}
}
}
purchaseVoucher
Type: PurchaseVoucher
URL: https://api.oees-kraken.energy/v1/graphql/
Purchase a voucher.
Query Complexity: 1
Possible Errors:
- KT-CT-1111: Unauthorized.
- KT-CT-13201: Invalid voucher type.
- KT-CT-3820: Received both ledger ID and number.
- KT-CT-3924: Unauthorized.
- KT-CT-4178: No account found with given account number.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can create voucher purchase
Arguments
| Name | Description |
|---|---|
|
Return fields
| Name | Description |
|---|---|
|
The voucher purchase created from the mutation. |
Mutation
mutation PurchaseVoucher($input: PurchaseVoucherInput!) {
purchaseVoucher(input: $input) {
voucherPurchase {
...VoucherPurchaseTypeFragment
}
}
}
Variables
{
"input": PurchaseVoucherInput
}
Response
{
"data": {
"purchaseVoucher": {
"voucherPurchase": VoucherPurchaseType
}
}
}
purchaseVouchers
Type: PurchaseVouchers
URL: https://api.oees-kraken.energy/v1/graphql/
Purchase multiple vouchers.
Query Complexity: 1
Possible Errors:
- KT-CT-1111: Unauthorized.
- KT-CT-13201: Invalid voucher type.
- KT-CT-13202: Exactly one of chargeAmountInCents or chargeAmountInCentsWithTax expected.
- KT-CT-13203: Multiple account numbers found in voucher batch.
- KT-CT-3820: Received both ledger ID and number.
- KT-CT-3924: Unauthorized.
- KT-CT-4178: No account found with given account number.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can create voucher purchase
Arguments
| Name | Description |
|---|---|
|
The list of vouchers to purchase. |
Return fields
| Name | Description |
|---|---|
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
|
The voucher purchases created from the mutation. |
Mutation
mutation PurchaseVouchers($input: [PurchaseVoucherInput]!) {
purchaseVouchers(input: $input) {
voucherPurchases {
...VoucherPurchaseTypeFragment
}
}
}
Variables
{
"input": PurchaseVoucherInput
}
Response
{
"data": {
"purchaseVouchers": {
"voucherPurchases": [VoucherPurchaseType]
}
}
}
reactivateCollectionProcessRecord
Type: ReactivateCollectionProcessRecord
URL: https://api.oees-kraken.energy/v1/graphql/
Reactivate a Collection Process Record that was previously activated.
Query Complexity: 1
Possible Errors:
- KT-CT-1111: Unauthorized.
- KT-CT-11201: No Collection Process Records associated with id.
- KT-CT-11217: Invalid collection process record status for reactivation.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can update collection process record to active
Arguments
| Name | Description |
|---|---|
|
Input variables needed for reactivating a collection process record. |
Return fields
| Name | Description |
|---|---|
|
The reactivated collection process record. |
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation ReactivateCollectionProcessRecord($input: ReactivateCollectionProcessRecordInputType!) {
reactivateCollectionProcessRecord(input: $input) {
collectionProcessReactivated {
...ReactivateCollectionProcessRecordOutputTypeFragment
}
}
}
Variables
{
"input": ReactivateCollectionProcessRecordInputType
}
Response
{
"data": {
"reactivateCollectionProcessRecord": {
"collectionProcessReactivated": ReactivateCollectionProcessRecordOutputType
}
}
}
recordActivatedPaymentMethod
Type: RecordActivatedPaymentMethod
URL: https://api.oees-kraken.energy/v1/graphql/
Record an activated payment method.
Query Complexity: 1
Possible Errors:
- KT-CT-1609: The provided datetime ISO string is not timezone aware, please provide timezone information.
- KT-CT-3822: Unauthorized.
- KT-CT-3987: Invalid payment method type code.
- KT-CT-3991: Received no financial account details.
- KT-CT-3992: Received multiple financial account details.
- KT-CT-3993: The type of financial account details does not match the provided payment method type.
- KT-CT-3994: Unauthorized.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can create payment instructions
Arguments
| Name | Description |
|---|---|
|
Details about the activated payment method. |
Return fields
| Name | Description |
|---|---|
|
The stored payment method. |
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation RecordActivatedPaymentMethod($input: RecordActivatedPaymentMethodInput!) {
recordActivatedPaymentMethod(input: $input) {
paymentMethod {
...PaymentMethodTypeFragment
}
}
}
Variables
{
"input": RecordActivatedPaymentMethodInput
}
Response
{
"data": {
"recordActivatedPaymentMethod": {
"paymentMethod": PaymentMethodType
}
}
}
recordDepositAgreementAccepted
Type: RecordDepositAgreementAccepted
URL: https://api.oees-kraken.energy/v1/graphql/
Record the customer's acceptance of a deposit agreement.
Query Complexity: 1
Possible Errors:
- KT-CT-4177: Unauthorized.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can use deposit system
Arguments
| Name | Description |
|---|---|
|
Return fields
| Name | Description |
|---|---|
|
|
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation RecordDepositAgreementAccepted($input: DepositAgreementInput!) {
recordDepositAgreementAccepted(input: $input) {
isRecorded
}
}
Variables
{
"input": DepositAgreementInput
}
Response
{
"data": {
"recordDepositAgreementAccepted": {
"isRecorded": true
}
}
}
recordFailedPayment
Type: RecordFailedPayment
URL: https://api.oees-kraken.energy/v1/graphql/
Record one or more failed payments.
Query Complexity: 1
Possible Errors:
- KT-CT-1111: Unauthorized.
- KT-CT-1609: The provided datetime ISO string is not timezone aware, please provide timezone information.
- KT-CT-3985: Received both token and options for action intent.
- KT-CT-3986: Received neither token nor options for action intent.
- KT-CT-3987: Invalid payment method type code.
- KT-CT-3988: Number of items in list exceeds maximum value.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can record payment state
Arguments
| Name | Description |
|---|---|
|
Details about the failed payments. |
Return fields
| Name | Description |
|---|---|
|
The unique identifier of the notice batch created from the input. |
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation RecordFailedPayment($input: RecordFailedPaymentInput!) {
recordFailedPayment(input: $input) {
noticeBatchIdentifier
}
}
Variables
{
"input": RecordFailedPaymentInput
}
Response
{
"data": {
"recordFailedPayment": {
"noticeBatchIdentifier": "81885142"
}
}
}
recordPendingPayment
Type: RecordPendingPayment
URL: https://api.oees-kraken.energy/v1/graphql/
Record one or more pending payments.
Query Complexity: 1
Possible Errors:
- KT-CT-1111: Unauthorized.
- KT-CT-1609: The provided datetime ISO string is not timezone aware, please provide timezone information.
- KT-CT-3985: Received both token and options for action intent.
- KT-CT-3986: Received neither token nor options for action intent.
- KT-CT-3987: Invalid payment method type code.
- KT-CT-3988: Number of items in list exceeds maximum value.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can record payment state
Arguments
| Name | Description |
|---|---|
|
Details about the pending payments. |
Return fields
| Name | Description |
|---|---|
|
The unique identifier of the notice batch created from the input. |
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation RecordPendingPayment($input: RecordPendingPaymentInput!) {
recordPendingPayment(input: $input) {
noticeBatchIdentifier
}
}
Variables
{
"input": RecordPendingPaymentInput
}
Response
{
"data": {
"recordPendingPayment": {
"noticeBatchIdentifier": "79434320"
}
}
}
recordSuccessfulPayment
Type: RecordSuccessfulPayment
URL: https://api.oees-kraken.energy/v1/graphql/
Record one or more successful payments.
Query Complexity: 1
Possible Errors:
- KT-CT-1111: Unauthorized.
- KT-CT-1609: The provided datetime ISO string is not timezone aware, please provide timezone information.
- KT-CT-3985: Received both token and options for action intent.
- KT-CT-3986: Received neither token nor options for action intent.
- KT-CT-3987: Invalid payment method type code.
- KT-CT-3988: Number of items in list exceeds maximum value.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can record payment state
Arguments
| Name | Description |
|---|---|
|
Details about the successful payments. |
Return fields
| Name | Description |
|---|---|
|
The unique identifier of the notice batch created from the input. |
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation RecordSuccessfulPayment($input: RecordSuccessfulPaymentInput!) {
recordSuccessfulPayment(input: $input) {
noticeBatchIdentifier
}
}
Variables
{
"input": RecordSuccessfulPaymentInput
}
Response
{
"data": {
"recordSuccessfulPayment": {
"noticeBatchIdentifier": "50136019"
}
}
}
redeemLoyaltyPointsForAccountCredit
Type: RedeemLoyaltyPointsForAccountCredit
URL: https://api.oees-kraken.energy/v1/graphql/
Redeem the passed number of Loyalty Points as account credit.
Query Complexity: 1
Possible Errors:
- KT-CT-1111: Unauthorized.
- KT-CT-9201: No Loyalty Point ledger found for the user.
- KT-CT-9202: Loyalty Points adapter not configured.
- KT-CT-9203: No ledger entries for the ledger.
- KT-CT-9204: Negative or zero points set.
- KT-CT-9205: Insufficient Loyalty Points.
- KT-CT-9206: Indivisible points.
- KT-CT-9208: Invalid posted at datetime.
- KT-CT-9209: Negative Loyalty Points balance.
- KT-CT-9210: Unhandled Loyalty Points exception.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can redeem loyalty points
Arguments
| Name | Description |
|---|---|
|
Input fields for redeeming Loyalty Points. |
Return fields
| Name | Description |
|---|---|
|
The number of loyalty points that were redeemed. |
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation RedeemLoyaltyPointsForAccountCredit($input: RedeemLoyaltyPointsInput!) {
redeemLoyaltyPointsForAccountCredit(input: $input) {
pointsRedeemed
}
}
Variables
{
"input": RedeemLoyaltyPointsInput
}
Response
{
"data": {
"redeemLoyaltyPointsForAccountCredit": {
"pointsRedeemed": 99
}
}
}
redeemReferralClaimCode
Type: RedeemReferralClaimCode
URL: https://api.oees-kraken.energy/v1/graphql/
Redeem the referral claim code from certain referral scheme.
Query Complexity: 1
Possible Errors:
- KT-CT-6723: Unauthorized.
- KT-CT-6724: Referral claim code not found.
- KT-CT-6725: Referral claim code redeeming error.
- KT-CT-6726: Referral claim code has already been redeemed.
- KT-CT-6727: Referral claim code is not available.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Rate Limits
| Key | Steps |
|---|---|
User |
['5/m'] |
Arguments
| Name | Description |
|---|---|
|
Input fields for redeeming referral code. |
Return fields
| Name | Description |
|---|---|
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
|
Whether or not the request was successful. |
Mutation
mutation RedeemReferralClaimCode($input: RedeemReferralClaimCodeInput!) {
redeemReferralClaimCode(input: $input) {
success
}
}
Variables
{
"input": RedeemReferralClaimCodeInput
}
Response
{
"data": {
"redeemReferralClaimCode": {
"success": true
}
}
}
refundPayment
Type: RefundPayment
URL: https://api.oees-kraken.energy/v1/graphql/
Refund a cleared payment.
Query Complexity: 1
Possible Errors:
- KT-CT-3924: Unauthorized.
- KT-CT-3928: Idempotency key used for another repayment request.
- KT-CT-3929: The payment is not in a refundable state.
- KT-CT-3933: Refund amount greater than payment amount.
- KT-CT-3937: Payment not eligible for refund.
- KT-CT-3938: Partial refund not allowed.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can refund payments
Arguments
| Name | Description |
|---|---|
|
Input fields for refunding a payment. |
Return fields
| Name | Description |
|---|---|
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
|
The repayment for the requested refund. |
Mutation
mutation RefundPayment($input: RefundPaymentInput!) {
refundPayment(input: $input) {
repayment {
...AccountRepaymentTypeFragment
}
}
}
Variables
{
"input": RefundPaymentInput
}
Response
{
"data": {
"refundPayment": {
"repayment": AccountRepaymentType
}
}
}
regenerateSecretKey
Type: RegenerateSecretKey
URL: https://api.oees-kraken.energy/v1/graphql/
Regenerate the live secret key for the authenticated user.
Query Complexity: 1
Possible Errors:
- KT-CT-11100: API key authentication unavailable.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Return fields
| Name | Description |
|---|---|
|
The generated key value, which is only ever available once (here). |
|
The currently authenticated user. |
Mutation
mutation RegenerateSecretKey {
regenerateSecretKey {
key
viewer {
...AccountUserTypeFragment
}
}
}
Response
{
"data": {
"regenerateSecretKey": {
"key": "support-model-door-set-daughter",
"viewer": AccountUserType
}
}
}
registerCustomerAsset
Type: RegisterCustomerAsset
URL: https://api.oees-kraken.energy/v1/graphql/
Register a new customer asset for an account
Query Complexity: 5
Possible Errors:
- KT-CT-1128: Unauthorized.
- KT-CT-14602: Customer asset already exists.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can register customer assets
Arguments
| Name | Description |
|---|---|
|
Input fields for registering a device. |
Return fields
| Name | Description |
|---|---|
|
The registered customer asset. |
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation RegisterCustomerAsset($input: RegisterCustomerAssetInput!) {
registerCustomerAsset(input: $input) {
customerAsset {
...CustomerAssetTypeFragment
}
}
}
Variables
{
"input": RegisterCustomerAssetInput
}
Response
{
"data": {
"registerCustomerAsset": {
"customerAsset": CustomerAssetType
}
}
}
registerEvChargerLead
Type: RegisterEVChargerLead
URL: https://api.oees-kraken.energy/v1/graphql/
Register an EV Charger lead to Zoho.
Query Complexity: 1
Possible Errors:
- KT-ES-7802: The request to Chipiron was not fulfilled correctly.
- KT-ES-7803: The request to Chipiron was incomplete or malformed.
- KT-ES-7804: The request to Chipiron caused a conflict - might you be trying to create a duplicate?
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
(No)
Arguments
| Name | Description |
|---|---|
|
Return fields
| Name | Description |
|---|---|
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
|
True if the lead was registered successfully. |
Mutation
mutation RegisterEvChargerLead($lead: EVChargerLeadZohoType) {
registerEvChargerLead(lead: $lead) {
success
}
}
Variables
{
"lead": EVChargerLeadZohoType
}
Response
{
"data": {
"registerEvChargerLead": {
"success": true
}
}
}
registerLeadFlowStatusEvent
Type: RegisterLeadFlowStatusEvent
URL: https://api.oees-kraken.energy/v1/graphql/
Register a flow status event for a lead.
Query Complexity: 1
Possible Errors:
- KT-CT-8907: Lead not found.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can update leads
Arguments
| Name | Description |
|---|---|
|
Input fields for registering a flow status event for a Lead. |
Return fields
| Name | Description |
|---|---|
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation RegisterLeadFlowStatusEvent($input: RegisterLeadFlowStatusEventInput!) {
registerLeadFlowStatusEvent(input: $input) {
}
}
Variables
{
"input": RegisterLeadFlowStatusEventInput
}
Response
{
"data": {
"registerLeadFlowStatusEvent": {
}
}
}
registerOpportunityFlowStatusEvent
Type: RegisterOpportunityFlowStatusEvent
URL: https://api.oees-kraken.energy/v1/graphql/
Register a flow status event for an opportunity.
Query Complexity: 1
Possible Errors:
- KT-CT-8906: Opportunity not found.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can update leads
Arguments
| Name | Description |
|---|---|
|
Input fields for registering a flow status event for a opportunity. |
Return fields
| Name | Description |
|---|---|
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation RegisterOpportunityFlowStatusEvent($input: RegisterOpportunityFlowStatusEventInput!) {
registerOpportunityFlowStatusEvent(input: $input) {
}
}
Variables
{
"input": RegisterOpportunityFlowStatusEventInput
}
Response
{
"data": {
"registerOpportunityFlowStatusEvent": {
}
}
}
registerPhoneLead
Type: RegisterPhoneLead
URL: https://api.oees-kraken.energy/v1/graphql/
Register a phone lead
Query Complexity: 1
Possible Errors:
- KT-ES-8910: Invalid data.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can create electricity quote
Arguments
| Name | Description |
|---|---|
|
Return fields
| Name | Description |
|---|---|
|
Lead's partner reference. |
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
|
Lead's source. |
|
Lead's telephone number. |
Mutation
mutation RegisterPhoneLead($input: TelephoneLeadType) {
registerPhoneLead(input: $input) {
partnerReference
source
telephoneLead
}
}
Variables
{
"input": TelephoneLeadType
}
Response
{
"data": {
"registerPhoneLead": {
"partnerReference": "travel-just-performance-maintain-deep",
"source": "issue-move-training-produce-everyone",
"telephoneLead": "her-nice-where-more-often"
}
}
}
registerPushNotificationBinding
Type: RegisterPushNotificationBinding
URL: https://api.oees-kraken.energy/v1/graphql/
Register a device token to be used for push notifications for an app.
This field requires the Authorization header to be set.
Query Complexity: 1
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Arguments
| Name | Description |
|---|---|
|
Input fields for creating an push notification binding. |
Return fields
| Name | Description |
|---|---|
|
Mutation
mutation RegisterPushNotificationBinding($input: RegisterPushNotificationBindingInput!) {
registerPushNotificationBinding(input: $input) {
pushNotificationBinding {
...PushNotificationBindingTypeFragment
}
}
}
Variables
{
"input": RegisterPushNotificationBindingInput
}
Response
{
"data": {
"registerPushNotificationBinding": {
"pushNotificationBinding": PushNotificationBindingType
}
}
}
registerSolarSimulatorDirectSale
Type: SolarSimulatorDirectSaleOutput
URL: https://api.oees-kraken.energy/v1/graphql/
Create a solar direct sale.
Query Complexity: 1
Possible Errors:
- KT-ES-7802: The request to Chipiron was not fulfilled correctly.
- KT-ES-7803: The request to Chipiron was incomplete or malformed.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
(No)
Arguments
| Name | Description |
|---|---|
|
Return fields
| Name | Description |
|---|---|
|
Address of the lead saved in chipiron. |
|
Details of the lead saved in chipiron. |
|
Direct sale details saved in chipiron. |
|
Email of the lead as saved in Chipiron. |
|
Name of the lead as saved in Chipiron. |
|
Street of the lead as saved in Chipiron. |
|
Surname of the lead as saved in Chipiron. |
|
Phone number of the lead as saved in Chipiron. |
Mutation
mutation RegisterSolarSimulatorDirectSale($input: SolarSimulatorDirectSaleInput) {
registerSolarSimulatorDirectSale(input: $input) {
address {
...SolarSimulatorLeadAddressFragment
}
details {
...SolarSimulatorLeadDetailsFragment
}
directSale {
...SolarSimulatorDirectSaleDirectSaleFragment
}
email
firstName
fullAddress
lastName
phone
}
}
Variables
{
"input": SolarSimulatorDirectSaleInput
}
Response
{
"data": {
"registerSolarSimulatorDirectSale": {
"address": SolarSimulatorLeadAddress,
"details": SolarSimulatorLeadDetails,
"directSale": SolarSimulatorDirectSaleDirectSale,
"email": "air-win-drug-employee-common",
"firstName": "chance-customer-find-serious-strategy",
"fullAddress": "land-technology-talk-collection-ground",
"lastName": "information-business-decade-these-daughter",
"phone": "specific-tough-agency-notice-actually"
}
}
}
registerSolarSimulatorLead
Type: SolarSimulatorLeadOutput
URL: https://api.oees-kraken.energy/v1/graphql/
Create a solar lead.
Query Complexity: 1
Possible Errors:
- KT-ES-7802: The request to Chipiron was not fulfilled correctly.
- KT-ES-7803: The request to Chipiron was incomplete or malformed.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
(No)
Arguments
| Name | Description |
|---|---|
|
Return fields
| Name | Description |
|---|---|
|
Address of the lead saved in chipiron. |
|
Details of the lead saved in chipiron. |
|
Email of the lead as saved in Chipiron. |
|
Name of the lead as saved in Chipiron. |
|
Street of the lead as saved in Chipiron. |
|
Surname of the lead as saved in Chipiron. |
|
Phone number of the lead as saved in Chipiron. |
Mutation
mutation RegisterSolarSimulatorLead($input: SolarSimulatorLeadInput) {
registerSolarSimulatorLead(input: $input) {
address {
...SolarSimulatorLeadAddressFragment
}
details {
...SolarSimulatorLeadDetailsFragment
}
email
firstName
fullAddress
lastName
phone
}
}
Variables
{
"input": SolarSimulatorLeadInput
}
Response
{
"data": {
"registerSolarSimulatorLead": {
"address": SolarSimulatorLeadAddress,
"details": SolarSimulatorLeadDetails,
"email": "fast-purpose-right-power-away",
"firstName": "health-south-join-quality-serve",
"fullAddress": "food-buy-responsibility-go-much",
"lastName": "fund-room-number-both-truth",
"phone": "him-news-yes-player-reveal"
}
}
}
removeCampaignFromAccount
Type: RemoveCampaignFromAccount
URL: https://api.oees-kraken.energy/v1/graphql/
Query Complexity: 1
Possible Errors:
- KT-CT-7424: Failed to remove campaign from account.
- KT-CT-7426: The account is not part of the given campaign.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can remove campaign from account
Arguments
| Name | Description |
|---|---|
|
Input variables needed for removing a campaign from an account. |
Return fields
| Name | Description |
|---|---|
|
Whether the campaign was successfully removed from the account. |
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation RemoveCampaignFromAccount($input: RemoveCampaignFromAccountInput!) {
removeCampaignFromAccount(input: $input) {
campaignRemoved
}
}
Variables
{
"input": RemoveCampaignFromAccountInput
}
Response
{
"data": {
"removeCampaignFromAccount": {
"campaignRemoved": true
}
}
}
removeCampaignItems
Type: RemoveCampaignItems
URL: https://api.oees-kraken.energy/v1/graphql/
Query Complexity: 1
Possible Errors:
- KT-CT-11501: Voice campaign not found.
- KT-CT-11502: Cannot remove items from multiple campaigns at once.
- KT-CT-11505: Voice campaign item not found.
- KT-CT-11506: Invalid campaign ID.
- KT-CT-11507: Invalid campaign item ID.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can manage voice campaigns
Arguments
| Name | Description |
|---|---|
|
Return fields
| Name | Description |
|---|---|
|
|
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation RemoveCampaignItems($input: RemoveCampaignItemsInput!) {
removeCampaignItems(input: $input) {
campaignItems {
...VoiceCampaignItemTypeFragment
}
}
}
Variables
{
"input": RemoveCampaignItemsInput
}
Response
{
"data": {
"removeCampaignItems": {
"campaignItems": [VoiceCampaignItemType]
}
}
}
removeItemsFromRiskList
Type: RemoveItemsFromRiskList
URL: https://api.oees-kraken.energy/v1/graphql/
Remove items from the risk list.
Query Complexity: 1
Possible Errors:
- KT-CT-12106: Risk list item removal failed.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can edit risk list
Arguments
| Name | Description |
|---|---|
|
A list of risk list items to remove. |
Return fields
| Name | Description |
|---|---|
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
|
List of successfully removed risk identifiers. |
Mutation
mutation RemoveItemsFromRiskList($input: [RiskListItemInputType]!) {
removeItemsFromRiskList(input: $input) {
riskIdentifiers {
...RiskListItemTypeFragment
}
}
}
Variables
{
"input": RiskListItemInputType
}
Response
{
"data": {
"removeItemsFromRiskList": {
"riskIdentifiers": [RiskListItemType]
}
}
}
removePropertyFromHierarchy
Type: RemovePropertyFromHierarchy
URL: https://api.oees-kraken.energy/v1/graphql/
Remove a property from a hierarchy.
This operation is idempotent - if the property is not in the hierarchy, it will succeed without error. When a property is removed, its descendants are reparented to the removed property's parent. If removing a root node, its children become new root nodes.
Query Complexity: 1
Possible Errors:
- KT-CT-6622: Unauthorized.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can manage property hierarchies
Arguments
| Name | Description |
|---|---|
|
Input fields for removing a property from a hierarchy. |
Return fields
| Name | Description |
|---|---|
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
|
The property that was removed from the hierarchy. |
Mutation
mutation RemovePropertyFromHierarchy($input: RemovePropertyFromHierarchyInput!) {
removePropertyFromHierarchy(input: $input) {
property {
...PropertyTypeFragment
}
}
}
Variables
{
"input": RemovePropertyFromHierarchyInput
}
Response
{
"data": {
"removePropertyFromHierarchy": {
"property": PropertyType
}
}
}
requestDoubleOptIn
Type: RequestDoubleOptIn
URL: https://api.oees-kraken.energy/v1/graphql/
Request a double opt in
Query Complexity: 1
Possible Errors:
- KT-CT-1111: Unauthorized.
- KT-CT-1199: Too many requests.
- KT-CT-9016: Consent management not enabled.
- KT-CT-9017: Consent type not found.
- KT-CT-9018: Account not found.
- KT-CT-9019: Invalid input.
- KT-CT-9023: Consent already accepted.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can access customer queries
OR Can edit customer marketing preference
Arguments
| Name | Description |
|---|---|
|
Return fields
| Name | Description |
|---|---|
|
The consent that was created or updated. |
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation RequestDoubleOptIn($input: DoubleOptInInput) {
requestDoubleOptIn(input: $input) {
consent {
...ConsentTypeFragment
}
}
}
Variables
{
"input": DoubleOptInInput
}
Response
{
"data": {
"requestDoubleOptIn": {
"consent": ConsentType
}
}
}
requestPasswordReset
Type: RequestPasswordResetOutputType
URL: https://api.oees-kraken.energy/v1/graphql/
Provide the email address of an account user to send them an email with instructions on how to reset their password.
Query Complexity: 1
Possible Errors:
- KT-CT-11331: Invalid input data.
- KT-CT-11332: Invalid data.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
(No)
Rate Limits
| Key | Steps |
|---|---|
Ip |
['5/m'] |
Arguments
| Name | Description |
|---|---|
|
Input fields for requesting a password reset email. |
Return fields
| Name | Description |
|---|---|
|
The email that requested a password reset email. |
|
The number of the user that requested a password reset email. |
Mutation
mutation RequestPasswordReset($input: RequestPasswordResetInput!) {
requestPasswordReset(input: $input) {
email
userNumber
}
}
Variables
{
"input": RequestPasswordResetInput
}
Response
{
"data": {
"requestPasswordReset": {
"email": "term-thought-whole-government-natural",
"userNumber": "total-final-truth-also-building"
}
}
}
requestPrintedBill
Type: RequestPrintedBill
URL: https://api.oees-kraken.energy/v1/graphql/
Request an issued bill to be printed and (re)posted to billing address of the account.
Query Complexity: 1
Possible Errors:
- KT-CT-3824: Unauthorized.
- KT-CT-9705: The billing document has not been issued.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can access customer queries
OR Can export statements
Arguments
| Name | Description |
|---|---|
|
Input fields to request a printed bill. |
Return fields
| Name | Description |
|---|---|
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
|
Whether the request was successful. |
Mutation
mutation RequestPrintedBill($input: RequestPrintedBillInput!) {
requestPrintedBill(input: $input) {
success
}
}
Variables
{
"input": RequestPrintedBillInput
}
Response
{
"data": {
"requestPrintedBill": {
"success": true
}
}
}
rescindContract
Type: RescindContractOutput!
URL: https://api.oees-kraken.energy/v1/graphql/
Rescind an existing contract.
Query Complexity: 1
Possible Errors:
- KT-CT-10003: Contract not found.
- KT-CT-10040: Unable to rescind contract.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Arguments
| Name | Description |
|---|---|
|
Return fields
| Name | Description |
|---|---|
|
The contract rescinded. |
Mutation
mutation RescindContract($input: RescindContractInput!) {
rescindContract(input: $input) {
contract {
...ContractFragment
}
}
}
Variables
{
"input": RescindContractInput
}
Response
{
"data": {
"rescindContract": {
"contract": Contract
}
}
}
resetPassword
Type: ResetPasswordMutationPayload
URL: https://api.oees-kraken.energy/v1/graphql/
Reset the password of an account user indicated by the userId to the value supplied.
Query Complexity: 1
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
(No)
Deprecated
The 'resetPassword' field is deprecated.
Please use `resetUserPassword` instead.
- Marked as deprecated on 2024-12-04.
- Scheduled for removal on or after 2025-06-01.
You can read more about this deprecation on:
https://announcements.kraken.tech/announcements/public/81/
Arguments
| Name | Description |
|---|---|
|
Return fields
| Name | Description |
|---|---|
|
|
|
Mutation
mutation ResetPassword($input: ResetPasswordMutationInput!) {
resetPassword(input: $input) {
clientMutationId
errors {
...SerializerFieldErrorsTypeFragment
}
}
}
Variables
{
"input": ResetPasswordMutationInput
}
Response
{
"data": {
"resetPassword": {
"clientMutationId": "13012321",
"errors": [SerializerFieldErrorsType]
}
}
}
resetUserPassword
Type: ResetUserPasswordOutput
URL: https://api.oees-kraken.energy/v1/graphql/
Reset the password of an account user.
Raises KT-CT-5450 if password validation fails. Inspect the validationErrors extension to get the exact validation error:
json
{
"data": {"resetUserPassword": null},
"errors": [
{
"message": "Password is invalid.",
"path": ["resetUserPassword"],
"extensions": {
"errorType": "VALIDATION",
"errorCode": "KT-CT-5450",
"errorDescription": "Given password fails password policy requirements.",
"validationErrors": [
{
"code": "password_too_short",
"message": "This password is too short. It must contain at least 7 characters.",
"inputPath": ["input", "password"]
},
{
"code": "password_too_common",
"message": "This password is too common.",
"inputPath": ["input", "password"]
}
]
}
}
]
}
The validation error's code can be any of
- password_too_short
- password_too_common
- password_reused
- password_matches_current
- password_has_too_few_numeric_characters
- password_has_too_few_special_characters
- password_has_too_few_lowercase_characters
- password_has_too_few_uppercase_characters
- password_contains_account_number
- password_contains_part_of_email_address
Query Complexity: 1
Possible Errors:
- KT-CT-1132: Unauthorized.
- KT-CT-4125: Unauthorized.
- KT-CT-5450: Password is invalid.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
(No)
Rate Limits
| Key | Steps |
|---|---|
Ip |
['5/m'] |
Arguments
| Name | Description |
|---|---|
|
Input fields for resetting an account user's password. |
Return fields
| Name | Description |
|---|---|
|
A list of codes of which password validation the new password failed against if applicable.
One of:
- Deprecated The 'failureCodes' field is deprecated. |
|
A list of messages of which password validations the new password failed against if applicable. Deprecated The 'failureReasons' field is deprecated. |
|
True if the password update was successful, false otherwise. Deprecated The 'passwordUpdated' field is deprecated. |
|
The ID of the user whose password was changed. |
Mutation
mutation ResetUserPassword($input: ResetUserPasswordInput!) {
resetUserPassword(input: $input) {
userId
}
}
Variables
{
"input": ResetUserPasswordInput
}
Response
{
"data": {
"resetUserPassword": {
"userId": "64943978"
}
}
}
resumeCollectionProcess
Type: ResumeCollectionProcess
URL: https://api.oees-kraken.energy/v1/graphql/
Resume a collection process.
Query Complexity: 1
Possible Errors:
- KT-CT-1111: Unauthorized.
- KT-CT-11201: No Collection Process Records associated with id.
- KT-CT-11215: Unable to resume, collection process is not paused.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can start collection process
Arguments
| Name | Description |
|---|---|
|
Details for resuming a collection process. |
Return fields
| Name | Description |
|---|---|
|
Collection process resume output. |
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation ResumeCollectionProcess($input: ResumeCollectionProcessInput!) {
resumeCollectionProcess(input: $input) {
collectionProcessResumed {
...ResumeCollectionProcessOutputFragment
}
}
}
Variables
{
"input": ResumeCollectionProcessInput
}
Response
{
"data": {
"resumeCollectionProcess": {
"collectionProcessResumed": ResumeCollectionProcessOutput
}
}
}
resumeControl
Type: ResumeDeviceControl
URL: https://api.oees-kraken.energy/v1/graphql/
Resume control of the device.
Query Complexity: 2
Possible Errors:
- KT-CT-4301: Unable to find device for given account.
- KT-CT-4359: Unable to resume device control.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Rate Limits
| Key | Steps |
|---|---|
User |
['300/h'] |
Deprecated
The 'resumeControl' field is deprecated.
Please use 'updateDeviceSmartControl' instead.
- Marked as deprecated on 2024-09-17.
- Scheduled for removal on or after 2025-12-11.
You can read more about this deprecation on:
https://announcements.kraken.tech/announcements/public/468/
Arguments
| Name | Description |
|---|---|
|
Return fields
| Name | Description |
|---|---|
|
|
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation ResumeControl($input: AccountNumberInput) {
resumeControl(input: $input) {
krakenflexDevice {
...KrakenFlexDeviceTypeFragment
}
}
}
Variables
{
"input": AccountNumberInput
}
Response
{
"data": {
"resumeControl": {
"krakenflexDevice": KrakenFlexDeviceType
}
}
}
retireCustomerAsset
Type: RetireCustomerAsset
URL: https://api.oees-kraken.energy/v1/graphql/
Retire a customer asset for an account
Query Complexity: 5
Possible Errors:
- KT-CT-14603: Unable to retire customer asset.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can manage customer assets
Arguments
| Name | Description |
|---|---|
|
Input fields for retiring a customer asset. |
Return fields
| Name | Description |
|---|---|
|
The retired customer asset. |
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation RetireCustomerAsset($input: RetireCustomerAssetInput!) {
retireCustomerAsset(input: $input) {
customerAsset {
...CustomerAssetTypeFragment
}
}
}
Variables
{
"input": RetireCustomerAssetInput
}
Response
{
"data": {
"retireCustomerAsset": {
"customerAsset": CustomerAssetType
}
}
}
reverseEnrollment
Type: EnrollmentReversed!
URL: https://api.oees-kraken.energy/v1/graphql/
Reverse an enrollment (Join Supplier process).
Query Complexity: 1
Possible Errors:
- KT-CT-10312: Mutation not enabled in this environment.
- KT-CT-10318: Enrollment process not found.
- KT-CT-10349: Enrollment process is not reversible.
- KT-CT-10350: Enrollment process can still be cancelled.
- KT-CT-10351: Enrollment process being cancelled cannot be reversed.
- KT-CT-10352: Market actions cannot be reversed for this enrollment process.
- KT-CT-10353: Failed to reverse enrollment process.
- KT-CT-10354: Enrollment reversal cut-off has passed.
- KT-CT-10355: Enrollment reversal is not allowed.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Arguments
| Name | Description |
|---|---|
|
The input required to reverse an enrollment. |
Return fields
| Name | Description |
|---|---|
|
The Enrollment process that was reversed. |
|
The message to display to the user on reversal. |
Mutation
mutation ReverseEnrollment($input: ReverseEnrollmentInput!) {
reverseEnrollment(input: $input) {
enrollmentProcess {
... on JoinSupplierProcessType {
...JoinSupplierProcessTypeFragment
}
... on OccupyPropertyProcessType {
...OccupyPropertyProcessTypeFragment
}
}
message
}
}
Variables
{
"input": ReverseEnrollmentInput
}
Response
{
"data": {
"reverseEnrollment": {
"enrollmentProcess": JoinSupplierProcessType,
"message": "tend-rule-way-already-later"
}
}
}
reverseLeaveSupplier
Type: LeaveSupplierReversed!
URL: https://api.oees-kraken.energy/v1/graphql/
Reverse a leave supplier process.
Query Complexity: 1
Possible Errors:
- KT-CT-10302: Invalid data.
- KT-CT-10304: Mutation not enabled in this environment.
- KT-CT-10341: Leave supplier process is not reversible.
- KT-CT-10342: Leave supplier process can still be cancelled.
- KT-CT-10343: Leave supplier process being cancelled cannot be reversed.
- KT-CT-10344: Leave supplier reversal cut-off has passed.
- KT-CT-10345: Occupier leave with real join cannot be reversed.
- KT-CT-10346: Market action reversal is not supported for this leave supplier process.
- KT-CT-10347: Failed to reverse leave supplier process.
- KT-CT-10348: Leave supplier reversal is missing required dependencies.
- KT-CT-1607: Value cannot be empty.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Arguments
| Name | Description |
|---|---|
|
Return fields
| Name | Description |
|---|---|
|
The message to display to the user on reversal. |
Mutation
mutation ReverseLeaveSupplier($input: ReverseLeaveSupplierInput!) {
reverseLeaveSupplier(input: $input) {
message
}
}
Variables
{
"input": ReverseLeaveSupplierInput
}
Response
{
"data": {
"reverseLeaveSupplier": {
"message": "simply-collection-human-official-place"
}
}
}
revokeAgreement
Type: RevokeAgreement
URL: https://api.oees-kraken.energy/v1/graphql/
Revoke an agreement.
Query Complexity: 1
Possible Errors:
- KT-CT-1501: Agreement not found.
- KT-CT-1502: Billed agreements cannot be revoked.
- KT-CT-4123: Unauthorized.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can update agreeements
Arguments
| Name | Description |
|---|---|
|
Input fields for revoking an agreement. |
Return fields
| Name | Description |
|---|---|
|
Account responsible for the revoked agreement. |
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation RevokeAgreement($input: RevokeAgreementInput!) {
revokeAgreement(input: $input) {
account {
...AccountTypeFragment
}
}
}
Variables
{
"input": RevokeAgreementInput
}
Response
{
"data": {
"revokeAgreement": {
"account": AccountType
}
}
}
revokeContract
Type: RevokeContractOutput!
URL: https://api.oees-kraken.energy/v1/graphql/
Revoke an existing contract.
Query Complexity: 1
Possible Errors:
- KT-CT-10003: Contract not found.
- KT-CT-10022: Contract already terminated.
- KT-CT-10023: Contract is already revoked.
- KT-CT-10024: Contract already expired.
- KT-CT-10032: Contract has already started.
- KT-CT-10041: Contract is already rescinded.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Arguments
| Name | Description |
|---|---|
|
Return fields
| Name | Description |
|---|---|
|
The contract revoked. |
Mutation
mutation RevokeContract($input: RevokeContractInput!) {
revokeContract(input: $input) {
contract {
...ContractFragment
}
}
}
Variables
{
"input": RevokeContractInput
}
Response
{
"data": {
"revokeContract": {
"contract": Contract
}
}
}
revokeUserAccessFromBusiness
Type: RevokeUserAccessFromBusiness
URL: https://api.oees-kraken.energy/v1/graphql/
Revoke the selected role from the user for the business.
Query Complexity: 1
Possible Errors:
- KT-CT-11107: Unauthorized.
- KT-CT-13501: Unauthorized.
- KT-CT-5463: Unauthorized.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can allocate user roles
Arguments
| Name | Description |
|---|---|
Return fields
| Name | Description |
|---|---|
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation RevokeUserAccessFromBusiness($input: RevokeUserAccessFromBusinessInput!) {
revokeUserAccessFromBusiness(input: $input) {
}
}
Variables
{
"input": RevokeUserAccessFromBusinessInput
}
Response
{
"data": {
"revokeUserAccessFromBusiness": {
}
}
}
runAgreementRollover
Type: RunAgreementRollover
URL: https://api.oees-kraken.energy/v1/graphql/
Run an agreement rollover.
Query Complexity: 1
Possible Errors:
- KT-CT-13705: Agreement rollover not found.
- KT-CT-13706: Agreement rollover has an invalid status for this operation.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can query agreement rollovers AND Can run agreement rollovers
Arguments
| Name | Description |
|---|---|
|
Input for running an agreement rollover. |
Return fields
| Name | Description |
|---|---|
|
The executed agreement rollover. |
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation RunAgreementRollover($input: RunAgreementRolloverInput!) {
runAgreementRollover(input: $input) {
agreementRollover {
...AgreementRolloverTypeFragment
}
}
}
Variables
{
"input": RunAgreementRolloverInput
}
Response
{
"data": {
"runAgreementRollover": {
"agreementRollover": AgreementRolloverType
}
}
}
scheduleQuoteFollowUp
Type: ScheduleQuoteFollowUp
URL: https://api.oees-kraken.energy/v1/graphql/
Schedule a quote follow-up to the provided recipient.
Query Complexity: 1
Possible Errors:
- KT-CT-4619: Quote with given code not found.
- KT-CT-4632: Invalid recipient information.
- KT-CT-4633: Mutation not enabled in this environment.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
(No)
Rate Limits
| Key | Steps |
|---|---|
Ip |
['5/m'] |
Arguments
| Name | Description |
|---|---|
|
Return fields
| Name | Description |
|---|---|
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
|
Whether the message was scheduled successfully. |
Mutation
mutation ScheduleQuoteFollowUp($input: QuoteShareInput!) {
scheduleQuoteFollowUp(input: $input) {
success
}
}
Variables
{
"input": QuoteShareInput
}
Response
{
"data": {
"scheduleQuoteFollowUp": {
"success": true
}
}
}
selectChargePointMakeForSmartFlexOnboarding
Type: SelectChargePointMakeForSmartFlexOnboarding
URL: https://api.oees-kraken.energy/v1/graphql/
Select the charge point make to proceed in the onboarding journey.
Query Complexity: 1
Possible Errors:
- KT-CT-1111: Unauthorized.
- KT-CT-4371: Onboarding wizard ID is invalid.
- KT-CT-4372: Simultaneous attempts to update onboarding process.
- KT-CT-4375: Incorrect or missing parameters for SmartFlex onboarding step.
- KT-CT-4376: Unable to complete onboarding step. Please try again later.
- KT-CT-4377: Invalid onboarding step ID.
- KT-CT-4378: Invalid input or step id. Please make sure you are using the correct step id and providing the expected input params.
- KT-CT-4379: Vehicle is not ready for a test charge.
- KT-CT-4391: This onboarding wizard has been cancelled.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can register smartflex devices
Deprecated
The 'selectChargePointMakeForSmartFlexOnboarding' field is deprecated.
Please use 'selectFromListForSmartFlexOnboarding' instead.
- Marked as deprecated on 2026-01-05.
- Scheduled for removal on or after 2026-07-05.
Arguments
| Name | Description |
|---|---|
|
Return fields
| Name | Description |
|---|---|
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
|
The wizard created for onboarding the device with SmartFlex. |
Mutation
mutation SelectChargePointMakeForSmartFlexOnboarding($input: SelectChargePointMakeInput!) {
selectChargePointMakeForSmartFlexOnboarding(input: $input) {
wizard {
...SmartFlexOnboardingWizardFragment
}
}
}
Variables
{
"input": SelectChargePointMakeInput
}
Response
{
"data": {
"selectChargePointMakeForSmartFlexOnboarding": {
"wizard": SmartFlexOnboardingWizard
}
}
}
selectChargePointVariantForSmartFlexOnboarding
Type: SelectChargePointVariantForSmartFlexOnboarding
URL: https://api.oees-kraken.energy/v1/graphql/
Select the charge point model variant to proceed in the onboarding journey.
Query Complexity: 1
Possible Errors:
- KT-CT-1111: Unauthorized.
- KT-CT-4371: Onboarding wizard ID is invalid.
- KT-CT-4372: Simultaneous attempts to update onboarding process.
- KT-CT-4375: Incorrect or missing parameters for SmartFlex onboarding step.
- KT-CT-4376: Unable to complete onboarding step. Please try again later.
- KT-CT-4377: Invalid onboarding step ID.
- KT-CT-4378: Invalid input or step id. Please make sure you are using the correct step id and providing the expected input params.
- KT-CT-4379: Vehicle is not ready for a test charge.
- KT-CT-4391: This onboarding wizard has been cancelled.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can register smartflex devices
Deprecated
The 'selectChargePointVariantForSmartFlexOnboarding' field is deprecated.
Please use 'selectFromListForSmartFlexOnboarding' instead.
- Marked as deprecated on 2026-01-05.
- Scheduled for removal on or after 2026-07-05.
Arguments
| Name | Description |
|---|---|
|
Return fields
| Name | Description |
|---|---|
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
|
The wizard created for onboarding the device with SmartFlex. |
Mutation
mutation SelectChargePointVariantForSmartFlexOnboarding($input: SelectChargePointVariantInput!) {
selectChargePointVariantForSmartFlexOnboarding(input: $input) {
wizard {
...SmartFlexOnboardingWizardFragment
}
}
}
Variables
{
"input": SelectChargePointVariantInput
}
Response
{
"data": {
"selectChargePointVariantForSmartFlexOnboarding": {
"wizard": SmartFlexOnboardingWizard
}
}
}
selectDeviceTypeForSmartFlexOnboarding
Type: SelectDeviceTypeForSmartFlexOnboarding
URL: https://api.oees-kraken.energy/v1/graphql/
Select the device type to proceed in the onboarding journey.
Query Complexity: 1
Possible Errors:
- KT-CT-1111: Unauthorized.
- KT-CT-4371: Onboarding wizard ID is invalid.
- KT-CT-4372: Simultaneous attempts to update onboarding process.
- KT-CT-4375: Incorrect or missing parameters for SmartFlex onboarding step.
- KT-CT-4376: Unable to complete onboarding step. Please try again later.
- KT-CT-4377: Invalid onboarding step ID.
- KT-CT-4378: Invalid input or step id. Please make sure you are using the correct step id and providing the expected input params.
- KT-CT-4379: Vehicle is not ready for a test charge.
- KT-CT-4391: This onboarding wizard has been cancelled.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can register smartflex devices
Deprecated
The 'selectDeviceTypeForSmartFlexOnboarding' field is deprecated.
Please use 'selectFromListForSmartFlexOnboarding' instead.
- Marked as deprecated on 2026-01-05.
- Scheduled for removal on or after 2026-07-05.
Arguments
| Name | Description |
|---|---|
|
Return fields
| Name | Description |
|---|---|
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
|
The wizard created for onboarding the device with SmartFlex. |
Mutation
mutation SelectDeviceTypeForSmartFlexOnboarding($input: SelectDeviceTypeInput!) {
selectDeviceTypeForSmartFlexOnboarding(input: $input) {
wizard {
...SmartFlexOnboardingWizardFragment
}
}
}
Variables
{
"input": SelectDeviceTypeInput
}
Response
{
"data": {
"selectDeviceTypeForSmartFlexOnboarding": {
"wizard": SmartFlexOnboardingWizard
}
}
}
selectFromListForSmartFlexOnboarding
Type: SelectFromListForSmartFlexOnboarding
URL: https://api.oees-kraken.energy/v1/graphql/
Select from a list of options presented.
Query Complexity: 1
Possible Errors:
- KT-CT-1111: Unauthorized.
- KT-CT-4371: Onboarding wizard ID is invalid.
- KT-CT-4372: Simultaneous attempts to update onboarding process.
- KT-CT-4375: Incorrect or missing parameters for SmartFlex onboarding step.
- KT-CT-4376: Unable to complete onboarding step. Please try again later.
- KT-CT-4377: Invalid onboarding step ID.
- KT-CT-4378: Invalid input or step id. Please make sure you are using the correct step id and providing the expected input params.
- KT-CT-4379: Vehicle is not ready for a test charge.
- KT-CT-4391: This onboarding wizard has been cancelled.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can register smartflex devices
Arguments
| Name | Description |
|---|---|
|
Return fields
| Name | Description |
|---|---|
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
|
The wizard created for onboarding the device with SmartFlex. |
Mutation
mutation SelectFromListForSmartFlexOnboarding($input: SelectFromListInput!) {
selectFromListForSmartFlexOnboarding(input: $input) {
wizard {
...SmartFlexOnboardingWizardFragment
}
}
}
Variables
{
"input": SelectFromListInput
}
Response
{
"data": {
"selectFromListForSmartFlexOnboarding": {
"wizard": SmartFlexOnboardingWizard
}
}
}
selectInverterMakeForSmartFlexOnboarding
Type: SelectInverterMakeForSmartFlexOnboarding
URL: https://api.oees-kraken.energy/v1/graphql/
Select the inverter make to proceed in the onboarding journey.
Query Complexity: 1
Possible Errors:
- KT-CT-1111: Unauthorized.
- KT-CT-4371: Onboarding wizard ID is invalid.
- KT-CT-4372: Simultaneous attempts to update onboarding process.
- KT-CT-4375: Incorrect or missing parameters for SmartFlex onboarding step.
- KT-CT-4376: Unable to complete onboarding step. Please try again later.
- KT-CT-4377: Invalid onboarding step ID.
- KT-CT-4378: Invalid input or step id. Please make sure you are using the correct step id and providing the expected input params.
- KT-CT-4379: Vehicle is not ready for a test charge.
- KT-CT-4391: This onboarding wizard has been cancelled.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can register smartflex devices
Deprecated
The 'selectInverterMakeForSmartFlexOnboarding' field is deprecated.
Please use 'selectFromListForSmartFlexOnboarding' instead.
- Marked as deprecated on 2026-01-05.
- Scheduled for removal on or after 2026-07-05.
Arguments
| Name | Description |
|---|---|
|
Return fields
| Name | Description |
|---|---|
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
|
The wizard created for onboarding the device with SmartFlex. |
Mutation
mutation SelectInverterMakeForSmartFlexOnboarding($input: SelectInverterMakeInput!) {
selectInverterMakeForSmartFlexOnboarding(input: $input) {
wizard {
...SmartFlexOnboardingWizardFragment
}
}
}
Variables
{
"input": SelectInverterMakeInput
}
Response
{
"data": {
"selectInverterMakeForSmartFlexOnboarding": {
"wizard": SmartFlexOnboardingWizard
}
}
}
selectProducts
Type: SelectProducts
URL: https://api.oees-kraken.energy/v1/graphql/
Mark quoted products on a quote request as selected.
Query Complexity: 1
Possible Errors:
- KT-CT-4619: Quote with given code not found.
- KT-CT-4626: No product selected for the given quote code.
- KT-CT-4634: Quoted product with given id not found.
- KT-CT-4635: Missing a quoted product for at least one quoted supply point on the quote request.
- KT-CT-4636: Quoted product not linked to a product.
- KT-CT-4646: Attempted to select multiple products for the same quoted supply point.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can update quotes
Arguments
| Name | Description |
|---|---|
|
Return fields
| Name | Description |
|---|---|
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
|
Whether we successfully marked the chosen quoted products as selected. |
Mutation
mutation SelectProducts($input: SelectProductsInput!) {
selectProducts(input: $input) {
success
}
}
Variables
{
"input": SelectProductsInput
}
Response
{
"data": {
"selectProducts": {
"success": true
}
}
}
selectUserVehicleForSmartFlexOnboarding
Type: SelectUserVehicleForSmartFlexOnboarding
URL: https://api.oees-kraken.energy/v1/graphql/
Select the user's vehicle to proceed in the onboarding journey.
Query Complexity: 1
Possible Errors:
- KT-CT-1111: Unauthorized.
- KT-CT-4371: Onboarding wizard ID is invalid.
- KT-CT-4372: Simultaneous attempts to update onboarding process.
- KT-CT-4375: Incorrect or missing parameters for SmartFlex onboarding step.
- KT-CT-4376: Unable to complete onboarding step. Please try again later.
- KT-CT-4377: Invalid onboarding step ID.
- KT-CT-4378: Invalid input or step id. Please make sure you are using the correct step id and providing the expected input params.
- KT-CT-4379: Vehicle is not ready for a test charge.
- KT-CT-4391: This onboarding wizard has been cancelled.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can register smartflex devices
Deprecated
The 'selectUserVehicleForSmartFlexOnboarding' field is deprecated.
Please use 'selectFromListForSmartFlexOnboarding' instead.
- Marked as deprecated on 2026-01-05.
- Scheduled for removal on or after 2026-07-05.
Arguments
| Name | Description |
|---|---|
|
Return fields
| Name | Description |
|---|---|
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
|
The wizard created for onboarding the device with SmartFlex. |
Mutation
mutation SelectUserVehicleForSmartFlexOnboarding($input: SelectUserVehicleInput!) {
selectUserVehicleForSmartFlexOnboarding(input: $input) {
wizard {
...SmartFlexOnboardingWizardFragment
}
}
}
Variables
{
"input": SelectUserVehicleInput
}
Response
{
"data": {
"selectUserVehicleForSmartFlexOnboarding": {
"wizard": SmartFlexOnboardingWizard
}
}
}
selectVehicleMakeForSmartFlexOnboarding
Type: SelectVehicleMakeForSmartFlexOnboarding
URL: https://api.oees-kraken.energy/v1/graphql/
Select the vehicle make to proceed in the onboarding journey.
Query Complexity: 1
Possible Errors:
- KT-CT-1111: Unauthorized.
- KT-CT-4371: Onboarding wizard ID is invalid.
- KT-CT-4372: Simultaneous attempts to update onboarding process.
- KT-CT-4375: Incorrect or missing parameters for SmartFlex onboarding step.
- KT-CT-4376: Unable to complete onboarding step. Please try again later.
- KT-CT-4377: Invalid onboarding step ID.
- KT-CT-4378: Invalid input or step id. Please make sure you are using the correct step id and providing the expected input params.
- KT-CT-4379: Vehicle is not ready for a test charge.
- KT-CT-4391: This onboarding wizard has been cancelled.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can register smartflex devices
Deprecated
The 'selectVehicleMakeForSmartFlexOnboarding' field is deprecated.
Please use 'selectFromListForSmartFlexOnboarding' instead.
- Marked as deprecated on 2026-01-05.
- Scheduled for removal on or after 2026-07-05.
Arguments
| Name | Description |
|---|---|
|
Return fields
| Name | Description |
|---|---|
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
|
The wizard created for onboarding the device with SmartFlex. |
Mutation
mutation SelectVehicleMakeForSmartFlexOnboarding($input: SelectVehicleMakeInput!) {
selectVehicleMakeForSmartFlexOnboarding(input: $input) {
wizard {
...SmartFlexOnboardingWizardFragment
}
}
}
Variables
{
"input": SelectVehicleMakeInput
}
Response
{
"data": {
"selectVehicleMakeForSmartFlexOnboarding": {
"wizard": SmartFlexOnboardingWizard
}
}
}
selectVehicleOrChargePointForSmartFlexOnboarding
Type: CompleteSelectVehicleOrChargePointForSmartFlexOnboarding
URL: https://api.oees-kraken.energy/v1/graphql/
Select the vehicle or charge point for the onboarding journey.
Query Complexity: 1
Possible Errors:
- KT-CT-1111: Unauthorized.
- KT-CT-4371: Onboarding wizard ID is invalid.
- KT-CT-4372: Simultaneous attempts to update onboarding process.
- KT-CT-4375: Incorrect or missing parameters for SmartFlex onboarding step.
- KT-CT-4376: Unable to complete onboarding step. Please try again later.
- KT-CT-4377: Invalid onboarding step ID.
- KT-CT-4378: Invalid input or step id. Please make sure you are using the correct step id and providing the expected input params.
- KT-CT-4379: Vehicle is not ready for a test charge.
- KT-CT-4391: This onboarding wizard has been cancelled.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can register smartflex devices
Arguments
| Name | Description |
|---|---|
|
Return fields
| Name | Description |
|---|---|
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
|
The wizard created for onboarding the device with SmartFlex. |
Mutation
mutation SelectVehicleOrChargePointForSmartFlexOnboarding($input: SelectVehicleOrChargePointInput!) {
selectVehicleOrChargePointForSmartFlexOnboarding(input: $input) {
wizard {
...SmartFlexOnboardingWizardFragment
}
}
}
Variables
{
"input": SelectVehicleOrChargePointInput
}
Response
{
"data": {
"selectVehicleOrChargePointForSmartFlexOnboarding": {
"wizard": SmartFlexOnboardingWizard
}
}
}
selectVehicleVariantForSmartFlexOnboarding
Type: SelectVehicleVariantForSmartFlexOnboarding
URL: https://api.oees-kraken.energy/v1/graphql/
Select the vehicle model variant to proceed in the onboarding journey.
Query Complexity: 1
Possible Errors:
- KT-CT-1111: Unauthorized.
- KT-CT-4371: Onboarding wizard ID is invalid.
- KT-CT-4372: Simultaneous attempts to update onboarding process.
- KT-CT-4375: Incorrect or missing parameters for SmartFlex onboarding step.
- KT-CT-4376: Unable to complete onboarding step. Please try again later.
- KT-CT-4377: Invalid onboarding step ID.
- KT-CT-4378: Invalid input or step id. Please make sure you are using the correct step id and providing the expected input params.
- KT-CT-4379: Vehicle is not ready for a test charge.
- KT-CT-4391: This onboarding wizard has been cancelled.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can register smartflex devices
Deprecated
The 'selectVehicleVariantForSmartFlexOnboarding' field is deprecated.
Please use 'selectFromListForSmartFlexOnboarding' instead.
- Marked as deprecated on 2026-01-05.
- Scheduled for removal on or after 2026-07-05.
Arguments
| Name | Description |
|---|---|
|
Return fields
| Name | Description |
|---|---|
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
|
The wizard created for onboarding the device with SmartFlex. |
Mutation
mutation SelectVehicleVariantForSmartFlexOnboarding($input: SelectVehicleVariantInput!) {
selectVehicleVariantForSmartFlexOnboarding(input: $input) {
wizard {
...SmartFlexOnboardingWizardFragment
}
}
}
Variables
{
"input": SelectVehicleVariantInput
}
Response
{
"data": {
"selectVehicleVariantForSmartFlexOnboarding": {
"wizard": SmartFlexOnboardingWizard
}
}
}
sendAgreementRescissionConfirmation
Type: SendAgreementRescissionConfirmation
URL: https://api.oees-kraken.energy/v1/graphql/
Publish a transactional message confirming an agreement rescission.
Query Complexity: 2
Possible Errors:
- KT-CT-14101: Agreement rescission not found.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can query agreement rescissions AND Can update agreement rescissions
Arguments
| Name | Description |
|---|---|
|
Input fields for sending a message. |
Return fields
| Name | Description |
|---|---|
|
The agreement rescission for which we are sending a message. |
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation SendAgreementRescissionConfirmation($input: SendAgreementRescissionMessageInput!) {
sendAgreementRescissionConfirmation(input: $input) {
agreementRescission {
...AgreementRescissionTypeFragment
}
}
}
Variables
{
"input": SendAgreementRescissionMessageInput
}
Response
{
"data": {
"sendAgreementRescissionConfirmation": {
"agreementRescission": AgreementRescissionType
}
}
}
sendOfferQuoteSummary
Type: SendOfferQuoteSummary
URL: https://api.oees-kraken.energy/v1/graphql/
Send an offer quote summary to all active account users.
Query Complexity: 1
Possible Errors:
- KT-CT-12407: The offer group does not contain an accepted offer.
- KT-CT-4178: No account found with given account number.
- KT-CT-4619: Quote with given code not found.
- KT-CT-5518: Account user not found.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can send quotes
Rate Limits
| Key | Steps |
|---|---|
Ip |
['5/m'] |
Arguments
| Name | Description |
|---|---|
|
Return fields
| Name | Description |
|---|---|
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
|
Whether the triggering of the offer quote summary was successful. |
Mutation
mutation SendOfferQuoteSummary($input: OfferQuoteSummaryInput!) {
sendOfferQuoteSummary(input: $input) {
success
}
}
Variables
{
"input": OfferQuoteSummaryInput
}
Response
{
"data": {
"sendOfferQuoteSummary": {
"success": true
}
}
}
sendQuoteSummary
Type: SendQuoteSummary
URL: https://api.oees-kraken.energy/v1/graphql/
Send a quote summary to the provided recipient.
Query Complexity: 1
Possible Errors:
- KT-CT-4178: No account found with given account number.
- KT-CT-4619: Quote with given code not found.
- KT-CT-4632: Invalid recipient information.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can send quotes
Rate Limits
| Key | Steps |
|---|---|
Ip |
['5/m'] |
Arguments
| Name | Description |
|---|---|
|
Return fields
| Name | Description |
|---|---|
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
|
Whether the triggering of the quote summary was successful. |
Mutation
mutation SendQuoteSummary($input: QuoteShareInput!) {
sendQuoteSummary(input: $input) {
success
}
}
Variables
{
"input": QuoteShareInput
}
Response
{
"data": {
"sendQuoteSummary": {
"success": true
}
}
}
sendVerificationEmail
Type: SendVerificationEmail
URL: https://api.oees-kraken.energy/v1/graphql/
Verify user's email address.
Query Complexity: 1
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can verify email addresses
Arguments
| Name | Description |
|---|---|
|
Return fields
| Name | Description |
|---|---|
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
|
If the verification email was sent. |
Mutation
mutation SendVerificationEmail($input: SendVerificationEmailInput!) {
sendVerificationEmail(input: $input) {
verificationStatus
}
}
Variables
{
"input": SendVerificationEmailInput
}
Response
{
"data": {
"sendVerificationEmail": {
"verificationStatus": true
}
}
}
setDevicePreferences
Type: SmartFlexDeviceInterface
URL: https://api.oees-kraken.energy/v1/graphql/
Set the user preferences for a device.
Query Complexity: 6
Possible Errors:
- KT-CT-4314: Unable to get provider details.
- KT-CT-4321: Serializer validation error.
- KT-CT-4374: An error occurred while trying to set your device preferences.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Rate Limits
| Key | Steps |
|---|---|
User |
['300/h'] |
Arguments
| Name | Description |
|---|---|
|
The device preference details to be updated. |
Return fields
| Name | Description |
|---|---|
|
Active alert message(s) for a device, showing the latest first. |
|
The type of device. |
|
A UUID that identifies this device registration. Re-registering this device will result in a different ID. |
|
The third-party integration device ID. |
|
The user-friendly name for the device. |
|
The current onboarding wizard for a device. |
|
The device's preference details. |
|
The preference setting for this device. |
|
The id of the property linked to the device. |
|
The third-party that enables control of this device. |
|
The re-authentication state of this device, if applicable. |
|
Information about the current status of this device. |
Mutation
mutation SetDevicePreferences($input: SmartFlexDevicePreferencesInput!) {
setDevicePreferences(input: $input) {
alerts {
...SmartFlexDeviceAlertInterfaceFragment
}
deviceType
id
integrationDeviceId
name
onboardingWizard {
...SmartFlexOnboardingWizardFragment
}
preferences {
...SmartFlexDevicePreferencesInterfaceFragment
}
preferenceSetting {
...FlexDevicePreferenceSettingInterfaceFragment
}
propertyId
provider
reAuthenticationState {
...DeviceReAuthenticationInterfaceFragment
}
status {
...SmartFlexDeviceStatusInterfaceFragment
}
}
}
Variables
{
"input": SmartFlexDevicePreferencesInput
}
Response
{
"data": {
"setDevicePreferences": {
"alerts": SmartFlexDeviceAlertInterface,
"deviceType": "BATTERIES",
"id": "81811765",
"integrationDeviceId": "46851539",
"name": "reduce-factor-option-few-concern",
"onboardingWizard": SmartFlexOnboardingWizard,
"preferences": SmartFlexDevicePreferencesInterface,
"preferenceSetting": FlexDevicePreferenceSettingInterface,
"propertyId": "35529498",
"provider": "BYD",
"reAuthenticationState": DeviceReAuthenticationInterface,
"status": SmartFlexDeviceStatusInterface
}
}
}
setLoyaltyPointsUser
Type: SetLoyaltyPointsUser
URL: https://api.oees-kraken.energy/v1/graphql/
Set the Loyalty Point user for the account.
Query Complexity: 1
Possible Errors:
- KT-CT-1111: Unauthorized.
- KT-CT-9210: Unhandled Loyalty Points exception.
- KT-CT-9214: Couldn't assign user loyalty points role.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can set loyalty points user
Arguments
| Name | Description |
|---|---|
|
Input fields for saving the Loyalty Points user. |
Return fields
| Name | Description |
|---|---|
|
ID of the new Loyalty Points user. |
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation SetLoyaltyPointsUser($input: SetLoyaltyPointsUserInput!) {
setLoyaltyPointsUser(input: $input) {
newLoyaltyPointsUserId
}
}
Variables
{
"input": SetLoyaltyPointsUserInput
}
Response
{
"data": {
"setLoyaltyPointsUser": {
"newLoyaltyPointsUserId": "64666668"
}
}
}
setOpportunityOutcome
Type: SetOpportunityOutcome
URL: https://api.oees-kraken.energy/v1/graphql/
Update the opportunity outcome to mark the opportunity as won or lost.
Query Complexity: 1
Possible Errors:
- KT-CT-8906: Opportunity not found.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can update leads
Arguments
| Name | Description |
|---|---|
|
Input fields for setting the outcome of a opportunity. |
Return fields
| Name | Description |
|---|---|
|
Success message for now. |
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation SetOpportunityOutcome($input: SetOpportunityOutcomeInput!) {
setOpportunityOutcome(input: $input) {
message
}
}
Variables
{
"input": SetOpportunityOutcomeInput
}
Response
{
"data": {
"setOpportunityOutcome": {
"message": "carry-wait-year-Democrat-week"
}
}
}
setPaymentPreference
Type: SetPaymentPreference
URL: https://api.oees-kraken.energy/v1/graphql/
Set a preference to collect payments from a specific payment method.
Query Complexity: 1
Possible Errors:
- KT-CT-1111: Unauthorized.
- KT-CT-3822: Unauthorized.
- KT-CT-3967: Payment method is not valid.
- KT-CT-3968: Preference cannot be set this soon.
- KT-CT-3969: Preferences must change on a specific day of the week for weekly schedules.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can set payment preference
Arguments
| Name | Description |
|---|---|
|
Return fields
| Name | Description |
|---|---|
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation SetPaymentPreference($input: SetPaymentPreferenceInput!) {
setPaymentPreference(input: $input) {
}
}
Variables
{
"input": SetPaymentPreferenceInput
}
Response
{
"data": {
"setPaymentPreference": {
}
}
}
setUpDirectDebitInstruction
Type: SetUpDirectDebitInstruction
URL: https://api.oees-kraken.energy/v1/graphql/
Set up a new direct debit instruction.
Query Complexity: 1
Possible Errors:
- KT-CT-11103: Business not found.
- KT-CT-3820: Received both ledger ID and number.
- KT-CT-3821: Received neither ledger ID nor ledger number.
- KT-CT-3940: Invalid data.
- KT-CT-3971: Instruction owners are not valid.
- KT-CT-3979: Invalid ledger.
- KT-CT-5415: Account user not found.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can create payment instructions
Arguments
| Name | Description |
|---|---|
|
Input fields for creating a new direct debit instruction. |
Return fields
| Name | Description |
|---|---|
|
|
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation SetUpDirectDebitInstruction($input: SetUpDirectDebitInstructionInput!) {
setUpDirectDebitInstruction(input: $input) {
paymentInstruction {
...DirectDebitInstructionTypeFragment
}
}
}
Variables
{
"input": SetUpDirectDebitInstructionInput
}
Response
{
"data": {
"setUpDirectDebitInstruction": {
"paymentInstruction": DirectDebitInstructionType
}
}
}
setUpDirectDebitInstructionForBusiness
Type: SetUpDirectDebitInstructionForBusiness
URL: https://api.oees-kraken.energy/v1/graphql/
Set up a new direct debit instruction for a business.
Query Complexity: 6
Possible Errors:
- KT-CT-11107: Unauthorized.
- KT-CT-3940: Invalid data.
- KT-CT-3948: Could not set up direct debit instruction.
- KT-CT-3956: Temporary error occurred.
- KT-CT-3971: Instruction owners are not valid.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can create payment instructions AND Can query businesses
Arguments
| Name | Description |
|---|---|
|
Input fields for creating a new direct debit instruction. |
Return fields
| Name | Description |
|---|---|
|
The created direct debit instruction. |
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation SetUpDirectDebitInstructionForBusiness($input: SetUpDirectDebitInstructionForBusinessInput!) {
setUpDirectDebitInstructionForBusiness(input: $input) {
paymentInstruction {
...DirectDebitInstructionTypeFragment
}
}
}
Variables
{
"input": SetUpDirectDebitInstructionForBusinessInput
}
Response
{
"data": {
"setUpDirectDebitInstructionForBusiness": {
"paymentInstruction": DirectDebitInstructionType
}
}
}
setUpDirectDebitInstructionFromStoredDetails
Type: SetUpDirectDebitInstructionFromStoredDetails
URL: https://api.oees-kraken.energy/v1/graphql/
Set up a new direct debit instruction from stored details.
Query Complexity: 1
Possible Errors:
- KT-CT-11103: Business not found.
- KT-CT-3822: Unauthorized.
- KT-CT-3948: Could not set up direct debit instruction.
- KT-CT-3956: Temporary error occurred.
- KT-CT-3971: Instruction owners are not valid.
- KT-CT-4123: Unauthorized.
- KT-CT-5415: Account user not found.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can create payment instructions
Arguments
| Name | Description |
|---|---|
|
Input fields for creating a new direct debit instruction from stored details. |
Return fields
| Name | Description |
|---|---|
|
The payment instruction that was created from stored details. |
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation SetUpDirectDebitInstructionFromStoredDetails($input: SetUpDirectDebitInstructionFromStoredDetailsInput!) {
setUpDirectDebitInstructionFromStoredDetails(input: $input) {
paymentInstruction {
...DirectDebitInstructionTypeFragment
}
}
}
Variables
{
"input": SetUpDirectDebitInstructionFromStoredDetailsInput
}
Response
{
"data": {
"setUpDirectDebitInstructionFromStoredDetails": {
"paymentInstruction": DirectDebitInstructionType
}
}
}
setVehicleChargePreferences
Type: SetVehicleChargingPreferences
URL: https://api.oees-kraken.energy/v1/graphql/
Set charging preferences for your electric vehicle.
Query Complexity: 5
Possible Errors:
- KT-CT-4301: Unable to find device for given account.
- KT-CT-4321: Serializer validation error.
- KT-CT-4353: An error occurred while trying to update your charging preferences.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Rate Limits
| Key | Steps |
|---|---|
User |
['300/h'] |
Deprecated
The 'setVehicleChargePreferences' field is deprecated.
Please use `setDevicePreferences` instead of this endpoint.
- Marked as deprecated on 2024-09-18.
- Scheduled for removal on or after 2026-01-26.
You can read more about this deprecation on:
https://announcements.kraken.tech/announcements/public/469/
Arguments
| Name | Description |
|---|---|
|
Return fields
| Name | Description |
|---|---|
|
|
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation SetVehicleChargePreferences($input: VehicleChargingPreferencesInput) {
setVehicleChargePreferences(input: $input) {
krakenflexDevice {
...KrakenFlexDeviceTypeFragment
}
}
}
Variables
{
"input": VehicleChargingPreferencesInput
}
Response
{
"data": {
"setVehicleChargePreferences": {
"krakenflexDevice": KrakenFlexDeviceType
}
}
}
shareGoodsQuote
Type: ShareGoodsQuote
URL: https://api.oees-kraken.energy/v1/graphql/
Share a goods quote.
Query Complexity: 1
Possible Errors:
- KT-CT-4122: Invalid email.
- KT-CT-8203: Received an invalid quote code.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
(No)
Arguments
| Name | Description |
|---|---|
|
Input fields for sharing a quote. |
Return fields
| Name | Description |
|---|---|
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
|
Goods quote shared. |
Mutation
mutation ShareGoodsQuote($input: ShareGoodsQuoteInput!) {
shareGoodsQuote(input: $input) {
share {
...GoodsQuoteShareFragment
}
}
}
Variables
{
"input": ShareGoodsQuoteInput
}
Response
{
"data": {
"shareGoodsQuote": {
"share": GoodsQuoteShare
}
}
}
startCollectionProcess
Type: StartCollectionProcess
URL: https://api.oees-kraken.energy/v1/graphql/
Start a collection process.
Query Complexity: 1
Possible Errors:
- KT-CT-1111: Unauthorized.
- KT-CT-11208: Invalid billing document identifier for collection process.
- KT-CT-11209: Collection process configuration does not have published version.
- KT-CT-11210: Active collection process for entity already exists.
- KT-CT-11211: Too many active collection processes for config.
- KT-CT-11212: Invalid collection process config code.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can start collection process
Arguments
| Name | Description |
|---|---|
|
Details to start collection process for. |
Return fields
| Name | Description |
|---|---|
|
Details of collection process that has been started. |
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation StartCollectionProcess($input: StartCollectionProcessInput!) {
startCollectionProcess(input: $input) {
collectionProcessStarted {
...StartCollectionProcessOutputFragment
}
}
}
Variables
{
"input": StartCollectionProcessInput
}
Response
{
"data": {
"startCollectionProcess": {
"collectionProcessStarted": StartCollectionProcessOutput
}
}
}
startCustomerVerification
Type: StartCustomerVerification
URL: https://api.oees-kraken.energy/v1/graphql/
Start the customer verification using the provided verification method.
Query Complexity: 1
Possible Errors:
- KT-CT-1701: Brand does not exist.
- KT-CT-4194: Verification type not supported yet.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can create account user
OR Can verify customer details
Arguments
| Name | Description |
|---|---|
|
Return fields
| Name | Description |
|---|---|
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
|
The newly created verification process. |
Mutation
mutation StartCustomerVerification($input: StartCustomerVerificationInput!) {
startCustomerVerification(input: $input) {
verificationProcess {
...VerificationProcessFragment
}
}
}
Variables
{
"input": StartCustomerVerificationInput
}
Response
{
"data": {
"startCustomerVerification": {
"verificationProcess": VerificationProcess
}
}
}
startReAuthentication
Type: StartReAuthentication
URL: https://api.oees-kraken.energy/v1/graphql/
Create a wizard for re-authenticating a device with SmartFlex.
Query Complexity: 1
Possible Errors:
- KT-CT-4321: Serializer validation error.
- KT-CT-4385: Re-authentication is not supported for this device.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can register smartflex devices
Arguments
| Name | Description |
|---|---|
|
Return fields
| Name | Description |
|---|---|
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
|
The wizard created for re-authenticating the device with SmartFlex. |
Mutation
mutation StartReAuthentication($input: StartReAuthenticationInput!) {
startReAuthentication(input: $input) {
wizard {
...SmartFlexOnboardingWizardFragment
}
}
}
Variables
{
"input": StartReAuthenticationInput
}
Response
{
"data": {
"startReAuthentication": {
"wizard": SmartFlexOnboardingWizard
}
}
}
startSmartFlexOnboarding
Type: StartSmartFlexOnboarding
URL: https://api.oees-kraken.energy/v1/graphql/
Create a wizard for onboarding a device with SmartFlex.
Query Complexity: 1
Possible Errors:
- KT-CT-4321: Serializer validation error.
- KT-CT-4385: Re-authentication is not supported for this device.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can register smartflex devices
Arguments
| Name | Description |
|---|---|
|
Return fields
| Name | Description |
|---|---|
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
|
The wizard created for onboarding the device with SmartFlex. |
Mutation
mutation StartSmartFlexOnboarding($input: StartSmartFlexOnboardingInput!) {
startSmartFlexOnboarding(input: $input) {
wizard {
...SmartFlexOnboardingWizardFragment
}
}
}
Variables
{
"input": StartSmartFlexOnboardingInput
}
Response
{
"data": {
"startSmartFlexOnboarding": {
"wizard": SmartFlexOnboardingWizard
}
}
}
startTestChargeForSmartFlexOnboarding
Type: StartTestChargeForSmartFlexOnboarding
URL: https://api.oees-kraken.energy/v1/graphql/
Attempt to start a test charge.
Query Complexity: 1
Possible Errors:
- KT-CT-1111: Unauthorized.
- KT-CT-4371: Onboarding wizard ID is invalid.
- KT-CT-4372: Simultaneous attempts to update onboarding process.
- KT-CT-4375: Incorrect or missing parameters for SmartFlex onboarding step.
- KT-CT-4376: Unable to complete onboarding step. Please try again later.
- KT-CT-4377: Invalid onboarding step ID.
- KT-CT-4378: Invalid input or step id. Please make sure you are using the correct step id and providing the expected input params.
- KT-CT-4379: Vehicle is not ready for a test charge.
- KT-CT-4391: This onboarding wizard has been cancelled.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can register smartflex devices
Deprecated
The 'startTestChargeForSmartFlexOnboarding' field is deprecated.
This functionality will no longer be available.
- Marked as deprecated on 2026-04-03.
- Scheduled for removal on or after 2026-10-03.
You can read more about this deprecation on:
https://announcements.kraken.tech/announcements/public/1019
Arguments
| Name | Description |
|---|---|
Return fields
| Name | Description |
|---|---|
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
|
The wizard created for onboarding the device with SmartFlex. |
Mutation
mutation StartTestChargeForSmartFlexOnboarding($input: CompleteSmartFlexOnboardingStepInput!) {
startTestChargeForSmartFlexOnboarding(input: $input) {
wizard {
...SmartFlexOnboardingWizardFragment
}
}
}
Variables
{
"input": CompleteSmartFlexOnboardingStepInput
}
Response
{
"data": {
"startTestChargeForSmartFlexOnboarding": {
"wizard": SmartFlexOnboardingWizard
}
}
}
stopAutomatedPayments
Type: StopAutomatedPayments
URL: https://api.oees-kraken.energy/v1/graphql/
Set a preference to not collect automated payments.
Query Complexity: 1
Possible Errors:
- KT-CT-1111: Unauthorized.
- KT-CT-3822: Unauthorized.
- KT-CT-3968: Preference cannot be set this soon.
- KT-CT-3969: Preferences must change on a specific day of the week for weekly schedules.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can stop automated payments
Arguments
| Name | Description |
|---|---|
|
Return fields
| Name | Description |
|---|---|
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation StopAutomatedPayments($input: StopAutomatedPaymentsInput!) {
stopAutomatedPayments(input: $input) {
}
}
Variables
{
"input": StopAutomatedPaymentsInput
}
Response
{
"data": {
"stopAutomatedPayments": {
}
}
}
storeBankDetailsForLead
Type: StoreBankDetailsForLead
URL: https://api.oees-kraken.energy/v1/graphql/
Store bank details for a lead and return the mandate UUID.
Query Complexity: 5
Possible Errors:
- KT-CT-3940: Invalid data.
- KT-CT-3956: Temporary error occurred.
- KT-CT-8907: Lead not found.
- KT-CT-8954: Unable to store payment method reference on lead.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can create payment instructions for lead
Arguments
| Name | Description |
|---|---|
|
Input for adding payment details to a lead. |
Return fields
| Name | Description |
|---|---|
|
Reference of the mandate generated for the lead. |
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation StoreBankDetailsForLead($input: StoreBankDetailsForLeadInput!) {
storeBankDetailsForLead(input: $input) {
paymentMethodReference
}
}
Variables
{
"input": StoreBankDetailsForLeadInput
}
Response
{
"data": {
"storeBankDetailsForLead": {
"paymentMethodReference": "build-single-report-wear-authority"
}
}
}
storeDirectDebitPaymentMethodDetails
Type: StoreDirectDebitPaymentMethodDetails
URL: https://api.oees-kraken.energy/v1/graphql/
Store bank details with the vendor.
Query Complexity: 1
Possible Errors:
- KT-CT-3820: Received both ledger ID and number.
- KT-CT-3821: Received neither ledger ID nor ledger number.
- KT-CT-3940: Invalid data.
- KT-CT-3956: Temporary error occurred.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can create payment instructions
Arguments
| Name | Description |
|---|---|
|
Store bank details with the vendor. |
Return fields
| Name | Description |
|---|---|
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
|
Mutation
mutation StoreDirectDebitPaymentMethodDetails($input: StoreDirectDebitPaymentMethodDetailsInput!) {
storeDirectDebitPaymentMethodDetails(input: $input) {
storedPaymentMethodDetailsReference
}
}
Variables
{
"input": StoreDirectDebitPaymentMethodDetailsInput
}
Response
{
"data": {
"storeDirectDebitPaymentMethodDetails": {
"storedPaymentMethodDetailsReference": "cup-high-low-movie-pattern"
}
}
}
storePaymentInstruction
Type: StorePaymentInstruction
URL: https://api.oees-kraken.energy/v1/graphql/
Store a new payment instruction created through the embedded process.
Query Complexity: 1
Possible Errors:
- KT-CT-3820: Received both ledger ID and number.
- KT-CT-3822: Unauthorized.
- KT-CT-3979: Invalid ledger.
- KT-CT-4177: Unauthorized.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can create payment instructions
Arguments
| Name | Description |
|---|---|
|
Input fields for storing a new payment instruction created through the embedded process. |
Return fields
| Name | Description |
|---|---|
|
The stored payment instruction. |
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation StorePaymentInstruction($input: StorePaymentInstructionInput!) {
storePaymentInstruction(input: $input) {
paymentInstruction {
...PaymentInstructionTypeFragment
}
}
}
Variables
{
"input": StorePaymentInstructionInput
}
Response
{
"data": {
"storePaymentInstruction": {
"paymentInstruction": PaymentInstructionType
}
}
}
submitCustomerFeedback
Type: SubmitCustomerFeedback
URL: https://api.oees-kraken.energy/v1/graphql/
Submit customer feedback.
Query Complexity: 1
Possible Errors:
- KT-CT-5511: The feedback_id should be provided for feedback source.
- KT-CT-5512: The feedback doesn't match the account.
- KT-CT-5514: Unable to submit feedback.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can submit customer feedback
Arguments
| Name | Description |
|---|---|
|
Return fields
| Name | Description |
|---|---|
|
|
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation SubmitCustomerFeedback($input: CustomerFeedbackInputType!) {
submitCustomerFeedback(input: $input) {
customerFeedback {
...CustomerFeedbackTypeFragment
}
}
}
Variables
{
"input": CustomerFeedbackInputType
}
Response
{
"data": {
"submitCustomerFeedback": {
"customerFeedback": CustomerFeedbackType
}
}
}
submitGasSelfReading
Type: SubmitGasSelfReading
URL: https://api.oees-kraken.energy/v1/graphql/
Submit a self-reading for a supply point.
Query Complexity: 1
Possible Errors:
- KT-ES-4508: Self-reading input is invalid.
- KT-ES-4509: Self-reading submission failed.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can access third party queries
Arguments
| Name | Description |
|---|---|
|
Input fields for submitting a gas self-reading. |
Return fields
| Name | Description |
|---|---|
|
The CUPS identifier for the supply point. |
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation SubmitGasSelfReading($input: GasSelfReadingSubmissionInput!) {
submitGasSelfReading(input: $input) {
cups
}
}
Variables
{
"input": GasSelfReadingSubmissionInput
}
Response
{
"data": {
"submitGasSelfReading": {
"cups": "school-rock-current-type-over"
}
}
}
submitRepaymentRequest
Type: SubmitRepaymentRequest
URL: https://api.oees-kraken.energy/v1/graphql/
Submit a repayment request.
Query Complexity: 1
Possible Errors:
- KT-CT-1132: Unauthorized.
- KT-CT-3820: Received both ledger ID and number.
- KT-CT-3821: Received neither ledger ID nor ledger number.
- KT-CT-3823: Unauthorized.
- KT-CT-3926: Unauthorized.
- KT-CT-3927: Invalid Amount.
- KT-CT-3928: Idempotency key used for another repayment request.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can create repayment request
Arguments
| Name | Description |
|---|---|
|
Input fields for requesting a repayment. |
Return fields
| Name | Description |
|---|---|
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
|
The newly created repayment request. |
Mutation
mutation SubmitRepaymentRequest($input: RequestRepaymentInputType!) {
submitRepaymentRequest(input: $input) {
repaymentRequest {
...RequestRepaymentOutputTypeFragment
}
}
}
Variables
{
"input": RequestRepaymentInputType
}
Response
{
"data": {
"submitRepaymentRequest": {
"repaymentRequest": RequestRepaymentOutputType
}
}
}
suspendControl
Type: SuspendDeviceControl
URL: https://api.oees-kraken.energy/v1/graphql/
Suspend control of the device.
Query Complexity: 2
Possible Errors:
- KT-CT-4301: Unable to find device for given account.
- KT-CT-4358: Unable to suspend device control.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Rate Limits
| Key | Steps |
|---|---|
User |
['300/h'] |
Deprecated
The 'suspendControl' field is deprecated.
Please use 'updateDeviceSmartControl' instead.
- Marked as deprecated on 2024-09-17.
- Scheduled for removal on or after 2025-12-11.
You can read more about this deprecation on:
https://announcements.kraken.tech/announcements/public/468/
Arguments
| Name | Description |
|---|---|
|
Return fields
| Name | Description |
|---|---|
|
|
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation SuspendControl($input: AccountNumberInput) {
suspendControl(input: $input) {
krakenflexDevice {
...KrakenFlexDeviceTypeFragment
}
}
}
Variables
{
"input": AccountNumberInput
}
Response
{
"data": {
"suspendControl": {
"krakenflexDevice": KrakenFlexDeviceType
}
}
}
switchAccountToVariablePaymentSchedule
Type: SwitchAccountToVariablePaymentSchedule
URL: https://api.oees-kraken.energy/v1/graphql/
Switch account to variable payment schedule. Current schedule type will be preserved.
Query Complexity: 1
Possible Errors:
- KT-CT-1111: Unauthorized.
- KT-CT-3921: Account not found.
- KT-CT-3922: Ledger not found for the account.
- KT-CT-3947: An unexpected error occurred.
- KT-CT-3984: Could not delete conflicting future payment schedule.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can manage payment schedules
Arguments
| Name | Description |
|---|---|
|
Input fields for switching to a variable payment schedule. |
Return fields
| Name | Description |
|---|---|
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
|
New payment schedule. |
Mutation
mutation SwitchAccountToVariablePaymentSchedule($input: SwitchAccountToVariablePaymentScheduleInput!) {
switchAccountToVariablePaymentSchedule(input: $input) {
schedule {
...PaymentScheduleTypeFragment
}
}
}
Variables
{
"input": SwitchAccountToVariablePaymentScheduleInput
}
Response
{
"data": {
"switchAccountToVariablePaymentSchedule": {
"schedule": PaymentScheduleType
}
}
}
terminateAgreement
Type: TerminateAgreement
URL: https://api.oees-kraken.energy/v1/graphql/
Terminate an agreement.
Query Complexity: 1
Possible Errors:
- KT-CT-1501: Agreement not found.
- KT-CT-1513: Unable to terminate agreement.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can query agreements AND Can update agreeements
Arguments
| Name | Description |
|---|---|
|
Input for terminating an agreement. |
Return fields
| Name | Description |
|---|---|
|
The created agreement. |
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation TerminateAgreement($input: TerminateAgreementInput!) {
terminateAgreement(input: $input) {
agreement {
...CommonAgreementTypeFragment
}
}
}
Variables
{
"input": TerminateAgreementInput
}
Response
{
"data": {
"terminateAgreement": {
"agreement": CommonAgreementType
}
}
}
terminateContract
Type: TerminateContractOutput!
URL: https://api.oees-kraken.energy/v1/graphql/
Terminate an existing contract.
Query Complexity: 1
Possible Errors:
- KT-CT-10003: Contract not found.
- KT-CT-10007: Unable to terminate contract.
- KT-CT-10008: The contract is currently undergoing an active journey.
- KT-CT-10013: Requested termination date is invalid.
- KT-CT-10022: Contract already terminated.
- KT-CT-10023: Contract is already revoked.
- KT-CT-10024: Contract already expired.
- KT-CT-10025: Contract has not started yet.
- KT-CT-10037: Contract notes feature is disabled.
- KT-CT-10038: Contract note reason not found.
- KT-CT-10039: At least one of the affected fields must be provided.
- KT-CT-10041: Contract is already rescinded.
- KT-CT-10044: Termination date must be after the contract start date.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Arguments
| Name | Description |
|---|---|
|
Return fields
| Name | Description |
|---|---|
|
The contract terminated. |
Mutation
mutation TerminateContract($input: TerminateContractInput!) {
terminateContract(input: $input) {
contract {
...ContractFragment
}
}
}
Variables
{
"input": TerminateContractInput
}
Response
{
"data": {
"terminateContract": {
"contract": Contract
}
}
}
terminateCreditTransferPermission
Type: TerminateCreditTransferPermission
URL: https://api.oees-kraken.energy/v1/graphql/
Terminate credit transfer permission.
Query Complexity: 1
Possible Errors:
- KT-CT-3822: Unauthorized.
- KT-CT-3825: Credit transfer permission not found.
- KT-CT-3827: The ledger is not valid.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can access customer queries
OR Can update user details
Arguments
| Name | Description |
|---|---|
|
Input fields for terminating a credit transfer permission. |
Return fields
| Name | Description |
|---|---|
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
|
Datetime when the credit transfer permission ends. |
Mutation
mutation TerminateCreditTransferPermission($input: TerminateCreditTransferPermissionInput!) {
terminateCreditTransferPermission(input: $input) {
validTo
}
}
Variables
{
"input": TerminateCreditTransferPermissionInput
}
Response
{
"data": {
"terminateCreditTransferPermission": {
"validTo": "1988-01-10T01:35:08.734012+00:00"
}
}
}
terminateSolarWalletRelationship
Type: TerminateSolarWalletRelationship
URL: https://api.oees-kraken.energy/v1/graphql/
Terminate solar wallet sharing credit between a solar wallet credit ledger and spain electricity ledger.
Query Complexity: 1
Possible Errors:
- KT-CT-4123: Unauthorized.
- KT-ES-4116: Account not found.
- KT-ES-7807: The request to terminate a solar wallet sharing credit between ledgers was incomplete or malformed.
- KT-ES-7808: Couldn't stop sharing credit between ledgers because credit sharing ledger doesn't exist.
- KT-ES-7809: There is no ledger of this type on this account..
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can access customer queries
OR Can update user details
Deprecated
The 'terminateSolarWalletRelationship' field is deprecated.
Use 'terminateCreditTransferPermission' mutation instead.
- Marked as deprecated on 2025-02-10.
- Scheduled for removal on or after 2025-08-10.
Arguments
| Name | Description |
|---|---|
|
Input fields for terminaring solar wallet sharing credit between ledgers. |
Return fields
| Name | Description |
|---|---|
|
Credit sharing ledgers id. |
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
|
Source account number of the solar wallet ledger. |
|
A flag that ensures changes have been made. |
|
Target account number of the electricity ledger. |
|
Target account given name. |
|
Datetime when the solar wallet credit sharing ledger ends. |
Mutation
mutation TerminateSolarWalletRelationship($input: TerminateSolarWalletRelationshipType!) {
terminateSolarWalletRelationship(input: $input) {
creditSharingLedgerId
sourceAccountNumber
success
targetAccountNumber
targetGivenName
validTo
}
}
Variables
{
"input": TerminateSolarWalletRelationshipType
}
Response
{
"data": {
"terminateSolarWalletRelationship": {
"creditSharingLedgerId": 79378817,
"sourceAccountNumber": "A-25BF98B9",
"success": true,
"targetAccountNumber": "A-8C364F7B",
"targetGivenName": "Robert",
"validTo": "2012-01-06T22:51:00.113370+00:00"
}
}
}
thirdPartyCompleteDeviceRegistration
Type: ThirdPartyCompleteDeviceRegistration
URL: https://api.oees-kraken.energy/v1/graphql/
Completes the registration of a device if the contract is eligible and the device registration valid.
Query Complexity: 1
Possible Errors:
- KT-CT-4321: Serializer validation error.
- KT-CT-4322: Unable to complete registration error.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can complete device registration
Deprecated
The 'thirdPartyCompleteDeviceRegistration' field is deprecated.
This functionality will no longer be available.
- Marked as deprecated on 2026-04-03.
- Scheduled for removal on or after 2026-10-03.
You can read more about this deprecation on:
https://announcements.kraken.tech/announcements/public/1020/
Arguments
| Name | Description |
|---|---|
|
Return fields
| Name | Description |
|---|---|
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
|
The response showing account validity and optional tariff information. |
Mutation
mutation ThirdPartyCompleteDeviceRegistration($input: CompleteDeviceRegistrationInput) {
thirdPartyCompleteDeviceRegistration(input: $input) {
success {
...ThirdPartyCompleteDeviceRegistrationTypeFragment
}
}
}
Variables
{
"input": CompleteDeviceRegistrationInput
}
Response
{
"data": {
"thirdPartyCompleteDeviceRegistration": {
"success": ThirdPartyCompleteDeviceRegistrationType
}
}
}
transferLeadOpportunities
Type: TransferLeadOpportunities
URL: https://api.oees-kraken.energy/v1/graphql/
Transfer opportunities across leads.
Query Complexity: 1
Possible Errors:
- KT-CT-8907: Lead not found.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can update leads
Arguments
| Name | Description |
|---|---|
|
Input for transfer opportunities across leads. |
Return fields
| Name | Description |
|---|---|
|
Number of opportunities transferred. |
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation TransferLeadOpportunities($input: TransferLeadOpportunitiesInput!) {
transferLeadOpportunities(input: $input) {
opportunitiesTransferred
}
}
Variables
{
"input": TransferLeadOpportunitiesInput
}
Response
{
"data": {
"transferLeadOpportunities": {
"opportunitiesTransferred": 46
}
}
}
transferLedgerBalance
Type: TransferLedgerBalance
URL: https://api.oees-kraken.energy/v1/graphql/
Transfer value from a source ledger to a destination ledger. This decreases the balance of the source ledger by the given amount and increases the balance of the destination ledger by the same amount. If the amount is negative, the effect is reversed (the source ledger's balance increases and the destination ledger's balance decreases).
This field requires the Authorization header to be set.
Query Complexity: 1
Possible Errors:
- KT-CT-3820: Received both ledger ID and number.
- KT-CT-3821: Received neither ledger ID nor ledger number.
- KT-CT-3822: Unauthorized.
- KT-CT-3823: Unauthorized.
- KT-CT-9701: Balance transfer to same account is not allowed.
- KT-CT-9702: Balance transfer is not support for debit account with Zero balance.
- KT-CT-9703: Balance transfer is not supported for debit account.
- KT-CT-9704: Balance transfer amount should be non-zero.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can perform balance transfers AND Can perform payments operations
Arguments
| Name | Description |
|---|---|
|
Input fields for processing an account balance transfer. |
Return fields
| Name | Description |
|---|---|
|
Balance transfer details. |
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation TransferLedgerBalance($input: TransferLedgerBalanceInputType!) {
transferLedgerBalance(input: $input) {
balanceTransfer {
...AccountBalanceTransferTypeFragment
}
}
}
Variables
{
"input": TransferLedgerBalanceInputType
}
Response
{
"data": {
"transferLedgerBalance": {
"balanceTransfer": AccountBalanceTransferType
}
}
}
transferLoyaltyPointsBetweenUsers
Type: TransferLoyaltyPointsBetweenUsers
URL: https://api.oees-kraken.energy/v1/graphql/
Transfer Loyalty Point from one account user to another.
Query Complexity: 1
Possible Errors:
- KT-CT-1111: Unauthorized.
- KT-CT-9204: Negative or zero points set.
- KT-CT-9205: Insufficient Loyalty Points.
- KT-CT-9208: Invalid posted at datetime.
- KT-CT-9209: Negative Loyalty Points balance.
- KT-CT-9210: Unhandled Loyalty Points exception.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can transfer loyalty points
Arguments
| Name | Description |
|---|---|
|
Input fields for transferring Loyalty Points. |
Return fields
| Name | Description |
|---|---|
|
The number of loyalty points that were transferred. |
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation TransferLoyaltyPointsBetweenUsers($input: TransferLoyaltyPointsBetweenUsersInput!) {
transferLoyaltyPointsBetweenUsers(input: $input) {
pointsTransferred
}
}
Variables
{
"input": TransferLoyaltyPointsBetweenUsersInput
}
Response
{
"data": {
"transferLoyaltyPointsBetweenUsers": {
"pointsTransferred": 46
}
}
}
triggerBoostCharge
Type: PerformBoostCharge
URL: https://api.oees-kraken.energy/v1/graphql/
Initiate a boost charge for an electric vehicle (EV).
This will start charging the EV and will not stop until the battery reaches 100% charged.
If it is not possible to initiate a boost charge, a KT-CT-4357 error will be returned.
It may have a boostChargeRefusalReasons extension which lists the reasons why the boost
charge was refused. Possible reasons include:
BC_DEVICE_NOT_YET_LIVE(device is not yet live)BC_DEVICE_RETIRED(device is retired)BC_DEVICE_SUSPENDED(device is suspended)BC_DEVICE_DISCONNECTED(device is disconnected)BC_DEVICE_NOT_AT_HOME(device is not at home)BC_BOOST_CHARGE_IN_PROGRESS(boost charge already in progress)BC_DEVICE_FULLY_CHARGED(device is already fully charged)
Query Complexity: 5
Possible Errors:
- KT-CT-1111: Unauthorized.
- KT-CT-4356: A boost charge cannot currently be performed.
- KT-CT-4357: Unable to trigger boost charge.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Rate Limits
| Key | Steps |
|---|---|
User |
['300/h'] |
Deprecated
The 'triggerBoostCharge' field is deprecated.
Please use 'updateBoostCharge' instead.
- Marked as deprecated on 2025-05-12.
- Scheduled for removal on or after 2026-01-26.
You can read more about this deprecation on:
https://announcements.kraken.tech/announcements/public/607/
Arguments
| Name | Description |
|---|---|
|
Return fields
| Name | Description |
|---|---|
|
|
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation TriggerBoostCharge($input: AccountNumberInput) {
triggerBoostCharge(input: $input) {
krakenflexDevice {
...KrakenFlexDeviceTypeFragment
}
}
}
Variables
{
"input": AccountNumberInput
}
Response
{
"data": {
"triggerBoostCharge": {
"krakenflexDevice": KrakenFlexDeviceType
}
}
}
triggerCollectionProcessMessage
Type: TriggerCollectionProcessMessage
URL: https://api.oees-kraken.energy/v1/graphql/
Trigger a collection process message with safety checks.
Query Complexity: 1
Possible Errors:
- KT-CT-1111: Unauthorized.
- KT-CT-11201: No Collection Process Records associated with id.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can start collection process
Arguments
| Name | Description |
|---|---|
|
Input for sending a collection process communication. |
Return fields
| Name | Description |
|---|---|
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
|
Details of the triggered communication. |
Mutation
mutation TriggerCollectionProcessMessage($input: TriggerCollectionProcessMessageInput!) {
triggerCollectionProcessMessage(input: $input) {
triggerResult {
...TriggerCollectionProcessMessageOutputFragment
}
}
}
Variables
{
"input": TriggerCollectionProcessMessageInput
}
Response
{
"data": {
"triggerCollectionProcessMessage": {
"triggerResult": TriggerCollectionProcessMessageOutput
}
}
}
triggerPostUploadOperations
Type: TriggerPostUploadOperations!
URL: https://api.oees-kraken.energy/v1/graphql/
Query Complexity: 1
Possible Errors:
- KT-CT-8710: Invalid data.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Arguments
| Name | Description |
|---|---|
|
Return fields
| Name | Description |
|---|---|
|
|
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation TriggerPostUploadOperations($s3Key: String!) {
triggerPostUploadOperations(s3Key: $s3Key) {
operationsTriggered
}
}
Variables
{
"s3Key": "last-player-everything-lawyer-child"
}
Response
{
"data": {
"triggerPostUploadOperations": {
"operationsTriggered": true
}
}
}
triggerTestCharge
Type: PerformTestCharge
URL: https://api.oees-kraken.energy/v1/graphql/
Initiate a test charge of an electric vehicle (EV).
This is to ensure that the EV or EVSE (charge point) can be controlled remotely and successfully charged for a short period.
If it is not possible to initiate a test charge, a KT-CT-4355 error will be returned. It may have a
testChargeRefusalReasons extension which lists the reasons why the test charge was refused. Possible reasons
include:
TC_DEVICE_LIVE(device is already live)TC_DEVICE_ONBOARDING_IN_PROGRESS(test dispatch already in progress)TC_DEVICE_RETIRED(device is retired)TC_DEVICE_SUSPENDED(device is suspended)TC_DEVICE_DISCONNECTED(device is disconnected)TC_DEVICE_ALREADY_CHARGING(device is already charging)TC_DEVICE_AWAY_FROM_HOME(device is away from home)TC_DEVICE_NO_LOCATION_CONFIGURED(device has no location configured)TC_DEVICE_LOCATION_UNABLE_TO_IDENTIFY(unable to identify device location)TC_DEVICE_LOCATION_MISSING(device location is missing)
Query Complexity: 4
Possible Errors:
- KT-CT-1111: Unauthorized.
- KT-CT-4355: Unable to trigger charge.
- KT-CT-4362: Device not ready for test charge.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can access customer queries
OR Can manage ev
Rate Limits
| Key | Steps |
|---|---|
User |
['300/h'] |
Arguments
| Name | Description |
|---|---|
|
Return fields
| Name | Description |
|---|---|
|
|
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation TriggerTestCharge($input: AccountNumberInput) {
triggerTestCharge(input: $input) {
krakenflexDevice {
...KrakenFlexDeviceTypeFragment
}
}
}
Variables
{
"input": AccountNumberInput
}
Response
{
"data": {
"triggerTestCharge": {
"krakenflexDevice": KrakenFlexDeviceType
}
}
}
unenrollAccountFromLoyaltyProgram
Type: UnenrollAccountFromLoyaltyProgram
URL: https://api.oees-kraken.energy/v1/graphql/
Unenroll users account from Loyalty program.
Query Complexity: 1
Possible Errors:
- KT-CT-1111: Unauthorized.
- KT-CT-9220: Ineligible loyalty points unenrollment.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can unenroll user from loyalty program
Arguments
| Name | Description |
|---|---|
|
The account number to unenroll from the loyalty program. |
Return fields
| Name | Description |
|---|---|
|
Outcome of the loyalty points campaign enrollment. |
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation UnenrollAccountFromLoyaltyProgram($input: UnenrollAccountFromLoyaltyProgramInput!) {
unenrollAccountFromLoyaltyProgram(input: $input) {
outcome {
...UnenrollAccountFromLoyaltyProgramOutcomeFragment
}
}
}
Variables
{
"input": UnenrollAccountFromLoyaltyProgramInput
}
Response
{
"data": {
"unenrollAccountFromLoyaltyProgram": {
"outcome": UnenrollAccountFromLoyaltyProgramOutcome
}
}
}
unlinkUserFromLine
Type: UnlinkUserFromLineResponse!
URL: https://api.oees-kraken.energy/v1/graphql/
Unlink an account user and line together.
Query Complexity: 1
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Return fields
| Name | Description |
|---|
Mutation
mutation UnlinkUserFromLine {
unlinkUserFromLine {
... on LineCommonError {
...LineCommonErrorFragment
}
... on LineUnlinkedResponse {
...LineUnlinkedResponseFragment
}
... on LinkTokenNotFound {
...LinkTokenNotFoundFragment
}
}
}
Response
{
"data": {
"unlinkUserFromLine": LineCommonError
}
}
updateAccountBillingAddress
Type: UpdateAccountBillingAddress
URL: https://api.oees-kraken.energy/v1/graphql/
Update the account billing address.
Query Complexity: 1
Possible Errors:
- KT-CT-4145: Invalid address.
- KT-CT-7123: Unauthorized.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can access customer queries
OR Can update account details
Arguments
| Name | Description |
|---|---|
|
Input variables needed for updating an account billing address. |
Return fields
| Name | Description |
|---|---|
|
The updated account. |
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation UpdateAccountBillingAddress($input: AccountBillingAddressInput!) {
updateAccountBillingAddress(input: $input) {
account {
...AccountTypeFragment
}
}
}
Variables
{
"input": AccountBillingAddressInput
}
Response
{
"data": {
"updateAccountBillingAddress": {
"account": AccountType
}
}
}
updateAccountBillingEmail
Type: UpdateAccountBillingEmail
URL: https://api.oees-kraken.energy/v1/graphql/
Update account billing email.
Query Complexity: 1
Possible Errors:
- KT-CT-4122: Invalid email.
- KT-CT-4123: Unauthorized.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can access customer queries
OR Can update account details
Arguments
| Name | Description |
|---|---|
|
Input fields for updating billing email for an account. |
Return fields
| Name | Description |
|---|---|
|
Account that was changed. |
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation UpdateAccountBillingEmail($input: UpdateAccountBillingEmailInput!) {
updateAccountBillingEmail(input: $input) {
account {
...AccountInterfaceFragment
}
}
}
Variables
{
"input": UpdateAccountBillingEmailInput
}
Response
{
"data": {
"updateAccountBillingEmail": {
"account": AccountInterface
}
}
}
updateAccountConsents
Type: UpdateAccountConsents
URL: https://api.oees-kraken.energy/v1/graphql/
Update the consents of an account
Query Complexity: 1
Possible Errors:
- KT-CT-9014: Duplicate consent.
- KT-CT-9016: Consent management not enabled.
- KT-CT-9017: Consent type not found.
- KT-CT-9018: Account not found.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can access customer queries
OR Can edit customer marketing preference
Arguments
| Name | Description |
|---|---|
|
The account number to update consents for. |
|
Consents to update for account. |
Return fields
| Name | Description |
|---|---|
|
Consents linked to this account. |
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation UpdateAccountConsents(
$accountNumber: String!,
$consents: [ConsentInput]!
) {
updateAccountConsents(
accountNumber: $accountNumber,
consents: $consents
) {
consents {
...ConsentTypeFragment
}
}
}
Variables
{
"accountNumber": "A-DD02FD30",
"consents": ConsentInput
}
Response
{
"data": {
"updateAccountConsents": {
"consents": [ConsentType]
}
}
}
updateAccountReference
Type: UpdateAccountReference
URL: https://api.oees-kraken.energy/v1/graphql/
Update an account reference.
Query Complexity: 1
Possible Errors:
- KT-CT-4123: Unauthorized.
- KT-CT-8310: Invalid data.
- KT-CT-8311: Invalid data.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can access customer queries
OR Can update account reference
Arguments
| Name | Description |
|---|---|
|
Input fields for updating an account reference. |
Return fields
| Name | Description |
|---|---|
|
|
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation UpdateAccountReference($input: AccountReferenceInput!) {
updateAccountReference(input: $input) {
accountReference {
...AccountReferenceTypeFragment
}
}
}
Variables
{
"input": AccountReferenceInput
}
Response
{
"data": {
"updateAccountReference": {
"accountReference": AccountReferenceType
}
}
}
updateAccountReferralStatus
Type: UpdateAccountReferralStatus
URL: https://api.oees-kraken.energy/v1/graphql/
Update the status of an account referral.
Query Complexity: 1
Possible Errors:
- KT-CT-6712: Invalid reference.
- KT-CT-6732: Invalid referral status transition.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can payout referrals
Arguments
| Name | Description |
|---|---|
|
Input fields for updating the status of an account referral. |
Return fields
| Name | Description |
|---|---|
|
The updated account referral instance. |
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation UpdateAccountReferralStatus($input: UpdateAccountReferralStatusInput!) {
updateAccountReferralStatus(input: $input) {
accountReferral {
...ReferralTypeFragment
}
}
}
Variables
{
"input": UpdateAccountReferralStatusInput
}
Response
{
"data": {
"updateAccountReferralStatus": {
"accountReferral": ReferralType
}
}
}
updateAccountUser
Type: UpdateAccountUser
URL: https://api.oees-kraken.energy/v1/graphql/
Update an account.
Query Complexity: 1
Possible Errors:
- KT-CT-5414: Invalid data.
- KT-ES-5410: Invalid data.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can access customer queries
OR Can update user details
Arguments
| Name | Description |
|---|---|
|
Input fields for updating user. |
Return fields
| Name | Description |
|---|---|
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
|
Updated user. |
Mutation
mutation UpdateAccountUser($input: UpdateAccountUserInput) {
updateAccountUser(input: $input) {
viewer {
...EspAccountUserTypeFragment
}
}
}
Variables
{
"input": UpdateAccountUserInput
}
Response
{
"data": {
"updateAccountUser": {
"viewer": EspAccountUserType
}
}
}
updateAccountUserConsents
Type: UpdateAccountUserConsents
URL: https://api.oees-kraken.energy/v1/graphql/
Update the consents of an account user (the authenticated user)
Query Complexity: 1
Possible Errors:
- KT-CT-1111: Unauthorized.
- KT-CT-1605: Invalid input.
- KT-CT-5421: Account user not found.
- KT-CT-5422: Invalid data.
- KT-CT-9014: Duplicate consent.
- KT-CT-9016: Consent management not enabled.
- KT-CT-9017: Consent type not found.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can edit customer marketing preference
Arguments
| Name | Description |
|---|---|
|
Consents to update for account user. |
|
User number of the account user to update consents for. Only needed if the viewer is an organization. |
Return fields
| Name | Description |
|---|---|
|
All the consents for an account user. |
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation UpdateAccountUserConsents(
$consents: [ConsentTypeInput],
$userNumber: String
) {
updateAccountUserConsents(
consents: $consents,
userNumber: $userNumber
) {
accountUserConsents {
...AccountUserConsentsFragment
}
}
}
Variables
{
"consents": ConsentTypeInput,
"userNumber": "left-decide-value-available-decade"
}
Response
{
"data": {
"updateAccountUserConsents": {
"accountUserConsents": AccountUserConsents
}
}
}
updateActivePurchase
Type: UpdateActivePurchase
URL: https://api.oees-kraken.energy/v1/graphql/
Update an active purchase.
Query Complexity: 1
Possible Errors:
- KT-CT-8206: Invalid data.
- KT-CT-8225: Received an invalid purchaseId.
- KT-CT-8226: The provided purchase is not active.
- KT-CT-8227: Available grants could not be applied.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can manage goods purchases
Arguments
| Name | Description |
|---|---|
|
Input fields for updating an active purchase. |
Return fields
| Name | Description |
|---|---|
|
Goods purchase updated. |
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation UpdateActivePurchase($input: UpdatePurchaseInput!) {
updateActivePurchase(input: $input) {
goodsPurchase {
...GoodsPurchaseFragment
}
}
}
Variables
{
"input": UpdatePurchaseInput
}
Response
{
"data": {
"updateActivePurchase": {
"goodsPurchase": GoodsPurchase
}
}
}
updateAffiliateLink
Type: UpdateAffiliateLink!
URL: https://api.oees-kraken.energy/v1/graphql/
Update an existing affiliate link.
Query Complexity: 1
Possible Errors:
- KT-CT-7711: Invalid data.
- KT-CT-7713: Invalid data.
- KT-CT-7714: Invalid data.
- KT-CT-7715: Invalid data.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Arguments
| Name | Description |
|---|---|
|
Input fields for Updating an existing affiliate link. |
Return fields
| Name | Description |
|---|---|
|
The updated affiliate link. |
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation UpdateAffiliateLink($input: UpdateAffiliateLinkInputType!) {
updateAffiliateLink(input: $input) {
affiliateLink {
...AffiliateLinkTypeFragment
}
}
}
Variables
{
"input": UpdateAffiliateLinkInputType
}
Response
{
"data": {
"updateAffiliateLink": {
"affiliateLink": AffiliateLinkType
}
}
}
updateAffiliateOrganisation
Type: UpdateAffiliateOrganisation!
URL: https://api.oees-kraken.energy/v1/graphql/
Update an existing affiliate organisation.
Query Complexity: 1
Possible Errors:
- KT-CT-7717: Invalid data.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Arguments
| Name | Description |
|---|---|
|
Input fields for Updating an existing affiliate organisation. |
Return fields
| Name | Description |
|---|---|
|
The updated affiliate organisation. |
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation UpdateAffiliateOrganisation($input: UpdateAffiliateOrganisationInputType!) {
updateAffiliateOrganisation(input: $input) {
affiliateOrganisation {
...AffiliateOrganisationTypeFragment
}
}
}
Variables
{
"input": UpdateAffiliateOrganisationInputType
}
Response
{
"data": {
"updateAffiliateOrganisation": {
"affiliateOrganisation": AffiliateOrganisationType
}
}
}
updateAgentAuxiliaryStatus
Type: UpdateAgentAuxiliaryStatus
URL: https://api.oees-kraken.energy/v1/graphql/
Query Complexity: 1
Possible Errors:
- KT-CT-7813: Support user not found with that username.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can manage calls
Arguments
| Name | Description |
|---|---|
|
The input data for this mutation. |
Return fields
| Name | Description |
|---|---|
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
|
Whether the auxiliary status was successfully updated. |
Mutation
mutation UpdateAgentAuxiliaryStatus($input: UpdateAgentAuxiliaryStatusInput!) {
updateAgentAuxiliaryStatus(input: $input) {
success
}
}
Variables
{
"input": UpdateAgentAuxiliaryStatusInput
}
Response
{
"data": {
"updateAgentAuxiliaryStatus": {
"success": true
}
}
}
updateAgreementPeriod
Type: UpdateAgreementPeriod
URL: https://api.oees-kraken.energy/v1/graphql/
Update the period of an agreement.
Query Complexity: 1
Possible Errors:
- KT-CT-1501: Agreement not found.
- KT-CT-1503: Agreement valid_to date must be later than valid_from date.
- KT-CT-1504: Account does not match with the agreement.
- KT-CT-1505: Unable to edit agreement.
- KT-CT-1506: Agreement period is not within the supply and property period.
- KT-CT-4178: No account found with given account number.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can update agreeements
Arguments
| Name | Description |
|---|---|
|
Input for updating the agreement period. |
Return fields
| Name | Description |
|---|---|
|
Account responsible for the update agreement. |
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation UpdateAgreementPeriod($input: UpdateAgreementPeriodInput!) {
updateAgreementPeriod(input: $input) {
account {
...AccountTypeFragment
}
}
}
Variables
{
"input": UpdateAgreementPeriodInput
}
Response
{
"data": {
"updateAgreementPeriod": {
"account": AccountType
}
}
}
updateAgreementRescission
Type: UpdateAgreementRescission
URL: https://api.oees-kraken.energy/v1/graphql/
Update an agreement rescission.
Query Complexity: 1
Possible Errors:
- KT-CT-14101: Agreement rescission not found.
- KT-CT-14102: Cannot update completed agreement rescission.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can query agreement rescissions AND Can update agreement rescissions
Arguments
| Name | Description |
|---|---|
|
Input fields for updating an agreement rescission. |
Return fields
| Name | Description |
|---|---|
|
The updated agreement rescission instance. |
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation UpdateAgreementRescission($input: UpdateAgreementRescissionInput!) {
updateAgreementRescission(input: $input) {
agreementRescission {
...AgreementRescissionTypeFragment
}
}
}
Variables
{
"input": UpdateAgreementRescissionInput
}
Response
{
"data": {
"updateAgreementRescission": {
"agreementRescission": AgreementRescissionType
}
}
}
updateAgreementRollover
Type: UpdateAgreementRollover
URL: https://api.oees-kraken.energy/v1/graphql/
Update an agreement rollover.
Query Complexity: 1
Possible Errors:
- KT-CT-13705: Agreement rollover not found.
- KT-CT-13706: Agreement rollover has an invalid status for this operation.
- KT-CT-13707: Agreement rollover has an invalid type for this operation.
- KT-CT-4910: No product exists with the given input.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can query agreement rollovers AND Can update agreement rollovers
Arguments
| Name | Description |
|---|---|
|
Input for updating an agreement rollover. |
Return fields
| Name | Description |
|---|---|
|
The update agreement rollover. |
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation UpdateAgreementRollover($input: UpdateAgreementRolloverInput!) {
updateAgreementRollover(input: $input) {
agreementRollover {
...AgreementRolloverTypeFragment
}
}
}
Variables
{
"input": UpdateAgreementRolloverInput
}
Response
{
"data": {
"updateAgreementRollover": {
"agreementRollover": AgreementRolloverType
}
}
}
updateApiException
Type: UpdateAPIException
URL: https://api.oees-kraken.energy/v1/graphql/
Mutation to update an existing APIException instance.
Query Complexity: 1
Possible Errors:
- KT-CT-7801: Received an invalid operationsTeamId.
- KT-CT-7803: Received an invalid apiExceptionId.
- KT-CT-7804: No fields present in the input for updating the APIException.
- KT-CT-7805: Too many tags associated with this API Exception.
- KT-CT-7806: Cannot create duplicate tags for the same API exception.
- KT-CT-7809: Update results in no changes to API Exception.
- KT-CT-7811: Received an invalid assignedUserId.
- KT-CT-7812: Support user is inactive.
- KT-CT-7814: Received an invalid accountNumber.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can update api exceptions
Arguments
| Name | Description |
|---|---|
|
Input fields for updating an API exception. |
Return fields
| Name | Description |
|---|---|
|
The updated APIException. |
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation UpdateApiException($input: UpdateAPIExceptionInput!) {
updateApiException(input: $input) {
apiException {
...APIExceptionTypeFragment
}
}
}
Variables
{
"input": UpdateAPIExceptionInput
}
Response
{
"data": {
"updateApiException": {
"apiException": APIExceptionType
}
}
}
updateApiExceptionNote
Type: UpdateAPIExceptionNote
URL: https://api.oees-kraken.energy/v1/graphql/
Mutation to update an existing APIExceptionNote instance.
Query Complexity: 1
Possible Errors:
- KT-CT-7807: Received an invalid apiExceptionNoteId.
- KT-CT-7808: Unauthorized.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can update api exception notes
Arguments
| Name | Description |
|---|---|
|
Input fields for creating an API exception note. |
Return fields
| Name | Description |
|---|---|
|
The updates APIExceptionNote. |
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation UpdateApiExceptionNote($input: UpdateAPIExceptionNoteInput!) {
updateApiExceptionNote(input: $input) {
apiException {
...APIExceptionTypeFragment
}
}
}
Variables
{
"input": UpdateAPIExceptionNoteInput
}
Response
{
"data": {
"updateApiExceptionNote": {
"apiException": APIExceptionType
}
}
}
updateAutoTopUpAmount
Type: UpdateAutoTopUpAmount
URL: https://api.oees-kraken.energy/v1/graphql/
Change the auto top up amount for the payment schedule.
Query Complexity: 1
Possible Errors:
- KT-CT-3815: No active payment schedule found for this account.
- KT-CT-3820: Received both ledger ID and number.
- KT-CT-3821: Received neither ledger ID nor ledger number.
- KT-CT-3822: Unauthorized.
- KT-CT-3941: Invalid data.
- KT-CT-3942: An unexpected error occurred.
- KT-CT-3947: An unexpected error occurred.
- KT-CT-3953: The payment schedule is not a balance triggered schedule.
- KT-CT-4123: Unauthorized.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can access customer queries
Arguments
| Name | Description |
|---|---|
|
Input fields for updating the auto-top-up amount for a schedule. |
Return fields
| Name | Description |
|---|---|
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
|
The new schedule created. |
Mutation
mutation UpdateAutoTopUpAmount($input: UpdateAutoTopUpAmountInput!) {
updateAutoTopUpAmount(input: $input) {
schedule {
...PaymentScheduleTypeFragment
}
}
}
Variables
{
"input": UpdateAutoTopUpAmountInput
}
Response
{
"data": {
"updateAutoTopUpAmount": {
"schedule": PaymentScheduleType
}
}
}
updateBillingAddress
Type: UpdateBillingAddress
URL: https://api.oees-kraken.energy/v1/graphql/
Updates billing address details.
Query Complexity: 1
Possible Errors:
- KT-CT-4123: Unauthorized.
- KT-ES-4118: Invalid data.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can access customer queries
OR Can update user details
Arguments
| Name | Description |
|---|---|
|
Return fields
| Name | Description |
|---|---|
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
|
A flag that ensures changes have been made. |
Mutation
mutation UpdateBillingAddress($input: UpdateAccountBillingAddressInput) {
updateBillingAddress(input: $input) {
success
}
}
Variables
{
"input": UpdateAccountBillingAddressInput
}
Response
{
"data": {
"updateBillingAddress": {
"success": true
}
}
}
updateBillingDetails
Type: UpdateBillingDetails
URL: https://api.oees-kraken.energy/v1/graphql/
Updates billing details.
Query Complexity: 1
Possible Errors:
- KT-ES-1130: Unauthorized.
- KT-ES-4119: Invalid data.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can access customer queries
OR Can update user details
Arguments
| Name | Description |
|---|---|
|
Return fields
| Name | Description |
|---|---|
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
|
A flag that ensures changes have been made. |
Mutation
mutation UpdateBillingDetails($input: UpdateAccountBillingDetailsInput) {
updateBillingDetails(input: $input) {
success
}
}
Variables
{
"input": UpdateAccountBillingDetailsInput
}
Response
{
"data": {
"updateBillingDetails": {
"success": true
}
}
}
updateBoostCharge
Type: SmartFlexDeviceInterface
URL: https://api.oees-kraken.energy/v1/graphql/
Update the boost charge for a specific device.
If it is not possible to initiate a boost charge, a KT-CT-4357 error will be returned.
It may have a boostChargeRefusalReasons extension which lists the reasons why the boost
charge was refused. Possible reasons include:
BC_DEVICE_NOT_YET_LIVE(device is not yet live)BC_DEVICE_RETIRED(device is retired)BC_DEVICE_SUSPENDED(device is suspended)BC_DEVICE_DISCONNECTED(device is disconnected)BC_DEVICE_NOT_AT_HOME(device is not at home)BC_BOOST_CHARGE_IN_PROGRESS(boost charge already in progress)BC_DEVICE_FULLY_CHARGED(device is already fully charged)
Query Complexity: 5
Possible Errors:
- KT-CT-1111: Unauthorized.
- KT-CT-4354: Unable to cancel boost charge.
- KT-CT-4356: A boost charge cannot currently be performed.
- KT-CT-4357: Unable to trigger boost charge.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Rate Limits
| Key | Steps |
|---|---|
User |
['300/h'] |
Arguments
| Name | Description |
|---|---|
|
Return fields
| Name | Description |
|---|---|
|
Active alert message(s) for a device, showing the latest first. |
|
The type of device. |
|
A UUID that identifies this device registration. Re-registering this device will result in a different ID. |
|
The third-party integration device ID. |
|
The user-friendly name for the device. |
|
The current onboarding wizard for a device. |
|
The device's preference details. |
|
The preference setting for this device. |
|
The id of the property linked to the device. |
|
The third-party that enables control of this device. |
|
The re-authentication state of this device, if applicable. |
|
Information about the current status of this device. |
Mutation
mutation UpdateBoostCharge($input: UpdateBoostChargeInput) {
updateBoostCharge(input: $input) {
alerts {
...SmartFlexDeviceAlertInterfaceFragment
}
deviceType
id
integrationDeviceId
name
onboardingWizard {
...SmartFlexOnboardingWizardFragment
}
preferences {
...SmartFlexDevicePreferencesInterfaceFragment
}
preferenceSetting {
...FlexDevicePreferenceSettingInterfaceFragment
}
propertyId
provider
reAuthenticationState {
...DeviceReAuthenticationInterfaceFragment
}
status {
...SmartFlexDeviceStatusInterfaceFragment
}
}
}
Variables
{
"input": UpdateBoostChargeInput
}
Response
{
"data": {
"updateBoostCharge": {
"alerts": SmartFlexDeviceAlertInterface,
"deviceType": "BATTERIES",
"id": "41813575",
"integrationDeviceId": "96424091",
"name": "around-sometimes-effort-reality-experience",
"onboardingWizard": SmartFlexOnboardingWizard,
"preferences": SmartFlexDevicePreferencesInterface,
"preferenceSetting": FlexDevicePreferenceSettingInterface,
"propertyId": "16931046",
"provider": "BYD",
"reAuthenticationState": DeviceReAuthenticationInterface,
"status": SmartFlexDeviceStatusInterface
}
}
}
updateCampaignAccountExpiryDate
Type: UpdateCampaignAccountExpiryDate
URL: https://api.oees-kraken.energy/v1/graphql/
Query Complexity: 1
Possible Errors:
- KT-CT-1111: Unauthorized.
- KT-CT-4123: Unauthorized.
- KT-CT-7428: Failed to update campaign account.
- KT-CT-7429: No active campaign account found for the given account and campaign.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can update campaign account
Arguments
| Name | Description |
|---|---|
|
Input variables needed for updating a campaign account expiry date. |
Return fields
| Name | Description |
|---|---|
|
The campaign account with the updated expiry date. |
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation UpdateCampaignAccountExpiryDate($input: UpdateCampaignAccountExpiryDateInput!) {
updateCampaignAccountExpiryDate(input: $input) {
campaignAccount {
...AccountCampaignTypeFragment
}
}
}
Variables
{
"input": UpdateCampaignAccountExpiryDateInput
}
Response
{
"data": {
"updateCampaignAccountExpiryDate": {
"campaignAccount": AccountCampaignType
}
}
}
updateCollectionProcessRecordLatestStep
Type: UpdateCollectionProcessRecordLatestStep
URL: https://api.oees-kraken.energy/v1/graphql/
Update the latest step of a Collection Process Record.
Query Complexity: 1
Possible Errors:
- KT-CT-1111: Unauthorized.
- KT-CT-11201: No Collection Process Records associated with id.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can update collection process record to pause
Arguments
| Name | Description |
|---|---|
|
Input variables needed for updating the latest step. |
Return fields
| Name | Description |
|---|---|
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
|
The updated collection process record. |
Mutation
mutation UpdateCollectionProcessRecordLatestStep($input: UpdateCollectionProcessRecordLatestStepInputType!) {
updateCollectionProcessRecordLatestStep(input: $input) {
updatedCollectionProcessRecord {
...UpdateCollectionProcessRecordLatestStepOutputTypeFragment
}
}
}
Variables
{
"input": UpdateCollectionProcessRecordLatestStepInputType
}
Response
{
"data": {
"updateCollectionProcessRecordLatestStep": {
"updatedCollectionProcessRecord": UpdateCollectionProcessRecordLatestStepOutputType
}
}
}
updateCollectionProcessRecordToActive
Type: UpdateCollectionProcessRecordToActive
URL: https://api.oees-kraken.energy/v1/graphql/
Update the Collection Process Record from raised status to active.
Query Complexity: 1
Possible Errors:
- KT-CT-1111: Unauthorized.
- KT-CT-11201: No Collection Process Records associated with id.
- KT-CT-11202: No External reference provided.
- KT-CT-11207: Unsupported external source for collection process.
- KT-CT-11218: External reference cannot be updated once it has been set.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can update collection process record to active
Arguments
| Name | Description |
|---|---|
|
Input variables needed for making a collection process record active. |
Return fields
| Name | Description |
|---|---|
|
Whether the collection process was successfully updated. |
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation UpdateCollectionProcessRecordToActive($input: UpdateCollectionProcessRecordToActiveInputType!) {
updateCollectionProcessRecordToActive(input: $input) {
collectionProcessActivated {
...UpdateCollectionProcessRecordToActiveOutputTypeFragment
}
}
}
Variables
{
"input": UpdateCollectionProcessRecordToActiveInputType
}
Response
{
"data": {
"updateCollectionProcessRecordToActive": {
"collectionProcessActivated": UpdateCollectionProcessRecordToActiveOutputType
}
}
}
updateCollectionProcessRecordToComplete
Type: UpdateCollectionProcessRecordToComplete
URL: https://api.oees-kraken.energy/v1/graphql/
Update the Collection Process Record from raised status to complete.
Query Complexity: 1
Possible Errors:
- KT-CT-1111: Unauthorized.
- KT-CT-11201: No Collection Process Records associated with id.
- KT-CT-11203: No Completion reason provided.
- KT-CT-11204: No Completion details provided.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can update collection process record to complete
Arguments
| Name | Description |
|---|---|
|
Input variables needed for making a collection process record complete. |
Return fields
| Name | Description |
|---|---|
|
Whether the collection process was successfully updated. |
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation UpdateCollectionProcessRecordToComplete($input: UpdateCollectionProcessRecordToCompleteInputType!) {
updateCollectionProcessRecordToComplete(input: $input) {
collectionProcessComplete {
...UpdateCollectionProcessRecordToCompleteOutputTypeFragment
}
}
}
Variables
{
"input": UpdateCollectionProcessRecordToCompleteInputType
}
Response
{
"data": {
"updateCollectionProcessRecordToComplete": {
"collectionProcessComplete": UpdateCollectionProcessRecordToCompleteOutputType
}
}
}
updateCommsDeliveryPreference
Type: UpdateCommsDeliveryPreference
URL: https://api.oees-kraken.energy/v1/graphql/
Update account communication delivery preference.
Query Complexity: 1
Possible Errors:
- KT-CT-4123: Unauthorized.
- KT-CT-4136: Cannot set comms preference to email when account has no email.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can access customer queries
OR Can update account details
Arguments
| Name | Description |
|---|---|
|
Input fields for updating comms delivery preferences for an account. |
Return fields
| Name | Description |
|---|---|
|
|
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation UpdateCommsDeliveryPreference($input: UpdateCommsDeliveryPreferenceInput!) {
updateCommsDeliveryPreference(input: $input) {
account {
...AccountInterfaceFragment
}
}
}
Variables
{
"input": UpdateCommsDeliveryPreferenceInput
}
Response
{
"data": {
"updateCommsDeliveryPreference": {
"account": AccountInterface
}
}
}
updateCommsPreferences
Type: UpdateAccountUserCommsPreferencesMutationPayload
URL: https://api.oees-kraken.energy/v1/graphql/
Update the comms preferences of the account user (the authenticated user).
Query Complexity: 1
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can edit customer marketing preference
Arguments
| Name | Description |
|---|---|
Return fields
| Name | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Mutation
mutation UpdateCommsPreferences($input: UpdateAccountUserCommsPreferencesMutationInput!) {
updateCommsPreferences(input: $input) {
clientMutationId
commsPreferences {
...AccountUserCommsPreferencesFragment
}
emailFormat
errors {
...ErrorTypeFragment
}
fontSizeMultiplier
isOptedInMeterReadingConfirmations
isOptedInToClientMessages
isOptedInToOfferMessages
isOptedInToRecommendedMessages
isOptedInToSmsMessages
isOptedInToThirdPartyMessages
isOptedInToUpdateMessages
isUsingInvertedEmailColours
preferredHoldMusic
}
}
Variables
{
"input": UpdateAccountUserCommsPreferencesMutationInput
}
Response
{
"data": {
"updateCommsPreferences": {
"clientMutationId": "83569626",
"commsPreferences": AccountUserCommsPreferences,
"emailFormat": "record-through-oil-south-can",
"errors": [ErrorType],
"fontSizeMultiplier": 356.5,
"isOptedInMeterReadingConfirmations": true,
"isOptedInToClientMessages": true,
"isOptedInToOfferMessages": true,
"isOptedInToRecommendedMessages": true,
"isOptedInToSmsMessages": true,
"isOptedInToThirdPartyMessages": true,
"isOptedInToUpdateMessages": true,
"isUsingInvertedEmailColours": true,
"preferredHoldMusic": "play-international-knowledge-discuss-someone"
}
}
}
updateDcaProceeding
Type: UpdateDCAProceeding
URL: https://api.oees-kraken.energy/v1/graphql/
Update the status of a DCA proceeding.
Query Complexity: 1
Possible Errors:
- KT-CT-11604: Active debt collection proceeding does not exist for account.
- KT-CT-11605: Multiple active Proceeding's found for same agency and campaign on account.
- KT-CT-11610: unable to edit the debt collection proceeding.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can update dca proceedings
Arguments
| Name | Description |
|---|---|
|
Return fields
| Name | Description |
|---|---|
|
Whether the update has been applied. |
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation UpdateDcaProceeding($input: UpdateDCAProceedingInputType!) {
updateDcaProceeding(input: $input) {
dcaProceedingUpdateStatus {
...DCAProceedingUpdateStatusFragment
}
}
}
Variables
{
"input": UpdateDCAProceedingInputType
}
Response
{
"data": {
"updateDcaProceeding": {
"dcaProceedingUpdateStatus": DCAProceedingUpdateStatus
}
}
}
updateDeviceGridExport
Type: SmartFlexDeviceInterface
URL: https://api.oees-kraken.energy/v1/graphql/
Update the grid export preference for a device.
Query Complexity: 2
Possible Errors:
- KT-CT-1111: Unauthorized.
- KT-CT-4386: An error occurred while trying to update your device's grid export status.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Rate Limits
| Key | Steps |
|---|---|
User |
['300/h'] |
Arguments
| Name | Description |
|---|---|
|
Return fields
| Name | Description |
|---|---|
|
Active alert message(s) for a device, showing the latest first. |
|
The type of device. |
|
A UUID that identifies this device registration. Re-registering this device will result in a different ID. |
|
The third-party integration device ID. |
|
The user-friendly name for the device. |
|
The current onboarding wizard for a device. |
|
The device's preference details. |
|
The preference setting for this device. |
|
The id of the property linked to the device. |
|
The third-party that enables control of this device. |
|
The re-authentication state of this device, if applicable. |
|
Information about the current status of this device. |
Mutation
mutation UpdateDeviceGridExport($input: UpdateDeviceGridExportInput) {
updateDeviceGridExport(input: $input) {
alerts {
...SmartFlexDeviceAlertInterfaceFragment
}
deviceType
id
integrationDeviceId
name
onboardingWizard {
...SmartFlexOnboardingWizardFragment
}
preferences {
...SmartFlexDevicePreferencesInterfaceFragment
}
preferenceSetting {
...FlexDevicePreferenceSettingInterfaceFragment
}
propertyId
provider
reAuthenticationState {
...DeviceReAuthenticationInterfaceFragment
}
status {
...SmartFlexDeviceStatusInterfaceFragment
}
}
}
Variables
{
"input": UpdateDeviceGridExportInput
}
Response
{
"data": {
"updateDeviceGridExport": {
"alerts": SmartFlexDeviceAlertInterface,
"deviceType": "BATTERIES",
"id": "86134512",
"integrationDeviceId": "88709430",
"name": "share-rule-drive-alone-significant",
"onboardingWizard": SmartFlexOnboardingWizard,
"preferences": SmartFlexDevicePreferencesInterface,
"preferenceSetting": FlexDevicePreferenceSettingInterface,
"propertyId": "17627586",
"provider": "BYD",
"reAuthenticationState": DeviceReAuthenticationInterface,
"status": SmartFlexDeviceStatusInterface
}
}
}
updateDeviceSmartControl
Type: SmartFlexDeviceInterface
URL: https://api.oees-kraken.energy/v1/graphql/
Suspends or resumes the smart control of a specific device. For some devices, this will also adjust smart control of related devices. e.g. suspending one zone in a multi-zone heat pump system will suspend all zones in that system.
Query Complexity: 6
Possible Errors:
- KT-CT-4313: Could not find KrakenFlex device.
- KT-CT-4314: Unable to get provider details.
- KT-CT-4358: Unable to suspend device control.
- KT-CT-4359: Unable to resume device control.
- KT-CT-4387: Could not find the KrakenFlex controller device.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Rate Limits
| Key | Steps |
|---|---|
User |
['300/h'] |
Arguments
| Name | Description |
|---|---|
|
The input to action the desired device control, i.e. suspend or unsuspend a device. |
Return fields
| Name | Description |
|---|---|
|
Active alert message(s) for a device, showing the latest first. |
|
The type of device. |
|
A UUID that identifies this device registration. Re-registering this device will result in a different ID. |
|
The third-party integration device ID. |
|
The user-friendly name for the device. |
|
The current onboarding wizard for a device. |
|
The device's preference details. |
|
The preference setting for this device. |
|
The id of the property linked to the device. |
|
The third-party that enables control of this device. |
|
The re-authentication state of this device, if applicable. |
|
Information about the current status of this device. |
Mutation
mutation UpdateDeviceSmartControl($input: SmartControlInput!) {
updateDeviceSmartControl(input: $input) {
alerts {
...SmartFlexDeviceAlertInterfaceFragment
}
deviceType
id
integrationDeviceId
name
onboardingWizard {
...SmartFlexOnboardingWizardFragment
}
preferences {
...SmartFlexDevicePreferencesInterfaceFragment
}
preferenceSetting {
...FlexDevicePreferenceSettingInterfaceFragment
}
propertyId
provider
reAuthenticationState {
...DeviceReAuthenticationInterfaceFragment
}
status {
...SmartFlexDeviceStatusInterfaceFragment
}
}
}
Variables
{
"input": SmartControlInput
}
Response
{
"data": {
"updateDeviceSmartControl": {
"alerts": SmartFlexDeviceAlertInterface,
"deviceType": "BATTERIES",
"id": "73898384",
"integrationDeviceId": "64936907",
"name": "technology-source-society-fill-present",
"onboardingWizard": SmartFlexOnboardingWizard,
"preferences": SmartFlexDevicePreferencesInterface,
"preferenceSetting": FlexDevicePreferenceSettingInterface,
"propertyId": "34273168",
"provider": "BYD",
"reAuthenticationState": DeviceReAuthenticationInterface,
"status": SmartFlexDeviceStatusInterface
}
}
}
updateDocumentAccessibilityPreference
Type: UpdateDocumentAccessibilityPreference!
URL: https://api.oees-kraken.energy/v1/graphql/
Update the document accessibility preference for an account.
Query Complexity: 1
Possible Errors:
- KT-CT-4123: Unauthorized.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Arguments
| Name | Description |
|---|---|
|
Input fields for updating document accessibility preference for an account. |
Return fields
| Name | Description |
|---|---|
|
Account that was changed. |
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation UpdateDocumentAccessibilityPreference($input: UpdateDocumentAccessibilityPreferenceInput!) {
updateDocumentAccessibilityPreference(input: $input) {
account {
...AccountTypeFragment
}
}
}
Variables
{
"input": UpdateDocumentAccessibilityPreferenceInput
}
Response
{
"data": {
"updateDocumentAccessibilityPreference": {
"account": AccountType
}
}
}
updateIsChargingDurationCapped
Type: SmartFlexDeviceInterface
URL: https://api.oees-kraken.energy/v1/graphql/
Update the charging duration cap preference for a device.
Query Complexity: 2
Possible Errors:
- KT-CT-1111: Unauthorized.
- KT-CT-4389: An error occurred while trying to update your device's isChargingDurationCapped setting.
- KT-CT-4390: An error occurred while trying to update your device's preference.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Rate Limits
| Key | Steps |
|---|---|
User |
['300/h'] |
Arguments
| Name | Description |
|---|---|
|
Input fields for updating the charging duration cap preference. |
Return fields
| Name | Description |
|---|---|
|
Active alert message(s) for a device, showing the latest first. |
|
The type of device. |
|
A UUID that identifies this device registration. Re-registering this device will result in a different ID. |
|
The third-party integration device ID. |
|
The user-friendly name for the device. |
|
The current onboarding wizard for a device. |
|
The device's preference details. |
|
The preference setting for this device. |
|
The id of the property linked to the device. |
|
The third-party that enables control of this device. |
|
The re-authentication state of this device, if applicable. |
|
Information about the current status of this device. |
Mutation
mutation UpdateIsChargingDurationCapped($input: UpdateIsChargingDurationCappedInput) {
updateIsChargingDurationCapped(input: $input) {
alerts {
...SmartFlexDeviceAlertInterfaceFragment
}
deviceType
id
integrationDeviceId
name
onboardingWizard {
...SmartFlexOnboardingWizardFragment
}
preferences {
...SmartFlexDevicePreferencesInterfaceFragment
}
preferenceSetting {
...FlexDevicePreferenceSettingInterfaceFragment
}
propertyId
provider
reAuthenticationState {
...DeviceReAuthenticationInterfaceFragment
}
status {
...SmartFlexDeviceStatusInterfaceFragment
}
}
}
Variables
{
"input": UpdateIsChargingDurationCappedInput
}
Response
{
"data": {
"updateIsChargingDurationCapped": {
"alerts": SmartFlexDeviceAlertInterface,
"deviceType": "BATTERIES",
"id": "50542241",
"integrationDeviceId": "41095432",
"name": "miss-music-marriage-minute-foot",
"onboardingWizard": SmartFlexOnboardingWizard,
"preferences": SmartFlexDevicePreferencesInterface,
"preferenceSetting": FlexDevicePreferenceSettingInterface,
"propertyId": "93527653",
"provider": "BYD",
"reAuthenticationState": DeviceReAuthenticationInterface,
"status": SmartFlexDeviceStatusInterface
}
}
}
updateLeadDetails
Type: UpdateLeadDetails
URL: https://api.oees-kraken.energy/v1/graphql/
Update the details of a lead.
Query Complexity: 1
Possible Errors:
- KT-CT-8907: Lead not found.
- KT-CT-8912: Funnel not found.
- KT-CT-8913: Organisation is not valid to be assigned.
- KT-CT-8931: Extra detail value is invalid.
- KT-CT-8935: National ID bad input.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can update leads
Arguments
| Name | Description |
|---|---|
|
Fields for updating a lead's details. |
Return fields
| Name | Description |
|---|---|
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
|
Arguments passed. |
Mutation
mutation UpdateLeadDetails($input: UpdateLeadDetailsInput!) {
updateLeadDetails(input: $input) {
updatedLeadData
}
}
Variables
{
"input": UpdateLeadDetailsInput
}
Response
{
"data": {
"updateLeadDetails": {
"updatedLeadData": {"key": "value"}
}
}
}
updateLeadStage
Type: UpdateLeadStage
URL: https://api.oees-kraken.energy/v1/graphql/
Update the stage of a lead.
Query Complexity: 1
Possible Errors:
- KT-CT-8907: Lead not found.
- KT-CT-8914: Stage not found.
- KT-CT-8915: Stages are not in the same funnel.
- KT-CT-8916: Current stage mismatch.
- KT-CT-8917: Stage transition not allowed.
- KT-CT-8918: Stage precondition not met.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can update leads
Arguments
| Name | Description |
|---|---|
|
Fields for updating a lead's stage. |
Return fields
| Name | Description |
|---|---|
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
|
Arguments passed. |
Mutation
mutation UpdateLeadStage($input: UpdateLeadStageInput!) {
updateLeadStage(input: $input) {
updatedLeadData
}
}
Variables
{
"input": UpdateLeadStageInput
}
Response
{
"data": {
"updateLeadStage": {
"updatedLeadData": {"key": "value"}
}
}
}
updateLeaveSupplier
Type: LeaveSupplierUpdated!
URL: https://api.oees-kraken.energy/v1/graphql/
Update an existing leave supplier process.
Query Complexity: 1
Possible Errors:
- KT-CT-10302: Invalid data.
- KT-CT-10304: Mutation not enabled in this environment.
- KT-CT-10309: Failed to update leave supplier process - the service is not enabled.
- KT-CT-10310: Failed to update leave supplier process. The process status is not in updatable status.
- KT-CT-1607: Value cannot be empty.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Arguments
| Name | Description |
|---|---|
|
Return fields
| Name | Description |
|---|---|
|
The message to display to the user on leave supplier update. |
Mutation
mutation UpdateLeaveSupplier($input: UpdateLeaveSupplierInput!) {
updateLeaveSupplier(input: $input) {
message
}
}
Variables
{
"input": UpdateLeaveSupplierInput
}
Response
{
"data": {
"updateLeaveSupplier": {
"message": "teacher-research-water-visit-structure"
}
}
}
updateMessageTags
Type: UpdateMessageTags
URL: https://api.oees-kraken.energy/v1/graphql/
Query Complexity: 1
Possible Errors:
- KT-CT-7611: The message was not found.
- KT-CT-7614: The Ink tag was not found.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can update ink message tags
Arguments
| Name | Description |
|---|---|
|
Return fields
| Name | Description |
|---|---|
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
|
Confirmed tags. |
Mutation
mutation UpdateMessageTags($input: UpdateMessageTagsInput) {
updateMessageTags(input: $input) {
tags {
...InkTagFragment
}
}
}
Variables
{
"input": UpdateMessageTagsInput
}
Response
{
"data": {
"updateMessageTags": {
"tags": [InkTag]
}
}
}
updateMetadata
Type: UpdateMetadata
URL: https://api.oees-kraken.energy/v1/graphql/
Update metadata on an object.
Query Complexity: 1
Possible Errors:
- KT-CT-4123: Unauthorized.
- KT-CT-4124: Unauthorized.
- KT-CT-4177: Unauthorized.
- KT-CT-6622: Unauthorized.
- KT-CT-6637: Unauthorized.
- KT-CT-8411: Invalid data.
- KT-CT-8413: Invalid data.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can access customer queries
OR Can mutate metadata
Arguments
| Name | Description |
|---|---|
|
Input fields for updating metadata. |
Return fields
| Name | Description |
|---|---|
|
|
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation UpdateMetadata($input: MetadataInput!) {
updateMetadata(input: $input) {
metadata {
...MetadataFragment
}
}
}
Variables
{
"input": MetadataInput
}
Response
{
"data": {
"updateMetadata": {
"metadata": Metadata
}
}
}
updateNotesOnOpportunity
Type: UpdateNotesOnOpportunity
URL: https://api.oees-kraken.energy/v1/graphql/
Update the notes of an opportunity.
Query Complexity: 1
Possible Errors:
- KT-CT-8906: Opportunity not found.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can update leads
Arguments
| Name | Description |
|---|---|
|
Input to update the note on an opportunity. |
Return fields
| Name | Description |
|---|---|
|
The number of the opportunity. |
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation UpdateNotesOnOpportunity($input: UpdateNotesOnOpportunityInput!) {
updateNotesOnOpportunity(input: $input) {
opportunityNumber
}
}
Variables
{
"input": UpdateNotesOnOpportunityInput
}
Response
{
"data": {
"updateNotesOnOpportunity": {
"opportunityNumber": "outside-development-play-agree-picture"
}
}
}
updateOfferGroupOnOpportunity
Type: UpdateOfferGroupOnOpportunity
URL: https://api.oees-kraken.energy/v1/graphql/
Update the offer group of an opportunity.
Query Complexity: 1
Possible Errors:
- KT-CT-8906: Opportunity not found.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can update leads
Arguments
| Name | Description |
|---|---|
|
Input to update the offer group on an opportunity. |
Return fields
| Name | Description |
|---|---|
|
The number of the opportunity. |
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation UpdateOfferGroupOnOpportunity($input: UpdateOfferGroupOnOpportunityInput!) {
updateOfferGroupOnOpportunity(input: $input) {
opportunityNumber
}
}
Variables
{
"input": UpdateOfferGroupOnOpportunityInput
}
Response
{
"data": {
"updateOfferGroupOnOpportunity": {
"opportunityNumber": "north-after-walk-coach-physical"
}
}
}
updateOnSiteJobsRequest
Type: UpdateOnSiteJobsRequest
URL: https://api.oees-kraken.energy/v1/graphql/
Update an On Site Jobs Request.
Query Complexity: 1
Possible Errors:
- KT-CT-13032: Request does not exist.
- KT-CT-13035: Request is inactive.
- KT-CT-13038: Invalid request status.
- KT-CT-13040: Agent not set on request.
- KT-CT-13045: Failed to update appointment assets.
- KT-CT-13050: Cannot provide both supply_point_identifier_to_market_name_mapping and supply_point_internal_id when creating assets.
- KT-CT-13051: Supply point not found when creating assets.
- KT-CT-13052: Multiple supply points found when creating assets.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can update on site jobs requests
Arguments
| Name | Description |
|---|---|
|
The input objects required to update a Request. |
Return fields
| Name | Description |
|---|---|
|
The updated request. |
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation UpdateOnSiteJobsRequest($input: OnSiteJobsUpdateRequestInput!) {
updateOnSiteJobsRequest(input: $input) {
onSiteJobsRequest {
...OnSiteJobsRequestTypeFragment
}
}
}
Variables
{
"input": OnSiteJobsUpdateRequestInput
}
Response
{
"data": {
"updateOnSiteJobsRequest": {
"onSiteJobsRequest": OnSiteJobsRequestType
}
}
}
updateOpportunityAssignment
Type: UpdateOpportunityAssignment
URL: https://api.oees-kraken.energy/v1/graphql/
Update assignment fields for an Opportunity.
Query Complexity: 1
Possible Errors:
- KT-CT-8903: Unable to update opportunity.
- KT-CT-8906: Opportunity not found.
- KT-CT-8913: Organisation is not valid to be assigned.
- KT-CT-8946: A team must also be provided when assigning a user.
- KT-CT-8947: The team you specified was not found.
- KT-CT-8948: The user you specified was not found.
- KT-CT-8949: The selected team does not belong to the specified partner.
- KT-CT-8950: The selected user does not belong to the specified partner.
- KT-CT-8951: The selected user is not a member of the specified team.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can update leads
Arguments
| Name | Description |
|---|---|
|
Input fields for creating an opportunity. |
Return fields
| Name | Description |
|---|---|
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
|
Arguments passed. |
Mutation
mutation UpdateOpportunityAssignment($input: UpdateOpportunityAssignmentInput!) {
updateOpportunityAssignment(input: $input) {
updatedOpportunityData
}
}
Variables
{
"input": UpdateOpportunityAssignmentInput
}
Response
{
"data": {
"updateOpportunityAssignment": {
"updatedOpportunityData": {"key": "value"}
}
}
}
updateOpportunityDetails
Type: UpdateOpportunityDetails
URL: https://api.oees-kraken.energy/v1/graphql/
Update the details of an opportunity.
Query Complexity: 1
Possible Errors:
- KT-CT-8906: Opportunity not found.
- KT-CT-8912: Funnel not found.
- KT-CT-8930: Unable to parse address.
- KT-CT-8931: Extra detail value is invalid.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can update leads
Arguments
| Name | Description |
|---|---|
|
Input fields for updating the address of a opportunity. |
Return fields
| Name | Description |
|---|---|
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
|
Arguments updated. |
Mutation
mutation UpdateOpportunityDetails($input: UpdateOpportunityDetailsInput!) {
updateOpportunityDetails(input: $input) {
updatedData
}
}
Variables
{
"input": UpdateOpportunityDetailsInput
}
Response
{
"data": {
"updateOpportunityDetails": {
"updatedData": {"key": "value"}
}
}
}
updateOpportunityExtraDetails
Type: UpdateOpportunityExtraDetails
URL: https://api.oees-kraken.energy/v1/graphql/
Update the extra details of a opportunity.
Query Complexity: 1
Possible Errors:
- KT-CT-8906: Opportunity not found.
- KT-CT-8926: Unable to create opportunity.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can update leads
Arguments
| Name | Description |
|---|---|
|
Input fields for updating the extra details of a opportunity. |
Return fields
| Name | Description |
|---|---|
|
The opportunity's extra details to be added or updated. |
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation UpdateOpportunityExtraDetails($input: UpdateExtraDetailsInput!) {
updateOpportunityExtraDetails(input: $input) {
extraDetails
}
}
Variables
{
"input": UpdateExtraDetailsInput
}
Response
{
"data": {
"updateOpportunityExtraDetails": {
"extraDetails": {"key": "value"}
}
}
}
updateOpportunityStage
Type: UpdateOpportunityStage
URL: https://api.oees-kraken.energy/v1/graphql/
Update the stage of a opportunity.
Query Complexity: 1
Possible Errors:
- KT-CT-8903: Unable to update opportunity.
- KT-CT-8910: Received opportunity current stage is not valid.
- KT-CT-8914: Stage not found.
- KT-CT-8915: Stages are not in the same funnel.
- KT-CT-8916: Current stage mismatch.
- KT-CT-8917: Stage transition not allowed.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can update leads
Arguments
| Name | Description |
|---|---|
|
Input fields for updating the state of a opportunity. |
Return fields
| Name | Description |
|---|---|
|
Placeholder success message for now. |
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation UpdateOpportunityStage($input: UpdateOpportunityStageInput!) {
updateOpportunityStage(input: $input) {
message
}
}
Variables
{
"input": UpdateOpportunityStageInput
}
Response
{
"data": {
"updateOpportunityStage": {
"message": "speak-friend-security-window-director"
}
}
}
updateOptionsLanguagePreference
Type: UpdateOptionsLanguagePreference
URL: https://api.oees-kraken.energy/v1/graphql/
Update the preferred language from account's options. Used for communications.
Query Complexity: 1
Possible Errors:
- KT-CT-4123: Unauthorized.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can update account details
Arguments
| Name | Description |
|---|---|
|
Variables needed to update the language preference for an account. |
Return fields
| Name | Description |
|---|---|
|
The selected language preference. |
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation UpdateOptionsLanguagePreference($input: OptionsLanguagePreferenceInput!) {
updateOptionsLanguagePreference(input: $input) {
optionsLanguagePreference
}
}
Variables
{
"input": OptionsLanguagePreferenceInput
}
Response
{
"data": {
"updateOptionsLanguagePreference": {
"optionsLanguagePreference": "ENGLISH"
}
}
}
updatePassword
Type: UpdatePassword
URL: https://api.oees-kraken.energy/v1/graphql/
Update password of the authenticated user
This field requires the Authorization header to be set.
Query Complexity: 1
Possible Errors:
- KT-CT-5450: Password is invalid.
- KT-CT-5460: Old password is invalid.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Arguments
| Name | Description |
|---|---|
|
Return fields
| Name | Description |
|---|---|
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
|
The currently authenticated user. This field requires the |
Mutation
mutation UpdatePassword($input: UpdatePasswordInput) {
updatePassword(input: $input) {
viewer {
...AccountUserTypeFragment
}
}
}
Variables
{
"input": UpdatePasswordInput
}
Response
{
"data": {
"updatePassword": {
"viewer": AccountUserType
}
}
}
updatePaymentDetails
Type: UpdatePaymentDetails
URL: https://api.oees-kraken.energy/v1/graphql/
Updates payment details.
Query Complexity: 1
Possible Errors:
- KT-ES-1130: Unauthorized.
- KT-ES-3910: Payment instruction couldn't be created or was cancelled.
- KT-ES-4120: Invalid data.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can access customer queries
OR Can update user details
Arguments
| Name | Description |
|---|---|
|
Return fields
| Name | Description |
|---|---|
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
|
A flag that ensures changes have been made. |
Mutation
mutation UpdatePaymentDetails($newPaymentDetails: UpdateAccountPaymentInput) {
updatePaymentDetails(newPaymentDetails: $newPaymentDetails) {
success
}
}
Variables
{
"newPaymentDetails": UpdateAccountPaymentInput
}
Response
{
"data": {
"updatePaymentDetails": {
"success": true
}
}
}
updateProductPrices
Type: UpdateProductPricesOutput!
URL: https://api.oees-kraken.energy/v1/graphql/
Update the prices of a product.
Query Complexity: 1
Possible Errors:
- KT-CT-12008: Unable to find the product.
- KT-CT-12009: Specified product does not have a specification.
- KT-CT-12010: Unable to find the product's specification.
- KT-CT-12011: The list of provided prices contains validation errors.
- KT-CT-12012: Product prices start date is in the past.
- KT-CT-12013: Product prices would overwrite existing prices.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Arguments
| Name | Description |
|---|---|
|
Return fields
| Name | Description |
|---|---|
|
The rate group prices. |
Mutation
mutation UpdateProductPrices($input: UpdateProductPricesInput!) {
updateProductPrices(input: $input) {
prices {
...RateGroupPricesFragment
}
}
}
Variables
{
"input": UpdateProductPricesInput
}
Response
{
"data": {
"updateProductPrices": {
"prices": [RateGroupPrices]
}
}
}
updateQuoteConfiguration
Type: UpdateQuoteConfigurationOutput
URL: https://api.oees-kraken.energy/v1/graphql/
Update a quote configuration with new terms and extra details.
Query Complexity: 1
Possible Errors:
- KT-CT-12408: Quote configuration not found.
- KT-CT-12409: Term not found in quote configuration.
- KT-CT-12410: Invalid extra detail field type.
- KT-CT-12411: Extra detail not found in quote configuration.
- KT-CT-12412: Duplicate term identifiers provided.
- KT-CT-12413: Duplicate extra detail field codes provided.
- KT-CT-12414: Unsupported term type.
- KT-CT-12415: Schedule missing required identifier.
- KT-CT-12416: Item missing required identifier.
- KT-CT-12417: Schedule not found in term.
- KT-CT-12418: Item not found in schedule.
- KT-CT-12419: One or more terms not found.
- KT-CT-12420: One or more extra details not found.
- KT-CT-12421: No extra detail fields provided for update.
- KT-CT-12422: Invalid quote configuration status.
- KT-CT-12423: Forecast consumption entry not found.
- KT-CT-12424: Quote configuration cannot be edited in its current status.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can update quote configuration
Arguments
| Name | Description |
|---|---|
|
Input for updating a quote configuration. |
Return fields
| Name | Description |
|---|---|
|
The updated quote configuration. |
Mutation
mutation UpdateQuoteConfiguration($input: UpdateQuoteConfigurationInput!) {
updateQuoteConfiguration(input: $input) {
quoteConfiguration {
...QuoteConfigurationTypeFragment
}
}
}
Variables
{
"input": UpdateQuoteConfigurationInput
}
Response
{
"data": {
"updateQuoteConfiguration": {
"quoteConfiguration": QuoteConfigurationType
}
}
}
updateSiteworksRequest
Type: UpdateSiteworksRequest
URL: https://api.oees-kraken.energy/v1/graphql/
Update a Request.
Query Complexity: 1
Possible Errors:
- KT-CT-4231: Unauthorized.
- KT-CT-4232: Status passed is not valid.
- KT-CT-4233: Request does not exist.
- KT-CT-4234: Terminated Request cannot be updated.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can create siteworks requests
Deprecated
The 'updateSiteworksRequest' field is deprecated.
Please use updateOnSiteJobsRequest instead.
- Marked as deprecated on 2026-03-01.
- Scheduled for removal on or after 2026-09-01.
Arguments
| Name | Description |
|---|---|
|
The input objects required to update a Request. |
Return fields
| Name | Description |
|---|---|
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
|
The siteworks request after the update. |
Mutation
mutation UpdateSiteworksRequest($input: UpdateSiteworksRequestInputType!) {
updateSiteworksRequest(input: $input) {
siteworksRequest {
...CoreSiteworksRequestTypeFragment
}
}
}
Variables
{
"input": UpdateSiteworksRequestInputType
}
Response
{
"data": {
"updateSiteworksRequest": {
"siteworksRequest": CoreSiteworksRequestType
}
}
}
updateUser
Type: UpdateUserMutation
URL: https://api.oees-kraken.energy/v1/graphql/
Update the account user details of the authenticated user.
Only one name field can be updated per day, other fields can be updated freely. This prevents users from switching accounts to someone else (usually when moving homes). All account changes should be handled by operations or the move out journey. New customers are exempt from this rule for the first 31 days.
This field requires the Authorization header to be set.
Query Complexity: 1
Possible Errors:
- KT-CT-5413: Invalid data.
- KT-CT-5414: Invalid data.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can book smart meter appointments
OR Can update user details
Arguments
| Name | Description |
|---|---|
|
Input fields for updating user. |
Return fields
| Name | Description |
|---|---|
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
|
Mutation
mutation UpdateUser($input: UpdateUserInput!) {
updateUser(input: $input) {
viewer {
...AccountUserTypeFragment
}
}
}
Variables
{
"input": UpdateUserInput
}
Response
{
"data": {
"updateUser": {
"viewer": AccountUserType
}
}
}
updateUserDetails
Type: UpdateAccountUserMutationPayload
URL: https://api.oees-kraken.energy/v1/graphql/
DEPRECATED: Please use updateUser instead
Update the account user details of the authenticated user. Only one field can be updated per day. This prevents users from switching accounts to someone else (usually when moving homes) All account changes should be handled by operations or the move out journey. New customers are exempt from this rule for the first 31 days.
Query Complexity: 1
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Deprecated
The 'updateUserDetails' field is deprecated.
Please use the 'updateUser' mutation instead.
- Marked as deprecated on 2020-10-02.
- Scheduled for removal on or after 2023-04-06.
Arguments
| Name | Description |
|---|---|
|
Return fields
| Name | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Mutation
mutation UpdateUserDetails($input: UpdateAccountUserMutationInput!) {
updateUserDetails(input: $input) {
clientMutationId
dateOfBirth
email
errors {
...ErrorTypeFragment
}
familyName
givenName
landline
mobile
pronouns
}
}
Variables
{
"input": UpdateAccountUserMutationInput
}
Response
{
"data": {
"updateUserDetails": {
"clientMutationId": "40915204",
"dateOfBirth": "1988-08-26",
"email": "prove-forget-determine-deal-huge",
"errors": [ErrorType],
"familyName": "Henderson",
"givenName": "Kevin",
"landline": "operation-experience-guy-cause-everything",
"mobile": "low-read-real-research-fine",
"pronouns": "Democrat-himself-imagine-two-buy"
}
}
}
validateAddress
Type: ValidateAddress
URL: https://api.oees-kraken.energy/v1/graphql/
Validate an address without persisting it. Accepts address form values (matching the structure from the addressFields query), runs validation, and returns the full descriptor with cleaned/normalised values and per-field errors so the client can compare submitted vs. normalised data.
Query Complexity: 1
Possible Errors:
- KT-CT-4413: The supplied address field descriptor identifier is not recognised.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Arguments
| Name | Description |
|---|---|
|
The address field values to validate. |
Return fields
| Name | Description |
|---|---|
|
The address field descriptor with cleaned/normalised values and per-field validation errors populated. Each field's errors list is empty when valid. Returned on both success and failure. |
|
Whether the address passed all validation checks. |
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation ValidateAddress($input: ValidateAddressInput!) {
validateAddress(input: $input) {
cleanedDescriptor {
...AddressFieldDescriptorTypeFragment
}
isValid
}
}
Variables
{
"input": ValidateAddressInput
}
Response
{
"data": {
"validateAddress": {
"cleanedDescriptor": AddressFieldDescriptorType,
"isValid": true
}
}
}
validateEmail
Type: ValidateEmail
URL: https://api.oees-kraken.energy/v1/graphql/
Validate user's email address.
Query Complexity: 1
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can create accounts
Arguments
| Name | Description |
|---|---|
|
Return fields
| Name | Description |
|---|---|
|
Whether the email is valid or not. |
Mutation
mutation ValidateEmail($input: ValidateEmailInput!) {
validateEmail(input: $input) {
isValid
}
}
Variables
{
"input": ValidateEmailInput
}
Response
{
"data": {
"validateEmail": {
"isValid": true
}
}
}
validateMfaDevice
Type: ValidateMfaDevice
URL: https://api.oees-kraken.energy/v1/graphql/
Validate MFA Device for user.
Query Complexity: 1
Possible Errors:
- KT-CT-1150: MFA device not found.
- KT-CT-1151: MFA device not found.
- KT-CT-1152: Invalid MFA token.
- KT-CT-1155: Enabled backup device is needed.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can validate mfa device
Arguments
| Name | Description |
|---|---|
|
Input fields for validating a new multi-factor authentication device for the logged user. |
Return fields
| Name | Description |
|---|---|
|
Flag to indicate if the device has been verified, so it can be used for MFA. |
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation ValidateMfaDevice($input: ValidateMfaDeviceInputType!) {
validateMfaDevice(input: $input) {
deviceIsValid
}
}
Variables
{
"input": ValidateMfaDeviceInputType
}
Response
{
"data": {
"validateMfaDevice": {
"deviceIsValid": true
}
}
}
validatePhone
Type: ValidatePhone
URL: https://api.oees-kraken.energy/v1/graphql/
Validate user's phone number.
Query Complexity: 1
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can create accounts
Arguments
| Name | Description |
|---|---|
|
Return fields
| Name | Description |
|---|---|
|
Whether the phone number is valid or not. |
Mutation
mutation ValidatePhone($input: ValidatePhoneNumberInput!) {
validatePhone(input: $input) {
isValid
}
}
Variables
{
"input": ValidatePhoneNumberInput
}
Response
{
"data": {
"validatePhone": {
"isValid": true
}
}
}
varyContractTerms
Type: VaryContractTermsOutput!
URL: https://api.oees-kraken.energy/v1/graphql/
Vary the terms of a contract.
Query Complexity: 1
Possible Errors:
- KT-CT-10003: Contract not found.
- KT-CT-10008: The contract is currently undergoing an active journey.
- KT-CT-10011: Unable to vary contract terms.
- KT-CT-10012: Contract variation implies breach.
- KT-CT-10033: Unable to save term.
- KT-CT-10034: Unknown contract journey type.
- KT-CT-10035: Cannot process a non-active contract journey.
- KT-CT-10036: The contract journey manager is not found.
- KT-CT-10037: Contract notes feature is disabled.
- KT-CT-10038: Contract note reason not found.
- KT-CT-10041: Contract is already rescinded.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Arguments
| Name | Description |
|---|---|
|
Return fields
| Name | Description |
|---|---|
|
The contract with the varied terms. |
Mutation
mutation VaryContractTerms($input: VaryContractTermsInput!) {
varyContractTerms(input: $input) {
contract {
...ContractFragment
}
}
}
Variables
{
"input": VaryContractTermsInput
}
Response
{
"data": {
"varyContractTerms": {
"contract": Contract
}
}
}
verifyCustomer
Type: VerifyCustomer
URL: https://api.oees-kraken.energy/v1/graphql/
Verify a customer using the provided verification code and type.
Query Complexity: 1
Possible Errors:
- KT-CT-4191: Error while verifying the customer.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can access customer queries AND Can verify customer details
Arguments
| Name | Description |
|---|---|
|
Return fields
| Name | Description |
|---|---|
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
|
The currently authenticated user. |
Mutation
mutation VerifyCustomer($input: VerifyCustomerInput!) {
verifyCustomer(input: $input) {
user {
...AccountUserTypeFragment
}
}
}
Variables
{
"input": VerifyCustomerInput
}
Response
{
"data": {
"verifyCustomer": {
"user": AccountUserType
}
}
}
verifyEmail
Type: VerifyEmail
URL: https://api.oees-kraken.energy/v1/graphql/
Verify user's email address.
Query Complexity: 1
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can verify email addresses
Arguments
| Name | Description |
|---|---|
|
Return fields
| Name | Description |
|---|---|
|
Whether the email is verified. |
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
Mutation
mutation VerifyEmail($input: VerifyEmailInput!) {
verifyEmail(input: $input) {
isVerified
}
}
Variables
{
"input": VerifyEmailInput
}
Response
{
"data": {
"verifyEmail": {
"isVerified": true
}
}
}
verifyIdentity
Type: VerifyIdentity
URL: https://api.oees-kraken.energy/v1/graphql/
Provide identifying information about an account and user to get a scoped token that will permit access to associate an email address with the account's user.
Query Complexity: 1
Possible Errors:
- KT-CT-1145: Account/user details do not match.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
(No)
Rate Limits
| Key | Steps |
|---|---|
Ip |
['10/m'] |
Arguments
| Name | Description |
|---|---|
|
Details about the user to be verified. |
Return fields
| Name | Description |
|---|---|
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
|
An expiring token that can be used to request to update the user's email address. |
Mutation
mutation VerifyIdentity($input: VerifyIdentityInput!) {
verifyIdentity(input: $input) {
token
}
}
Variables
{
"input": VerifyIdentityInput
}
Response
{
"data": {
"verifyIdentity": {
"token": "hand-shoulder-throw-industry-speak"
}
}
}
withdrawDunning
Type: WithdrawDunning
URL: https://api.oees-kraken.energy/v1/graphql/
Withdraw a dunning process for an account
Query Complexity: 1
Possible Errors:
- KT-CT-11301: Account not in a dunning process for the given path name.
- KT-CT-11302: No active dunning process found.
- KT-CT-11303: Multiple active dunning processes found.
- KT-CT-11306: Withdrawing the dunning process failed.
- KT-CT-4178: No account found with given account number.
Allowed Viewers:
| Viewer type | Allowed? |
|---|---|
| Customer | |
| Third party | |
Required Permissions:
Can update dunning process
Arguments
| Name | Description |
|---|---|
|
Input variables needed for withdrawing a dunning process for an account. |
Return fields
| Name | Description |
|---|---|
|
Field with the possible errors of the query/mutation. Deprecated The 'possibleErrors' field is deprecated. |
|
Whether the dunning process was withdrawn successfully. |
Mutation
mutation WithdrawDunning($input: WithdrawDunningInputType!) {
withdrawDunning(input: $input) {
withdrawSuccessful
}
}
Variables
{
"input": WithdrawDunningInputType
}
Response
{
"data": {
"withdrawDunning": {
"withdrawSuccessful": true
}
}
}