Skip to main content

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can manage goods purchases

Arguments

Name Description

input (AcceptGoodsQuoteInput)

Input fields for accepting a quote.

Return fields

Name Description

goodsPurchase (GoodsPurchase)

Goods purchase created.

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can create quoting offer group

Arguments

Name Description

input (AcceptOfferForQuotingInput)

Input fields for accepting a quoting offer.

Return fields

Name Description

offer (OfferType)

Accepted quoting offer.

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

Mutation

mutation AcceptOfferForQuoting($input: AcceptOfferForQuotingInput!) {
  acceptOfferForQuoting(input: $input) {
    offer {
      ...OfferTypeFragment
    }
  }
}

Variables

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Arguments

Name Description

input (ActualizeContractInput)

Return fields

Name Description

contract (Contract)

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can query businesses AND Can update businesses

Arguments

Name Description

input (AddBusinessToSegmentInput)

Input fields for adding a business to a segment.

Return fields

Name Description

businessSegmentPeriod (BusinessSegmentPeriodType)

The business segment period that was created.

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

Mutation

mutation AddBusinessToSegment($input: AddBusinessToSegmentInput!) {
  addBusinessToSegment(input: $input) {
    businessSegmentPeriod {
      ...BusinessSegmentPeriodTypeFragment
    }
  }
}

Variables

Response

{
  "data": {
    "addBusinessToSegment": {
      "businessSegmentPeriod": BusinessSegmentPeriodType
    }
  }
}

addCampaignToAccount

Type: AddCampaignToAccount

URL: https://api.oees-kraken.energy/v1/graphql/

Query Complexity: 1

Possible Errors:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can add campaign to account

Arguments

Name Description

input (AddCampaignToAccountInput)

Input variables needed for adding a campaign to an account.

Return fields

Name Description

campaignAdded (Boolean)

Whether the campaign was successfully added.

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

Mutation

mutation AddCampaignToAccount($input: AddCampaignToAccountInput!) {
  addCampaignToAccount(input: $input) {
    campaignAdded
  }
}

Variables

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can manage property hierarchies

Arguments

Name Description

input (AddChildToPropertyInput)

Input fields for adding a child to a parent property.

Return fields

Name Description

child (PropertyType)

The child property that was added to the parent.

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

Mutation

mutation AddChildToProperty($input: AddChildToPropertyInput!) {
  addChildToProperty(input: $input) {
    child {
      ...PropertyTypeFragment
    }
  }
}

Variables

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can edit risk list

Arguments

Name Description

input (RiskListItemInputType)

A list of risk list items to add.

Return fields

Name Description

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

riskIdentifiers ([RiskListItemType])

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can add note to conversation

Arguments

Name Description

input (AddNoteToInkConversationInput)

Return fields

Name Description

note (InkNote)

The ink conversation note.

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

Mutation

mutation AddNoteToInkConversation($input: AddNoteToInkConversationInput) {
  addNoteToInkConversation(input: $input) {
    note {
      ...InkNoteFragment
    }
  }
}

Variables

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can manage property hierarchies

Arguments

Name Description

input (AddParentToPropertyInput)

Input fields for adding a parent to a child property.

Return fields

Name Description

parent (PropertyType)

The parent property that was added to the child.

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

Mutation

mutation AddParentToProperty($input: AddParentToPropertyInput!) {
  addParentToProperty(input: $input) {
    parent {
      ...PropertyTypeFragment
    }
  }
}

Variables

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can create portfolios

Arguments

Name Description

input (AddPortfolioReferenceInput)

Input fields for adding a reference to a portfolio.

Return fields

Name Description

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

Mutation

mutation AddPortfolioReference($input: AddPortfolioReferenceInput) {
  addPortfolioReference(input: $input) {
  }
}

Variables

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can create property

Rate Limits

Key Steps

User

['5/m']

Arguments

Name Description

input (AddPropertyInput)

Input fields for adding a property to an account.

Return fields

Name Description

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

property (PropertyType)

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can manage property hierarchies

Arguments

Name Description

input (AddPropertyToHierarchyInput)

Input fields for adding a property to a hierarchy.

Return fields

Name Description

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

property (PropertyType)

The property that was added to the hierarchy.

Mutation

mutation AddPropertyToHierarchy($input: AddPropertyToHierarchyInput!) {
  addPropertyToHierarchy(input: $input) {
    property {
      ...PropertyTypeFragment
    }
  }
}

Variables

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can create referrals

Rate Limits

Key Steps

User

['5/m']

Arguments

Name Description

input (AddSignupReferralOnAccountInput)

Input fields for creating a signup reward for an organization.

Return fields

Name Description

accountReferral (ReferralType)

The created account referral instance.

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

Mutation

mutation AddSignupReferralOnAccount($input: AddSignupReferralOnAccountInput!) {
  addSignupReferralOnAccount(input: $input) {
    accountReferral {
      ...ReferralTypeFragment
    }
  }
}

Variables

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

input (AddStorylineToInkConversationInput)

Return fields

Name Description

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

storyline (InkStoryline)

The storyline that was added to the conversation.

Mutation

mutation AddStorylineToInkConversation($input: AddStorylineToInkConversationInput) {
  addStorylineToInkConversation(input: $input) {
    storyline {
      ...InkStorylineFragment
    }
  }
}

Variables

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can allocate user roles

Arguments

Name Description

input (AddUserToPortfolioInput)

Input fields for adding a user to a portfolio.

Return fields

Name Description

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

Mutation

mutation AddUserToPortfolio($input: AddUserToPortfolioInput!) {
  addUserToPortfolio(input: $input) {
  }
}

Variables

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 (RepaymentInput)

Input variable needed for allowing repayment submission.

Return fields

Name Description

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

repaymentId (ID)

The repayment ID.

repaymentIntervention (RepaymentInterventionType)

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can access customer queries
OR Can amend payments

Arguments

Name Description

input (AmendPaymentInput)

Input fields for amending an existing payment.

Return fields

Name Description

payment (AccountPaymentType)

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can approve repayments

Arguments

Name Description

input (ApproveRepaymentInput)

Input fields for approving a repayment.

Return fields

Name Description

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

repayment (AccountRepaymentType)

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can update collection process record to pause

Arguments

Name Description

input (AssessCollectionProcessRecordForPauseInputType)

Details of collection process to run the pause assessment.

Return fields

Name Description

collectionProcessProcessed (AssessCollectionProcessRecordForPauseOutputType)

Details of collection process after running the pause assessment.

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

Mutation

mutation AssessCollectionProcessRecordForPause($input: AssessCollectionProcessRecordForPauseInputType!) {
  assessCollectionProcessRecordForPause(input: $input) {
    collectionProcessProcessed {
      ...AssessCollectionProcessRecordForPauseOutputTypeFragment
    }
  }
}

Response

{
  "data": {
    "assessCollectionProcessRecordForPause": {
      "collectionProcessProcessed": AssessCollectionProcessRecordForPauseOutputType
    }
  }
}

assignInkBucket

Type: AssignInkBucket

URL: https://api.oees-kraken.energy/v1/graphql/

Query Complexity: 1

Possible Errors:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can assign ink bucket

Arguments

Name Description

input (AssignInkBucketInput)

Return fields

Name Description

bucket (InkBucket!)

The bucket that the conversation will be assigned to.

conversation (InkConversation!)

The conversation that will be assigned to the bucket.

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can manage supply point estimation group

Arguments

Name Description

input (AssignSupplyPointToEstimationGroupInput)

Input fields for assigning a supply point to an estimation group.

Return fields

Name Description

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

supplyPointEstimationGroup (AssignedSupplyPointEstimationGroupType)

The created supply point estimation group mapping.

Mutation

mutation AssignSupplyPointToEstimationGroup($input: AssignSupplyPointToEstimationGroupInput!) {
  assignSupplyPointToEstimationGroup(input: $input) {
    supplyPointEstimationGroup {
      ...AssignedSupplyPointEstimationGroupTypeFragment
    }
  }
}

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 (AssociateArchivedCallRecordingsWithCallsInput)

Input for associating archived call recordings with calls.

Return fields

Name Description

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

results ([AssociateArchivedRecordingResultType])

Per-recording processing results.

summary (AssociateArchivedRecordingsSummaryType)

Summary counts of the processing results.

Mutation

mutation AssociateArchivedCallRecordingsWithCalls($input: AssociateArchivedCallRecordingsWithCallsInput!) {
  associateArchivedCallRecordingsWithCalls(input: $input) {
    results {
      ...AssociateArchivedRecordingResultTypeFragment
    }
    summary {
      ...AssociateArchivedRecordingsSummaryTypeFragment
    }
  }
}

Response

{
  "data": {
    "associateArchivedCallRecordingsWithCalls": {
      "results": [AssociateArchivedRecordingResultType],
      "summary": AssociateArchivedRecordingsSummaryType
    }
  }
}

associateCallWithAccount

Type: AssociateCallWithAccount

URL: https://api.oees-kraken.energy/v1/graphql/

Query Complexity: 1

Possible Errors:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can manage calls

Arguments

Name Description

input (AssociateCallWithAccountInput)

Return fields

Name Description

call (InboundCallType)

The call.

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

Mutation

mutation AssociateCallWithAccount($input: AssociateCallWithAccountInput!) {
  associateCallWithAccount(input: $input) {
    call {
      ...InboundCallTypeFragment
    }
  }
}

Variables

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can associate item to collection process

Arguments

Name Description

input (AssociateItemToCollectionProcessInputType)

Input variables needed for associating an item to collection process.

Return fields

Name Description

collectionProcessAssociatedItem (AssociateItemToCollectionProcessOutputType)

Item associated to the collection process.

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

Mutation

mutation AssociateItemToCollectionProcess($input: AssociateItemToCollectionProcessInputType!) {
  associateItemToCollectionProcess(input: $input) {
    collectionProcessAssociatedItem {
      ...AssociateItemToCollectionProcessOutputTypeFragment
    }
  }
}

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Arguments

Name Description

input (AttachAgreementsToContractsInput)

Input for attaching agreements to contracts.

Return fields

Name Description

ok (Boolean!)

True if the agreements were successfully attached.

Mutation

mutation AttachAgreementsToContracts($input: AttachAgreementsToContractsInput!) {
  attachAgreementsToContracts(input: $input) {
    ok
  }
}

Variables

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can add loyalty points

Arguments

Name Description

input (AwardLoyaltyPointsInput)

Input fields for awarding Loyalty Points.

Return fields

Name Description

ledgerEntry (LoyaltyPointLedgerEntryType)

The ledger entry for the awarded loyalty points.

pointsAwarded (Int)

The number of loyalty points that were awarded.

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

Mutation

mutation AwardLoyaltyPoints($input: AwardLoyaltyPointsInput!) {
  awardLoyaltyPoints(input: $input) {
    ledgerEntry {
      ...LoyaltyPointLedgerEntryTypeFragment
    }
    pointsAwarded
  }
}

Variables

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Arguments

Name Description

input (BackendScreenEventInput)

Input fields for performing a backend action.

Return fields

Name Description

action (ActionType)

An action to perform.

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

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

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 (RepaymentInput)

Input variable needed for blocking repayment submission.

Return fields

Name Description

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

repaymentId (ID)

The repayment ID.

repaymentIntervention (RepaymentInterventionType)

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 (BulkAwardLoyaltyPointsInput)

Input fields for bulk awarding Loyalty Points.

Return fields

Name Description

failed ([BulkAwardLoyaltyPointsFailedItemResult])

Failed loyalty point awards.

inserted ([BulkAwardLoyaltyPointsInsertedItemResult])

Successfully inserted loyalty point awards.

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

Mutation

mutation BulkAwardLoyaltyPoints($input: BulkAwardLoyaltyPointsInput!) {
  bulkAwardLoyaltyPoints(input: $input) {
    failed {
      ...BulkAwardLoyaltyPointsFailedItemResultFragment
    }
    inserted {
      ...BulkAwardLoyaltyPointsInsertedItemResultFragment
    }
  }
}

Variables

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Arguments

Name Description

input (CancelEnrollmentInput)

Return fields

Name Description

enrollmentProcess (EnrollmentProcess!)

The Enrollment process that was cancelled.

message (String!)

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

input (CancelLeaveSupplierInput)

Return fields

Name Description

message (String!)

The message to display to the user on cancellation.

Mutation

mutation CancelLeaveSupplier($input: CancelLeaveSupplierInput!) {
  cancelLeaveSupplier(input: $input) {
    message
  }
}

Variables

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can cancel payments

Arguments

Name Description

input (CancelPaymentInput)

Input fields for cancelling a pending payment.

Return fields

Name Description

payment (AccountPaymentType)

The cancelled payment.

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

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 (CancelRepaymentRequestInputType)

Input fields for cancelling a repayment request.

Return fields

Name Description

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

repaymentRequest (CancelRepaymentRequestOutputType)

The cancelled repayment/refund request.

Mutation

mutation CancelRepaymentRequest($input: CancelRepaymentRequestInputType!) {
  cancelRepaymentRequest(input: $input) {
    repaymentRequest {
      ...CancelRepaymentRequestOutputTypeFragment
    }
  }
}

Variables

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can register smartflex devices

Arguments

Name Description

input (CancelSmartFlexOnboardingInput)

Return fields

Name Description

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

wizard (SmartFlexOnboardingWizard)

The wizard created for onboarding the device with SmartFlex.

Mutation

mutation CancelSmartFlexOnboarding($input: CancelSmartFlexOnboardingInput!) {
  cancelSmartFlexOnboarding(input: $input) {
    wizard {
      ...SmartFlexOnboardingWizardFragment
    }
  }
}

Variables

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can run credit check

Arguments

Name Description

input (CheckCreditRiskInput)

Return fields

Name Description

passedCreditCheck (Boolean)

Indicates whether the user has passed the credit risk check.

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

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

input (CloseDCAProceedingInputType)

Return fields

Name Description

dcaProceedingClosureStatus (DCAProceedingClosureStatus)

Whether the closure could be applied.

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

Mutation

mutation CloseDcaProceeding($input: CloseDCAProceedingInputType!) {
  closeDcaProceeding(input: $input) {
    dcaProceedingClosureStatus {
      ...DCAProceedingClosureStatusFragment
    }
  }
}

Variables

Response

{
  "data": {
    "closeDcaProceeding": {
      "dcaProceedingClosureStatus": DCAProceedingClosureStatus
    }
  }
}

closeInkConversation

Type: CloseInkConversation

URL: https://api.oees-kraken.energy/v1/graphql/

Query Complexity: 1

Possible Errors:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can update ink conversation status

Arguments

Name Description

input (CloseInkConversationInput)

Input for closing an Ink conversation.

Return fields

Name Description

conversation (InkConversation)

The conversation that was closed.

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

Mutation

mutation CloseInkConversation($input: CloseInkConversationInput) {
  closeInkConversation(input: $input) {
    conversation {
      ...InkConversationFragment
    }
  }
}

Variables

Response

{
  "data": {
    "closeInkConversation": {
      "conversation": InkConversation
    }
  }
}

closeInkLiveChat

Type: CloseInkLiveChatConversation

URL: https://api.oees-kraken.energy/v1/graphql/

Query Complexity: 1

Possible Errors:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can manage ink live chat

Arguments

Name Description

input (CloseInkLiveChaConversationtInput)

Return fields

Name Description

liveChatConversation (InkLiveChatConversation)

The live chat conversation.

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

Mutation

mutation CloseInkLiveChat($input: CloseInkLiveChaConversationtInput) {
  closeInkLiveChat(input: $input) {
    liveChatConversation {
      ...InkLiveChatConversationFragment
    }
  }
}

Variables

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Return fields

Name Description

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

printBatch (PrintBatchType)

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can perform payments operations AND Can use deposit system

Arguments

Name Description

input (CollectDepositInput)

Return fields

Name Description

payment (CollectDepositOutput)

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can access customer queries
OR Can collect payments

Arguments

Name Description

input (CollectPaymentInput)

Input fields for collecting a payment.

Return fields

Name Description

payment (AccountPaymentType)

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.

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

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

input (CommenceDCAProceedingInputType)

Return fields

Name Description

dcaProceedingCommencementStatus (DCAProceedingCommencementStatus)

Whether the commencement could be applied.

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

Mutation

mutation CommenceDcaProceeding($input: CommenceDCAProceedingInputType!) {
  commenceDcaProceeding(input: $input) {
    dcaProceedingCommencementStatus {
      ...DCAProceedingCommencementStatusFragment
    }
  }
}

Variables

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can complete approvals

Arguments

Name Description

input (CompleteApprovalInputType)

Input for completing the approval.

Return fields

Name Description

completedApproval (CompletedApproval)

The result of completing the approval.

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

Mutation

mutation CompleteApproval($input: CompleteApprovalInputType!) {
  completeApproval(input: $input) {
    completedApproval {
      ...CompletedApprovalFragment
    }
  }
}

Variables

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

input (CompleteAuthFlowInput)

Return fields

Name Description

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

wizard (SmartFlexOnboardingWizard)

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can update reminders

Arguments

Name Description

input (CompleteReminderInput)

Input variables needed for completing a reminder.

Return fields

Name Description

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can initiate standalone payments

Arguments

Name Description

input (CompleteStandalonePaymentInput)

Input fields for completing a standalone payment.

Return fields

Name Description

payment (CompleteStandalonePaymentOutput)

The completed standalone payment.

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

Mutation

mutation CompleteStandalonePayment($input: CompleteStandalonePaymentInput!) {
  completeStandalonePayment(input: $input) {
    payment {
      ...CompleteStandalonePaymentOutputFragment
    }
  }
}

Variables

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

input (CompleteSmartFlexOnboardingStepInput)

Return fields

Name Description

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

wizard (SmartFlexOnboardingWizard)

The wizard created for onboarding the device with SmartFlex.

Mutation

mutation CompleteTeslaSetupVirtualKeyForSmartFlexOnboarding($input: CompleteSmartFlexOnboardingStepInput!) {
  completeTeslaSetupVirtualKeyForSmartFlexOnboarding(input: $input) {
    wizard {
      ...SmartFlexOnboardingWizardFragment
    }
  }
}

Variables

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

input (CompleteSmartFlexOnboardingStepInput)

Return fields

Name Description

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

wizard (SmartFlexOnboardingWizard)

The wizard created for onboarding the device with SmartFlex.

Mutation

mutation CompleteUserActionForSmartFlexOnboarding($input: CompleteSmartFlexOnboardingStepInput!) {
  completeUserActionForSmartFlexOnboarding(input: $input) {
    wizard {
      ...SmartFlexOnboardingWizardFragment
    }
  }
}

Variables

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

input (UserInputRequiredInput)

Return fields

Name Description

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

wizard (SmartFlexOnboardingWizard)

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can access customer queries
OR Can edit customer marketing preference

Arguments

Name Description

input (ConfirmDoubleOptInInput)

Return fields

Name Description

consent (ConsentType)

The consent that was created or updated.

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

Mutation

mutation ConfirmDoubleOptIn($input: ConfirmDoubleOptInInput) {
  confirmDoubleOptIn(input: $input) {
    consent {
      ...ConsentTypeFragment
    }
  }
}

Variables

Response

{
  "data": {
    "confirmDoubleOptIn": {
      "consent": ConsentType
    }
  }
}

connectAiAgentToCall

Type: ConnectAiAgentToCall

URL: https://api.oees-kraken.energy/v1/graphql/

Query Complexity: 1

Possible Errors:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can manage calls

Arguments

Name Description

input (ConnectAiAgentToCallInput)

Return fields

Name Description

call (InboundCallType)

The call the AI agent was connected to.

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

Mutation

mutation ConnectAiAgentToCall($input: ConnectAiAgentToCallInput!) {
  connectAiAgentToCall(input: $input) {
    call {
      ...InboundCallTypeFragment
    }
  }
}

Variables

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 (CreateAccountChargeInput)

Input fields for creating an account charge.

Return fields

Name Description

accountCharge (AccountChargeType)

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

Mutation

mutation CreateAccountCharge($input: CreateAccountChargeInput!) {
  createAccountCharge(input: $input) {
    accountCharge {
      ...AccountChargeTypeFragment
    }
  }
}

Variables

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

input (CreateAccountFileAttachmentInput)

Return fields

Name Description

clientMutationId (String)

postRequest (UploadPostRequest)

Mutation

mutation CreateAccountFileAttachment($input: CreateAccountFileAttachmentInput!) {
  createAccountFileAttachment(input: $input) {
    clientMutationId
    postRequest {
      ...UploadPostRequestFragment
    }
  }
}

Variables

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can create account notes

Arguments

Name Description

input (CreateAccountNoteInput)

Input variables needed for adding a note to an account.

Return fields

Name Description

account (Account)

Account, which has the added note.

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can access customer queries
OR Can manage payment schedules

Arguments

Name Description

input (CreateAccountPaymentScheduleInput)

Input fields for updating a payment schedule.

Return fields

Name Description

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

schedule (PaymentScheduleType!)

New payment schedule.

Mutation

mutation CreateAccountPaymentSchedule($input: CreateAccountPaymentScheduleInput!) {
  createAccountPaymentSchedule(input: $input) {
    schedule {
      ...PaymentScheduleTypeFragment
    }
  }
}

Variables

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can access customer queries
OR Can create account reference

Arguments

Name Description

input (AccountReferenceInput)

Input fields for creating an account reference.

Return fields

Name Description

accountReference (AccountReferenceType)

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

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:

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 (CreateAccountReminderInput)

Input variables needed for creating an account reminder.

Return fields

Name Description

accountReminder (AccountReminder)

Account reminder.

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

Mutation

mutation CreateAccountReminder($input: CreateAccountReminderInput!) {
  createAccountReminder(input: $input) {
    accountReminder {
      ...AccountReminderFragment
    }
  }
}

Variables

Response

{
  "data": {
    "createAccountReminder": {
      "accountReminder": AccountReminder
    }
  }
}

Type: CreateAffiliateLink!

URL: https://api.oees-kraken.energy/v1/graphql/

Create an affiliate link for a new sales agent.

Query Complexity: 1

Possible Errors:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Arguments

Name Description

input (CreateAffiliateLinkInputType)

Input fields for creating an affiliate link for an organisation.

Return fields

Name Description

affiliateLink (AffiliateLinkType)

The created affiliate link.

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

Mutation

mutation CreateAffiliateLink($input: CreateAffiliateLinkInputType!) {
  createAffiliateLink(input: $input) {
    affiliateLink {
      ...AffiliateLinkTypeFragment
    }
  }
}

Variables

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Arguments

Name Description

input (CreateAffiliateOrganisationInputType)

Input fields for creating an affiliate organisation.

Return fields

Name Description

affiliateOrganisation (AffiliateOrganisationType)

The created affiliate organisation.

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

Mutation

mutation CreateAffiliateOrganisation($input: CreateAffiliateOrganisationInputType!) {
  createAffiliateOrganisation(input: $input) {
    affiliateOrganisation {
      ...AffiliateOrganisationTypeFragment
    }
  }
}

Variables

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 (CreateAffiliateSessionInputType)

Input fields for creating a session for an affiliate link.

Return fields

Name Description

affiliateSession (AffiliateSessionType)

The created affiliate session.

Mutation

mutation CreateAffiliateSession($input: CreateAffiliateSessionInputType!) {
  createAffiliateSession(input: $input) {
    affiliateSession {
      ...AffiliateSessionTypeFragment
    }
  }
}

Variables

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 (CreateAgreementInput)

Input fields for creating an agreement.

Return fields

Name Description

agreement (CommonAgreementType)

The created agreement.

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can create agreement rollovers AND Can query agreement rollovers

Arguments

Name Description

input (CreateAgreementRolloverInput)

Create an agreement rollover for a specific account and agreement.

Return fields

Name Description

agreementRollover (AgreementRolloverType)

The new agreement rollover.

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

Mutation

mutation CreateAgreementRollover($input: CreateAgreementRolloverInput!) {
  createAgreementRollover(input: $input) {
    agreementRollover {
      ...AgreementRolloverTypeFragment
    }
  }
}

Variables

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can create api exceptions

Arguments

Name Description

input (CreateAPICallInput)

Input fields for creating an API call.

Return fields

Name Description

apiCall (APICallType)

The created APICall.

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

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 (CreateAPIExceptionInput)

Input fields for creating an API exception.

Return fields

Name Description

apiException (APIExceptionType)

The created APIException.

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

Mutation

mutation CreateApiException($input: CreateAPIExceptionInput!) {
  createApiException(input: $input) {
    apiException {
      ...APIExceptionTypeFragment
    }
  }
}

Variables

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can create api exceptions

Arguments

Name Description

input (CreateAPIExceptionEventInput)

Input fields for creating an API exception event.

Return fields

Name Description

apiExceptionEvent (APIExceptionEventType)

The created APIExceptionEvent.

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

Mutation

mutation CreateApiExceptionEvent($input: CreateAPIExceptionEventInput!) {
  createApiExceptionEvent(input: $input) {
    apiExceptionEvent {
      ...APIExceptionEventTypeFragment
    }
  }
}

Variables

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can create api exception notes

Arguments

Name Description

input (CreateAPIExceptionNoteInput)

Input fields for creating an API exception note.

Return fields

Name Description

apiException (APIExceptionType)

The created APIExceptionNote.

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

Mutation

mutation CreateApiExceptionNote($input: CreateAPIExceptionNoteInput!) {
  createApiExceptionNote(input: $input) {
    apiException {
      ...APIExceptionTypeFragment
    }
  }
}

Variables

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Arguments

Name Description

input (AudioRecordingInputType)

Input fields required to create an audio recording.

Return fields

Name Description

audioRecording (AudioRecordingType)

The created audio recording.

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

Mutation

mutation CreateAudioRecording($input: AudioRecordingInputType!) {
  createAudioRecording(input: $input) {
    audioRecording {
      ...AudioRecordingTypeFragment
    }
  }
}

Variables

Response

{
  "data": {
    "createAudioRecording": {
      "audioRecording": AudioRecordingType
    }
  }
}

createBusiness

Type: CreateBusiness

URL: https://api.oees-kraken.energy/v1/graphql/

Create a business.

Query Complexity: 1

Possible Errors:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can create businesses AND Can query businesses

Arguments

Name Description

input (CreateBusinessInput)

Input for creating a business.

Return fields

Name Description

business (BusinessType)

The created business.

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can manage calls

Arguments

Name Description

input (CallMetadataInput)

Return fields

Name Description

call (CallInterface)

The call metadata was attached to.

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can manage voice campaigns

Arguments

Name Description

input (CreateCampaignItemsInput)

Return fields

Name Description

batchIdentifier (String)

The identifier for this batch of items to assist in tracking and logging.

campaignItems ([VoiceCampaignItemType])

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

Mutation

mutation CreateCampaignItems($input: CreateCampaignItemsInput!) {
  createCampaignItems(input: $input) {
    batchIdentifier
    campaignItems {
      ...VoiceCampaignItemTypeFragment
    }
  }
}

Variables

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can associate item to collection process

Arguments

Name Description

input (CreateCollectionProcessEventInputType)

Input variables needed for creating a collection process event.

Return fields

Name Description

collectionProcessEvent (CollectionProcessEventOutputType)

The created collection process event.

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

Mutation

mutation CreateCollectionProcessEvent($input: CreateCollectionProcessEventInputType!) {
  createCollectionProcessEvent(input: $input) {
    collectionProcessEvent {
      ...CollectionProcessEventOutputTypeFragment
    }
  }
}

Variables

Response

{
  "data": {
    "createCollectionProcessEvent": {
      "collectionProcessEvent": CollectionProcessEventOutputType
    }
  }
}

createComplaint

Type: CreateComplaint

URL: https://api.oees-kraken.energy/v1/graphql/

Create a complaint.

Query Complexity: 1

Possible Errors:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can access customer queries
OR Can create complaints

Arguments

Name Description

complaint (CreateComplaintInputType)

Return fields

Name Description

complaint (ComplaintType)

The complaint that has been created.

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Arguments

Name Description

input (CreateContractInput)

Return fields

Name Description

identifier (NonEmptyString)

Unique identifier for the created contract.

wasCreated (Boolean!)

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can manage contribution agreements

Arguments

Name Description

input (CreateContributionAgreementInput)

Input variables needed for creating a contribution agreement on an account.

Return fields

Name Description

contributionAgreement (ContributionAgreementType)

The created contribution agreement.

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

Mutation

mutation CreateContributionAgreement($input: CreateContributionAgreementInput!) {
  createContributionAgreement(input: $input) {
    contributionAgreement {
      ...ContributionAgreementTypeFragment
    }
  }
}

Variables

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 (CreateCreditTransferPermissionInput)

Input fields to create a credit transfer permission.

Return fields

Name Description

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

validFrom (DateTime)

Datetime when the credit transfer permission is valid.

Mutation

mutation CreateCreditTransferPermission($input: CreateCreditTransferPermissionInput!) {
  createCreditTransferPermission(input: $input) {
    validFrom
  }
}

Variables

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can create customer feedback

Arguments

Name Description

input (CreateCustomerFeedbackInputType)

Return fields

Name Description

customerFeedback (CustomerFeedbackType)

The created customer feedback object.

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

Mutation

mutation CreateCustomerFeedback($input: CreateCustomerFeedbackInputType!) {
  createCustomerFeedback(input: $input) {
    customerFeedback {
      ...CustomerFeedbackTypeFragment
    }
  }
}

Variables

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can perform payments operations AND Can use deposit system

Arguments

Name Description

input (CreateDepositAgreementInput)

Return fields

Name Description

depositAgreement (CreateDepositAgreementOutput)

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

Mutation

mutation CreateDepositAgreement($input: CreateDepositAgreementInput!) {
  createDepositAgreement(input: $input) {
    depositAgreement {
      ...CreateDepositAgreementOutputFragment
    }
  }
}

Variables

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

(No)

Rate Limits

Key Steps

Ip

['200/m']

Arguments

Name Description

input (CreateEnergyAccountInput)

Return fields

Name Description

accountNif (String)

Customer's Spanish fiscal code.

accountNumber (String)

The account number.

electricityAgreementNumber (String)

Electricity supply point agreement number.

gasAgreementNumber (String)

Gas supply point agreement number.

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

referralCreated (Boolean)

Resolves whether a referral was created as part of this account creation.

token (String)

Token for setting the initial password.

userId (String)

Id for setting the initial password.

Mutation

mutation CreateEnergyAccount($input: CreateEnergyAccountInput) {
  createEnergyAccount(input: $input) {
    accountNif
    accountNumber
    electricityAgreementNumber
    gasAgreementNumber
    referralCreated
    token
    userId
  }
}

Variables

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can create external account events

Arguments

Name Description

input (CreateExternalAccountEventInput)

Input fields for creating an external account event.

Return fields

Name Description

event (ExternalAccountEvent)

The new event data.

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

Mutation

mutation CreateExternalAccountEvent($input: CreateExternalAccountEventInput!) {
  createExternalAccountEvent(input: $input) {
    event {
      ...ExternalAccountEventFragment
    }
  }
}

Variables

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can create external account events

Arguments

Name Description

input (CreateExternalAccountUserEventInput)

Input fields for creating an external account event.

Return fields

Name Description

event (ExternalAccountUserEvent)

The new event data.

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

Mutation

mutation CreateExternalAccountUserEvent($input: CreateExternalAccountUserEventInput!) {
  createExternalAccountUserEvent(input: $input) {
    event {
      ...ExternalAccountUserEventFragment
    }
  }
}

Variables

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can create external messages

Arguments

Name Description

input (CreateExternalMessageInput)

Input variables needed for creating an external message.

Return fields

Name Description

externalMessage (ExternalMessageType)

The external message that was created.

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

Mutation

mutation CreateExternalMessage($input: CreateExternalMessageInput!) {
  createExternalMessage(input: $input) {
    externalMessage {
      ...ExternalMessageTypeFragment
    }
  }
}

Variables

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can create external messages events

Arguments

Name Description

input (CreateExternalMessageEventInput)

The event to record against an external message.

Return fields

Name Description

externalMessageEvent (ExternalMessageEventType)

The external message event that was created.

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

Mutation

mutation CreateExternalMessageEvent($input: CreateExternalMessageEventInput!) {
  createExternalMessageEvent(input: $input) {
    externalMessageEvent {
      ...ExternalMessageEventTypeFragment
    }
  }
}

Variables

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

input (FormSubmissionInput)

Return fields

Name Description

content (JSONString)

errors ([SerializerFieldErrorsType])

id (Int)

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can manage goods purchases

Arguments

Name Description

input (CreatePurchaseInput)

Input fields for creating a purchase without a quote.

Return fields

Name Description

goodsPurchase (GoodsPurchase)

Goods purchase created.

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can create goods quotes

Arguments

Name Description

input (CreateGoodsQuoteInput)

Input fields for creating a goods quote.

Return fields

Name Description

goodsQuote (GoodsQuote)

Goods quote created for the customer.

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can manage goods purchases

Arguments

Name Description

input (CreateGoodsQuoteWithoutAccountInput)

Input fields for creating a goods quote without an existing account.

Return fields

Name Description

goodsQuote (GoodsQuote)

Goods quote created for the customer.

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

Mutation

mutation CreateGoodsQuoteWithoutAccount($input: CreateGoodsQuoteWithoutAccountInput!) {
  createGoodsQuoteWithoutAccount(input: $input) {
    goodsQuote {
      ...GoodsQuoteFragment
    }
  }
}

Variables

Response

{
  "data": {
    "createGoodsQuoteWithoutAccount": {
      "goodsQuote": GoodsQuote
    }
  }
}

createInboundCall

Type: CreateInboundCall

URL: https://api.oees-kraken.energy/v1/graphql/

Query Complexity: 1

Possible Errors:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can manage calls

Arguments

Name Description

input (CreateInboundCallInput)

Return fields

Name Description

call (InboundCallType)

The call that was created.

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

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

input (CreateInkInboundMessageInput)

Return fields

Name Description

message (InkMessage!)

The Ink message that was created.

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

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

Response

{
  "data": {
    "createInkInboundMessage": {
      "message": InkEmail
    }
  }
}

createInkLiveChatMessage

Type: CreateInkLiveChatMessage

URL: https://api.oees-kraken.energy/v1/graphql/

Query Complexity: 1

Possible Errors:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can manage ink live chat

Arguments

Name Description

input (CreateInkLiveChatMessageInput)

Return fields

Name Description

liveChatConversation (InkLiveChatConversation)

The live chat conversation.

messageRelayId (String!)

The ID of the Ink Live Chat message that was created.

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

Mutation

mutation CreateInkLiveChatMessage($input: CreateInkLiveChatMessageInput) {
  createInkLiveChatMessage(input: $input) {
    liveChatConversation {
      ...InkLiveChatConversationFragment
    }
    messageRelayId
  }
}

Variables

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can create internal companies

Arguments

Name Description

input (CreateInternalCompanyInput)

The input required to create an internal company.

Return fields

Name Description

internalCompany (CreateInternalCompanyResultType)

The result of the create internal company operation.

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

Mutation

mutation CreateInternalCompany($input: CreateInternalCompanyInput!) {
  createInternalCompany(input: $input) {
    internalCompany {
      ...CreateInternalCompanyResultTypeFragment
    }
  }
}

Variables

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can create leads

Arguments

Name Description

input (CreateLeadInput)

Input fields for creating a lead.

Return fields

Name Description

leadNumber (String)

The unique number of the lead.

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can mutate metadata

Arguments

Name Description

input (MetadataInput)

Input fields for creating metadata.

Return fields

Name Description

metadata (Metadata)

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

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:

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 (CreateMfaDeviceInputType)

Input fields for creating a new multi-factor authentication device for the logged user.

Return fields

Name Description

deviceEmail (String)

Email address to send the MFA code by default.

devicePhone (String)

Phone number to send the MFA code by default.

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

totpSecret (String)

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

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:

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

input (CreateNewAgreementFromProductSwitchProcessInput)

Validate the product switch flow data and creates a ProcessSwitchProcess model.

Return fields

Name Description

agreement (CommonAgreementType)

The new agreement created.

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

Mutation

mutation CreateNewAgreementFromProductSwitchProcess($input: CreateNewAgreementFromProductSwitchProcessInput!) {
  createNewAgreementFromProductSwitchProcess(input: $input) {
    agreement {
      ...CommonAgreementTypeFragment
    }
  }
}

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can create quoting offer group

Arguments

Name Description

input (CreateOfferGroupForQuotingInput)

Input fields for creating an offer group from a list of offers.

Return fields

Name Description

offerGroup (CreateOfferGroupType)

Quoting Offer Group.

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

Mutation

mutation CreateOfferGroupForQuoting($input: CreateOfferGroupForQuotingInput!) {
  createOfferGroupForQuoting(input: $input) {
    offerGroup {
      ...CreateOfferGroupTypeFragment
    }
  }
}

Variables

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

input (CreateOnSiteJobsRequestInputType)

The input objects required to create a Request.

Return fields

Name Description

onSiteJobsRequest (OnSiteJobsRequestType)

The created request.

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

Mutation

mutation CreateOnSiteJobsRequest($input: CreateOnSiteJobsRequestInputType!) {
  createOnSiteJobsRequest(input: $input) {
    onSiteJobsRequest {
      ...OnSiteJobsRequestTypeFragment
    }
  }
}

Variables

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can create leads

Arguments

Name Description

input (CreateOpportunityAndLeadInput)

Input fields for creating an opportunity.

Return fields

Name Description

dateOfCreation (DateTime)

The date the opportunity was created.

funnelCode (String)

The code of the funnel.

opportunityNumber (String)

The unique number of the opportunity.

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

stage (String)

The stage of the opportunity.

Mutation

mutation CreateOpportunityAndLead($input: CreateOpportunityAndLeadInput!) {
  createOpportunityAndLead(input: $input) {
    dateOfCreation
    funnelCode
    opportunityNumber
    stage
  }
}

Variables

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 (CreateOpportunityFileAttachmentInput)

Input to create an Opportunity File Attachment.

Return fields

Name Description

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

result (String)

Whether the operation was successful.

Mutation

mutation CreateOpportunityFileAttachment($input: CreateOpportunityFileAttachmentInput!) {
  createOpportunityFileAttachment(input: $input) {
    result
  }
}

Variables

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 (CreateOpportunityForLeadInput)

Input fields for creating an opportunity for a lead.

Return fields

Name Description

dateOfCreation (DateTime)

The date the opportunity was created.

opportunityNumber (String)

The unique number of the opportunity.

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

Mutation

mutation CreateOpportunityForLead($input: CreateOpportunityForLeadInput!) {
  createOpportunityForLead(input: $input) {
    dateOfCreation
    opportunityNumber
  }
}

Variables

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can create or update loyalty cards

Arguments

Name Description

input (CreateOrUpdateLoyaltyCardInput)

Input fields for creating or updating a loyalty card.

Return fields

Name Description

loyaltyCard (LoyaltyCardType)

Created or updated loyalty card.

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

Mutation

mutation CreateOrUpdateLoyaltyCard($input: CreateOrUpdateLoyaltyCardInput!) {
  createOrUpdateLoyaltyCard(input: $input) {
    loyaltyCard {
      ...LoyaltyCardTypeFragment
    }
  }
}

Variables

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Arguments

Name Description

input (CreateOrUpdateTimeSeriesEntriesInput)

The time series input for time series entry creation or update.

Return fields

Name Description

code (String!)

The time series code.

description (String)

The time series description.

meta (JSONString)

The time series meta information.

name (String!)

The time series display name.

periodSize (String!)

The time series period size value.

productCode (String)

The product code associated to the time series.

unit (String!)

The time series unit value.

variants ([VariantProfile!]!)

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

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can create payment action intents

Arguments

Name Description

input (CreatePaymentActionIntentInput)

Input fields for creating a payment action intent.

Return fields

Name Description

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

token (ID!)

The action intent token.

Mutation

mutation CreatePaymentActionIntent($input: CreatePaymentActionIntentInput!) {
  createPaymentActionIntent(input: $input) {
    token
  }
}

Variables

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can create payment method action intents

Arguments

Name Description

input (CreatePaymentMethodActionIntentInput)

Input fields for creating a payment method action intent.

Return fields

Name Description

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

token (ID!)

The action intent token.

Mutation

mutation CreatePaymentMethodActionIntent($input: CreatePaymentMethodActionIntentInput!) {
  createPaymentMethodActionIntent(input: $input) {
    token
  }
}

Variables

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can create portfolios

Arguments

Name Description

input (CreatePortfolioInput)

Input fields for creating a portfolio.

Return fields

Name Description

portfolio (PortfolioType)

The created portfolio.

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can update portfolios

Arguments

Name Description

input (CreatePortfolioUserRoleInput)

Input fields for connecting a user to a portfolio.

Return fields

Name Description

portfolioUserRole (PortfolioUserRoleType)

The created role for a user in association with a portfolio.

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

Mutation

mutation CreatePortfolioUserRole($input: CreatePortfolioUserRoleInput) {
  createPortfolioUserRole(input: $input) {
    portfolioUserRole {
      ...PortfolioUserRoleTypeFragment
    }
  }
}

Variables

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can create post events

Arguments

Name Description

input (CreatePostEventsInput)

Batch of post events to create.

Return fields

Name Description

createdEventsCount (Int)

Number of events successfully created.

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

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

input (CreateProductInput)

Return fields

Name Description

product (SupplyProductType)

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can create electricity quote
OR Can create gas quote

Arguments

Name Description

input (CreateQuoteInput)

Input for creating a quote.

Return fields

Name Description

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

quoteRequest (QuoteRequest)

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can query quotes AND Can switch product

Arguments

Name Description

input (CreateQuoteForAccountInput)

Return fields

Name Description

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

quoteRequest (MarketSupplyQuoteRequestType)

Returns a quote request.

Mutation

mutation CreateQuoteForAccount($input: CreateQuoteForAccountInput!) {
  createQuoteForAccount(input: $input) {
    quoteRequest {
      ...MarketSupplyQuoteRequestTypeFragment
    }
  }
}

Variables

Response

{
  "data": {
    "createQuoteForAccount": {
      "quoteRequest": MarketSupplyQuoteRequestType
    }
  }
}

createQuoteForProducts

Type: QuoteRequest

URL: https://api.oees-kraken.energy/v1/graphql/

Create a quote.

Query Complexity: 1

Possible Errors:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

(No)

Rate Limits

Key Steps

Ip

['10/m']

Arguments

Name Description

input (CreateQuoteForProductsInput)

Return fields

Name Description

code (String!)

The code of the created quote.

id (ID!)

The ID of the quote request.

quotedSupplyPoints ([QuotedSupplyPoint]!)

List of quoted supply points.

Mutation

mutation CreateQuoteForProducts($input: CreateQuoteForProductsInput!) {
  createQuoteForProducts(input: $input) {
    code
    id
    quotedSupplyPoints {
      ...QuotedSupplyPointFragment
    }
  }
}

Variables

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:

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 (CreateReferralInput)

Input fields for creating a referral.

Return fields

Name Description

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

referredAccountRewardAmount (Int)

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can create account reminders

Arguments

Name Description

input (CreateReminderInput)

Input variables needed for creating an account reminder.

Return fields

Name Description

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

reminder (Reminder)

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:

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 (CreateScheduledTransactionsInput)

Input fields to create scheduled transactions.

Return fields

Name Description

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

scheduledTransactions ([ScheduledTransactionType])

Mutation

mutation CreateScheduledTransactions($input: [CreateScheduledTransactionsInput]!) {
  createScheduledTransactions(input: $input) {
    scheduledTransactions {
      ...ScheduledTransactionTypeFragment
    }
  }
}

Variables

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

input (CreateShellAccountInput)

Return fields

Name Description

account (AccountInterface)

billingAddressLine1 (String)

billingAddressLine2 (String)

billingAddressLine3 (String)

billingAddressLine4 (String)

billingAddressLine5 (String)

billingName (String)

billingPeriodDay (Int)

Day to fixed bill on if billing_period_length set.

billingPeriodLength (String)

For fixed billing accounts only, the length of their billing period. Can be MONTHLY or QUARTERLY.

billingPeriodMonth (Int)

Month to start billing from if billing_period_length set to QUARTERLY or the multiplier is > 1.

billingPeriodMultiplier (Int)

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.

billingPostcode (String)

billingRichAddress (String)

This must be a string-ified version of the JSON representation of RichAddressInput type.

brand (String)

businessType (String)

clientMutationId (String)

companyName (String)

companyNumber (String)

dateOfBirth (Date)

email (String!)

errors ([ErrorType])

familyName (String!)

givenName (String!)

isBusinessAccount (Boolean)

landline (String)

mobile (String)

password (String)

passwordUpdateToken (String)

portfolioNumber (String)

urn (String)

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

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 (CreateSolarWalletRelationshipType)

Input fields for creating a solar wallet sharing credit between ledgers.

Return fields

Name Description

creditSharingLedgerId (Int)

Credit sharing ledgers id.

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

sourceAccountNumber (String)

Source account number of the solar wallet ledger.

success (Boolean)

A flag that ensures changes have been made.

targetAccountNumber (String)

Target account number of the electricity ledger.

targetGivenName (String)

Target account given name.

validFrom (DateTime)

Datetime when the solar wallet credit sharing ledger begins.

validTo (DateTime)

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

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:

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

input (CreateTimeSeriesPricesInput)

The time series input for price creation.

Return fields

Name Description

code (String!)

The time series code.

description (String)

The time series description.

meta (JSONString)

The time series meta information.

name (String!)

The time series display name.

periodSize (String!)

The time series period size value.

productCode (String)

The product code associated to the time series.

unit (String!)

The time series unit value.

variants ([VariantProfile!]!)

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

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

input (DeAuthenticationInput)

Return fields

Name Description

krakenflexDevice (DeviceDetailsType)

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

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

input (DeauthenticateFlexDeviceInput)

Return fields

Name Description

krakenflexDevice (DeviceDetailsType)

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

Mutation

mutation DeauthenticateFlexDevice($input: DeauthenticateFlexDeviceInput) {
  deauthenticateFlexDevice(input: $input) {
    krakenflexDevice {
      ...DeviceDetailsTypeFragment
    }
  }
}

Variables

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can deduct loyalty points

Arguments

Name Description

input (DeductLoyaltyPointsInput)

Input fields for deducting Loyalty Points.

Return fields

Name Description

ledgerEntry (LoyaltyPointLedgerEntryType)

The ledger entry for the deducted loyalty points.

pointsDeducted (Int)

The number of loyalty points that were deducted.

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

Mutation

mutation DeductLoyaltyPoints($input: DeductLoyaltyPointsInput!) {
  deductLoyaltyPoints(input: $input) {
    ledgerEntry {
      ...LoyaltyPointLedgerEntryTypeFragment
    }
    pointsDeducted
  }
}

Variables

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can delete account reference

Arguments

Name Description

input (DeleteAccountReferenceInput)

Input fields for removing an account reference.

Return fields

Name Description

accountReference (DeleteAccountReferenceType)

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

Mutation

mutation DeleteAccountReference($input: DeleteAccountReferenceInput!) {
  deleteAccountReference(input: $input) {
    accountReference {
      ...DeleteAccountReferenceTypeFragment
    }
  }
}

Variables

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:

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

input (DeleteBoostChargeInput)

Return fields

Name Description

krakenflexDevice (KrakenFlexDeviceType)

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can delete mfa device

Arguments

Name Description

input (DeleteMfaDeviceInputType)

Input fields for deleting an existing multi-factor authentication device for the logged user.

Return fields

Name Description

deviceDeleted (Boolean)

Flag to indicate if the MFA device has been successfully deleted.

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

Mutation

mutation DeleteMfaDevice($input: DeleteMfaDeviceInputType!) {
  deleteMfaDevice(input: $input) {
    deviceDeleted
  }
}

Variables

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can manage property hierarchies

Arguments

Name Description

input (DeletePropertyDescendantsInput)

Input fields for deleting descendants from a property.

Return fields

Name Description

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

property (PropertyType)

The property whose descendants were deleted.

Mutation

mutation DeletePropertyDescendants($input: DeletePropertyDescendantsInput!) {
  deletePropertyDescendants(input: $input) {
    property {
      ...PropertyTypeFragment
    }
  }
}

Variables

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 (DeletePushNotificationBindingInput)

Input fields for deleting a push notification binding.

Return fields

Name Description

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

status (DeletePushNotificationBindingOutput)

Mutation

mutation DeletePushNotificationBinding($input: DeletePushNotificationBindingInput!) {
  deletePushNotificationBinding(input: $input) {
    status
  }
}

Variables

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Arguments

Name Description

input (DetachAgreementsFromContractsInput)

Input for detaching agreements from contracts.

Return fields

Name Description

ok (Boolean!)

True if the agreements were successfully detached.

Mutation

mutation DetachAgreementsFromContracts($input: DetachAgreementsFromContractsInput!) {
  detachAgreementsFromContracts(input: $input) {
    ok
  }
}

Variables

Response

{
  "data": {
    "detachAgreementsFromContracts": {
      "ok": true
    }
  }
}

detachSupplyPointFromEstimationGroup

Type: DetachSupplyPointFromEstimationGroup

URL: https://api.oees-kraken.energy/v1/graphql/

Query Complexity: 1

Possible Errors:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can manage supply point estimation group

Arguments

Name Description

input (DetachSupplyPointFromEstimationGroupInput)

Input fields for detaching a supply point from an estimation group.

Return fields

Name Description

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

supplyPoint (DeletedSupplyPointEstimationGroupType)

The deleted supply point.

Mutation

mutation DetachSupplyPointFromEstimationGroup($input: DetachSupplyPointFromEstimationGroupInput!) {
  detachSupplyPointFromEstimationGroup(input: $input) {
    supplyPoint {
      ...DeletedSupplyPointEstimationGroupTypeFragment
    }
  }
}

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:

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

input (DeviceRegistrationInput)

Return fields

Name Description

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

registeredDeviceIds ([String])

Device ID(s) of the registered device(s).

Mutation

mutation DeviceRegistration($input: DeviceRegistrationInput) {
  deviceRegistration(input: $input) {
    registeredDeviceIds
  }
}

Variables

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can manage contribution agreements

Arguments

Name Description

input (EndContributionAgreementInput)

Input variables needed for ending a contribution agreement on an account.

Return fields

Name Description

contributionAgreement (ContributionAgreementType)

The created contribution agreement.

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

Mutation

mutation EndContributionAgreement($input: EndContributionAgreementInput!) {
  endContributionAgreement(input: $input) {
    contributionAgreement {
      ...ContributionAgreementTypeFragment
    }
  }
}

Variables

Response

{
  "data": {
    "endContributionAgreement": {
      "contributionAgreement": ContributionAgreementType
    }
  }
}

enqueueInboundCall

Type: EnqueueInboundCall

URL: https://api.oees-kraken.energy/v1/graphql/

Query Complexity: 1

Possible Errors:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can manage calls

Arguments

Name Description

input (EnqueueInboundCallInput)

Return fields

Name Description

call (InboundCallType)

The call that was enqueued.

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

Mutation

mutation EnqueueInboundCall($input: EnqueueInboundCallInput!) {
  enqueueInboundCall(input: $input) {
    call {
      ...InboundCallTypeFragment
    }
  }
}

Variables

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can enrol customers in campaigns
OR Can join campaigns

Arguments

Name Description

input (EnrollAccountInLoyaltyProgramInput)

The account number to enroll in the loyalty program.

Return fields

Name Description

outcome (EnrollAccountInLoyaltyProgramOutcome)

Outcome of the loyalty points campaign enrollment.

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

Mutation

mutation EnrollAccountInLoyaltyProgram($input: EnrollAccountInLoyaltyProgramInput!) {
  enrollAccountInLoyaltyProgram(input: $input) {
    outcome {
      ...EnrollAccountInLoyaltyProgramOutcomeFragment
    }
  }
}

Variables

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Arguments

Name Description

input (EnrollmentInput)

The Enrollment Input data for the Join Supplier.

Return fields

Name Description

enrollmentProcesses ([EnrollmentProcess]!)

The Enrollment processes that were initiated.

message (String!)

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can escalate ink conversation

Arguments

Name Description

input (EscalateInkConversationInput)

Input for escalating an Ink conversation to the team leader.

Return fields

Name Description

conversationRelayId (ID!)

The ID of the conversation that was escalated.

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

Mutation

mutation EscalateInkConversation($input: EscalateInkConversationInput) {
  escalateInkConversation(input: $input) {
    conversationRelayId
  }
}

Variables

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 (ExtendAgreementPeriodInput)

Input for extending the agreement period.

Return fields

Name Description

agreement (CommonAgreementType)

Agreement that we are going to extend.

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

Mutation

mutation ExtendAgreementPeriod($input: ExtendAgreementPeriodInput!) {
  extendAgreementPeriod(input: $input) {
    agreement {
      ...CommonAgreementTypeFragment
    }
  }
}

Variables

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can generate payment fingerprint

Arguments

Name Description

input (FetchGeneratePaymentFingerprintInput)

Return fields

Name Description

fingerprint (String)

Fetched or generated fingerprint from vendor.

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

vendor (String)

Vendor name.

Mutation

mutation FetchGeneratePaymentFingerprint($input: FetchGeneratePaymentFingerprintInput!) {
  fetchGeneratePaymentFingerprint(input: $input) {
    fingerprint
    vendor
  }
}

Variables

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 (FetchPreSignedLinkForOpportunityAttachmentInput)

Input fields for fetching a pre-signed link for an opportunity file attachment.

Return fields

Name Description

opportunityFileAttachment (OpportunityFileAttachment)

The opportunity file attachment with pre-signed URL.

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

Mutation

mutation FetchPreSignedLinkForOpportunityAttachment($input: FetchPreSignedLinkForOpportunityAttachmentInput!) {
  fetchPreSignedLinkForOpportunityAttachment(input: $input) {
    opportunityFileAttachment {
      ...OpportunityFileAttachmentFragment
    }
  }
}

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 (ForceReauthenticationInput)

Input object argument to the force-reauthentication mutation.

Return fields

Name Description

effectiveAt (DateTime!)

The time at which forced reauthentication is effective. Kraken and refresh tokens issued before this time will be invalid.

tokensInvalidated (Boolean!)

Reports whether the mutation applied successfully. Should always be 'true'.

Mutation

mutation ForceReauthentication($input: ForceReauthenticationInput!) {
  forceReauthentication(input: $input) {
    effectiveAt
    tokensInvalidated
  }
}

Variables

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 (GenerateAffiliatesAudioRecordingPreSignedUrlInput)

Input fields for creating a pre-signed URL for uploading an audio file to S3.

Return fields

Name Description

affiliatesAudioRecordingPreSignedUrl (AffiliateAudioRecordingPresignedPostType)

Input fields required to generate a presigned S3 post for affiliates audio recording.

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

Mutation

mutation GenerateAffiliatesAudioRecordingPreSignedUrl($input: GenerateAffiliatesAudioRecordingPreSignedUrlInput!) {
  generateAffiliatesAudioRecordingPreSignedUrl(input: $input) {
    affiliatesAudioRecordingPreSignedUrl {
      ...AffiliateAudioRecordingPresignedPostTypeFragment
    }
  }
}

Response

{
  "data": {
    "generateAffiliatesAudioRecordingPreSignedUrl": {
      "affiliatesAudioRecordingPreSignedUrl": AffiliateAudioRecordingPresignedPostType
    }
  }
}

generateInkPresignedUrl

Type: GenerateInkPresignedUrl

URL: https://api.oees-kraken.energy/v1/graphql/

Query Complexity: 1

Possible Errors:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can create ink message attachments

Arguments

Name Description

input (GenerateInkPresignedUrlInput)

Return fields

Name Description

fields (JSONString!)

Presigned post fields required to upload the file.

key (String!)

The key for the item.

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

uploadUrl (String!)

A presigned URL for the user to upload to the quarantine bucket.

Mutation

mutation GenerateInkPresignedUrl($input: GenerateInkPresignedUrlInput) {
  generateInkPresignedUrl(input: $input) {
    fields
    key
    uploadUrl
  }
}

Variables

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 (GenerateLeadsFileAttachmentDownloadPreSignedUrlInput)

Input fields for creating a pre-signed URL for downloading a lead file attachment from S3.

Return fields

Name Description

leadsFileAttachmentDownloadPreSignedUrl (LeadsFileAttachmentDownloadPresignedUrlType)

Pre-signed S3 URL for downloading the leads file attachment.

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

Mutation

mutation GenerateLeadsFileAttachmentDownloadPreSignedUrl($input: GenerateLeadsFileAttachmentDownloadPreSignedUrlInput!) {
  generateLeadsFileAttachmentDownloadPreSignedUrl(input: $input) {
    leadsFileAttachmentDownloadPreSignedUrl {
      ...LeadsFileAttachmentDownloadPresignedUrlTypeFragment
    }
  }
}

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 (GenerateLeadsFileAttachmentPreSignedUrlInput)

Input fields for creating a pre-signed URL for uploading a lead file attachment file to S3.

Return fields

Name Description

leadsFileAttachmentPreSignedUrl (LeadsFileAttachmentPresignedPostType)

Input fields required to generate a presigned S3 post for leads file attachment.

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

Mutation

mutation GenerateLeadsFileAttachmentPreSignedUrl($input: GenerateLeadsFileAttachmentPreSignedUrlInput!) {
  generateLeadsFileAttachmentPreSignedUrl(input: $input) {
    leadsFileAttachmentPreSignedUrl {
      ...LeadsFileAttachmentPresignedPostTypeFragment
    }
  }
}

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can generate pre signed tokens

Arguments

Name Description

email (String)

numberOfDaysAllowed (Int)

The number of days that the token will be available for authentication (From now on).

scope (PreSignedTokenScope)

Define (and limit) the scope of the token.

Return fields

Name Description

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

scope (PreSignedTokenScope)

token (String)

tokenExpiryDatetime (DateTime)

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can create payment instructions

Arguments

Name Description

input (GetEmbeddedSecretForNewPaymentInstructionInput)

Input fields for getting the client secret for an embedded new card payment method form.

Return fields

Name Description

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

secretKey (String)

Mutation

mutation GetEmbeddedSecretForNewPaymentInstruction($input: GetEmbeddedSecretForNewPaymentInstructionInput!) {
  getEmbeddedSecretForNewPaymentInstruction(input: $input) {
    secretKey
  }
}

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 (GetEmbeddedSecretForNewPaymentInstructionWithoutAccountInput)

Input fields for getting the client secret for an embedded new card payment method form.

Return fields

Name Description

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

secretKey (String)

The client secret needed to create a new stored payment instruction.

Mutation

mutation GetEmbeddedSecretForNewPaymentInstructionWithoutAccount($input: GetEmbeddedSecretForNewPaymentInstructionWithoutAccountInput!) {
  getEmbeddedSecretForNewPaymentInstructionWithoutAccount(input: $input) {
    secretKey
  }
}

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can create payment instructions

Arguments

Name Description

input (GetHostedUrlForNewPaymentInstructionInput)

Input fields for getting the external URL for setting up a payment instruction.

Return fields

Name Description

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

url (String)

URL at which payment instruction can be set up.

Mutation

mutation GetHostedUrlForNewPaymentInstruction($input: GetHostedUrlForNewPaymentInstructionInput!) {
  getHostedUrlForNewPaymentInstruction(input: $input) {
    url
  }
}

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 (CreateAgreementInput)

Input fields for getting or creating an agreement.

Return fields

Name Description

agreement (CommonAgreementType)

The agreement that was retrieved or created.

created (Boolean)

Indicates whether a new agreement was created (true) or an existing agreement was returned (false).

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can allocate user roles

Arguments

Name Description

input (GrantUserAccessToBusinessInput)

Return fields

Name Description

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

Mutation

mutation GrantUserAccessToBusiness($input: GrantUserAccessToBusinessInput!) {
  grantUserAccessToBusiness(input: $input) {
  }
}

Variables

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

input (BaseInitializeAccountInput)

Return fields

Name Description

accountNumber (String)

The account number of the newly created account or the existing account to be re-used.

isNewAccount (Boolean)

Was a new account created.

Mutation

mutation InitializeAccount($input: BaseInitializeAccountInput!) {
  initializeAccount(input: $input) {
    accountNumber
    isNewAccount
  }
}

Variables

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

input (BaseInitializeUserInput)

Return fields

Name Description

isNewUser (Boolean)

Was a new user created.

userNumber (String)

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

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can access customer queries
OR Can initiate standalone payments

Arguments

Name Description

input (InitiateHostedStandalonePaymentInput)

Input fields for initiating a standalone payment.

Return fields

Name Description

payment (InitiateHostedStandalonePaymentOutput)

The details required to refer to and complete a hosted payment.

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

Mutation

mutation InitiateHostedStandalonePayment($input: InitiateHostedStandalonePaymentInput!) {
  initiateHostedStandalonePayment(input: $input) {
    payment {
      ...InitiateHostedStandalonePaymentOutputFragment
    }
  }
}

Variables

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

input (InitiateProductSwitchInput)

Instigate a product switch for a specific supply point given a valid product and account number.

Return fields

Name Description

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

productCode (String!)

The selected product for a specific product switch.

switchDate (Date!)

The date at which the product switch becomes effective.

Mutation

mutation InitiateProductSwitch($input: InitiateProductSwitchInput!) {
  initiateProductSwitch(input: $input) {
    productCode
    switchDate
  }
}

Variables

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can access customer queries
OR Can initiate standalone payments

Arguments

Name Description

input (InitiateStandalonePaymentInput)

Input fields for initiating a standalone payment.

Return fields

Name Description

payment (InitiateStandalonePaymentOutput)

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

Mutation

mutation InitiateStandalonePayment($input: InitiateStandalonePaymentInput!) {
  initiateStandalonePayment(input: $input) {
    payment {
      ...InitiateStandalonePaymentOutputFragment
    }
  }
}

Variables

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Arguments

Name Description

input (LeaveSupplierInput)

Return fields

Name Description

leaveSupplierProcessId (ID)

The ID of the newly created or existing leave supplier process.

Deprecated

The 'leaveSupplierProcessId' field is deprecated.

Process IDs are deprecated, please use 'number' instead.

- Marked as deprecated on 2025-08-06.
- Scheduled for removal on or after 2025-09-30.

message (String!)

The message to display to the user on termination initiation.

number (ID!)

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can access customer queries
OR Can invalidate payment instructions

Arguments

Name Description

input (InvalidatePaymentInstructionInput)

Input fields for invalidating a payment instruction from an embedded form.

Return fields

Name Description

instruction (InvalidatePaymentInstructionOutput)

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

Mutation

mutation InvalidatePaymentInstruction($input: InvalidatePaymentInstructionInput!) {
  invalidatePaymentInstruction(input: $input) {
    instruction {
      ...InvalidatePaymentInstructionOutputFragment
    }
  }
}

Variables

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

(No)

Rate Limits

Key Steps

Ip

['5/m']

Arguments

Name Description

input (InvalidatePreSignedTokenInput)

Return fields

Name Description

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

token (PreSignedToken)

Mutation

mutation InvalidatePreSignedToken($input: InvalidatePreSignedTokenInput!) {
  invalidatePreSignedToken(input: $input) {
    token {
      ...PreSignedTokenFragment
    }
  }
}

Variables

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:

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

input (InvalidatePreSignedTokensForUserInput)

Return fields

Name Description

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

tokens ([PreSignedToken])

Mutation

mutation InvalidatePreSignedTokensForUser($input: InvalidatePreSignedTokensForUserInput!) {
  invalidatePreSignedTokensForUser(input: $input) {
    tokens {
      ...PreSignedTokenFragment
    }
  }
}

Variables

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can invalidate refresh tokens

Arguments

Name Description

input (InvalidateRefreshTokenInput)

Return fields

Name Description

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

token (RefreshToken)

Mutation

mutation InvalidateRefreshToken($input: InvalidateRefreshTokenInput!) {
  invalidateRefreshToken(input: $input) {
    token {
      ...RefreshTokenFragment
    }
  }
}

Variables

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can invalidate refresh tokens

Arguments

Name Description

input (InvalidateRefreshTokensForUserInput)

Return fields

Name Description

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

tokens ([RefreshToken])

Mutation

mutation InvalidateRefreshTokensForUser($input: InvalidateRefreshTokensForUserInput!) {
  invalidateRefreshTokensForUser(input: $input) {
    tokens {
      ...RefreshTokenFragment
    }
  }
}

Variables

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can accept terms and conditions

Arguments

Name Description

input (JoinSupplierAcceptTermsAndConditionsInput)

Return fields

Name Description

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

success (Boolean)

Indicator that the mutation has completed successfully.

Mutation

mutation JoinSupplierAcceptTermsAndConditions($input: JoinSupplierAcceptTermsAndConditionsInput!) {
  joinSupplierAcceptTermsAndConditions(input: $input) {
    success
  }
}

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Arguments

Name Description

input (LegacyProcessOrderInput)

Return fields

Name Description

identifier (NonEmptyString)

The unique identifier of the processed order.

resources ([LegacyOrderResource!])

The resources associated with the processed order.

status (OrderStatus)

The status of the order processing.

Mutation

mutation LegacyProcessOrder($input: LegacyProcessOrderInput!) {
  legacyProcessOrder(input: $input) {
    identifier
    resources {
      ...LegacyOrderResourceFragment
    }
    status
  }
}

Variables

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can query businesses AND Can update businesses

Arguments

Name Description

input (LinkAccountToBusinessInput)

Input fields for linking an account to a business.

Return fields

Name Description

business (BusinessType)

The business the account was linked to.

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

Mutation

mutation LinkAccountToBusiness($input: LinkAccountToBusinessInput!) {
  linkAccountToBusiness(input: $input) {
    business {
      ...BusinessTypeFragment
    }
  }
}

Variables

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 (LinkUserToLineInput)

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Arguments

Name Description

printBatchId (ID)

Return fields

Name Description

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

printBatch (PrintBatchType)

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

masqueradeToken (String)

The masquerade token issued by the support site.

userId (String)

The ID of the AccountUser to masquerade as.

Return fields

Name Description

errors ([ErrorType])

A list of any errors that occurred while running this mutation.

token (String)

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can assign ink bucket

Arguments

Name Description

input (MoveToBucketInput)

Input for moving a conversation to a bucket.

Return fields

Name Description

conversation (InkConversation!)

The conversation that was moved to the bucket.

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

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

teamGroupName (String)

The name of the operations team group to select from.

Return fields

Name Description

allInferredRoutingAttributes ([String]!)

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 (TeamLocation!)

Location routing information for the selected team.

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

team (Team!)

The next operations team assigned in round-robin sequence.

teamGroups ([TeamGroup]!)

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:

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 (ObtainJSONWebTokenInput)

Input fields that can be used to obtain a Json Web Token (JWT) for authentication to the API.

Return fields

Name Description

payload (GenericScalar!)

The body payload of the Kraken Token. The same information can be obtained by using JWT decoding tools on the value of the token field.

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

refreshExpiresIn (Int)

A Unix timestamp representing the point in time at which the refresh token will expire.

refreshToken (String)

A token that can be used in a subsequent call to obtainKrakenToken to get a new Kraken Token with the same access conditions after the previous one has expired.

token (String!)

The Kraken Token. Can be used in the Authorization header for subsequent calls to the API to access protected resources.

Mutation

mutation ObtainKrakenToken($input: ObtainJSONWebTokenInput!) {
  obtainKrakenToken(input: $input) {
    payload
    refreshExpiresIn
    refreshToken
    token
  }
}

Variables

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 (ObtainLongLivedRefreshTokenInput)

Input fields for obtaining a long-lived refresh token to extend the expiry claim of a Kraken token.

Return fields

Name Description

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

refreshExpiresIn (Int!)

refreshToken (String)

Mutation

mutation ObtainLongLivedRefreshToken($input: ObtainLongLivedRefreshTokenInput!) {
  obtainLongLivedRefreshToken(input: $input) {
    refreshExpiresIn
    refreshToken
  }
}

Variables

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

input (OCPPAuthenticationInput)

Return fields

Name Description

krakenflexDevice (KrakenFlexDeviceType)

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

Mutation

mutation OcppAuthentication($input: OCPPAuthenticationInput) {
  ocppAuthentication(input: $input) {
    krakenflexDevice {
      ...KrakenFlexDeviceTypeFragment
    }
  }
}

Variables

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can start collection process

Arguments

Name Description

input (PauseCollectionProcessInput)

Details for pausing a collection process.

Return fields

Name Description

collectionProcessPaused (PauseCollectionProcessOutput)

Collection process pause output.

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

Mutation

mutation PauseCollectionProcess($input: PauseCollectionProcessInput!) {
  pauseCollectionProcess(input: $input) {
    collectionProcessPaused {
      ...PauseCollectionProcessOutputFragment
    }
  }
}

Variables

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 (PauseDunningInputType)

Input variables needed for pausing a dunning process for an account.

Return fields

Name Description

pauseCreated (Boolean)

Whether the pause has been successfully created.

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can payout referrals

Arguments

Name Description

input (PayoutReferralForAccountInput)

Input fields for paying out a referral for an account.

Return fields

Name Description

payoutResult (PayoutReferralForAccountResultType)

The result of the payout.

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

Mutation

mutation PayoutReferralForAccount($input: PayoutReferralForAccountInput!) {
  payoutReferralForAccount(input: $input) {
    payoutResult {
      ...PayoutReferralForAccountResultTypeFragment
    }
  }
}

Variables

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 (PostCreditInput)

Input fields for posting a credit.

Return fields

Name Description

credit (Credit)

Posted account credit.

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

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

input (PrepareAccountInput)

Return fields

Name Description

accountNumber (String)

The account number of the newly created account or the existing account to be re-used.

isNewAccount (Boolean)

Was a new account created.

isNewUser (Boolean)

Was a new user created.

userId (ID)

The ID of the newly created or existing account user.

userNumber (String)

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can publish transactional messaging triggers

Arguments

Name Description

input (PublishTransactionalMessagingExternalTriggerInput)

Input fields to publish an external transactional messaging trigger.

Return fields

Name Description

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

trigger (Trigger)

The trigger that has been published.

Mutation

mutation PublishTransactionalMessagingExternalTrigger($input: PublishTransactionalMessagingExternalTriggerInput!) {
  publishTransactionalMessagingExternalTrigger(input: $input) {
    trigger {
      ...TriggerFragment
    }
  }
}

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can publish transactional messaging triggers

Arguments

Name Description

input (PublishTransactionalMessagingTriggerInput)

Input fields to publish a transactional messaging trigger.

Return fields

Name Description

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

trigger (Trigger)

The trigger that has been published.

Mutation

mutation PublishTransactionalMessagingTrigger($input: PublishTransactionalMessagingTriggerInput!) {
  publishTransactionalMessagingTrigger(input: $input) {
    trigger {
      ...TriggerFragment
    }
  }
}

Response

{
  "data": {
    "publishTransactionalMessagingTrigger": {
      "trigger": Trigger
    }
  }
}

purchaseVoucher

Type: PurchaseVoucher

URL: https://api.oees-kraken.energy/v1/graphql/

Purchase a voucher.

Query Complexity: 1

Possible Errors:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can create voucher purchase

Arguments

Name Description

input (PurchaseVoucherInput)

Return fields

Name Description

voucherPurchase (VoucherPurchaseType)

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can create voucher purchase

Arguments

Name Description

input (PurchaseVoucherInput)

The list of vouchers to purchase.

Return fields

Name Description

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

voucherPurchases ([VoucherPurchaseType])

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 (ReactivateCollectionProcessRecordInputType)

Input variables needed for reactivating a collection process record.

Return fields

Name Description

collectionProcessReactivated (ReactivateCollectionProcessRecordOutputType)

The reactivated collection process record.

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

Mutation

mutation ReactivateCollectionProcessRecord($input: ReactivateCollectionProcessRecordInputType!) {
  reactivateCollectionProcessRecord(input: $input) {
    collectionProcessReactivated {
      ...ReactivateCollectionProcessRecordOutputTypeFragment
    }
  }
}

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

input (RecordActivatedPaymentMethodInput)

Details about the activated payment method.

Return fields

Name Description

paymentMethod (PaymentMethodType)

The stored payment method.

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

Mutation

mutation RecordActivatedPaymentMethod($input: RecordActivatedPaymentMethodInput!) {
  recordActivatedPaymentMethod(input: $input) {
    paymentMethod {
      ...PaymentMethodTypeFragment
    }
  }
}

Variables

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can use deposit system

Arguments

Name Description

input (DepositAgreementInput)

Return fields

Name Description

isRecorded (Boolean)

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

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

input (RecordFailedPaymentInput)

Details about the failed payments.

Return fields

Name Description

noticeBatchIdentifier (String!)

The unique identifier of the notice batch created from the input.

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

Mutation

mutation RecordFailedPayment($input: RecordFailedPaymentInput!) {
  recordFailedPayment(input: $input) {
    noticeBatchIdentifier
  }
}

Variables

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

input (RecordPendingPaymentInput)

Details about the pending payments.

Return fields

Name Description

noticeBatchIdentifier (String!)

The unique identifier of the notice batch created from the input.

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

Mutation

mutation RecordPendingPayment($input: RecordPendingPaymentInput!) {
  recordPendingPayment(input: $input) {
    noticeBatchIdentifier
  }
}

Variables

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

input (RecordSuccessfulPaymentInput)

Details about the successful payments.

Return fields

Name Description

noticeBatchIdentifier (String!)

The unique identifier of the notice batch created from the input.

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

Mutation

mutation RecordSuccessfulPayment($input: RecordSuccessfulPaymentInput!) {
  recordSuccessfulPayment(input: $input) {
    noticeBatchIdentifier
  }
}

Variables

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can redeem loyalty points

Arguments

Name Description

input (RedeemLoyaltyPointsInput)

Input fields for redeeming Loyalty Points.

Return fields

Name Description

pointsRedeemed (Int)

The number of loyalty points that were redeemed.

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

Mutation

mutation RedeemLoyaltyPointsForAccountCredit($input: RedeemLoyaltyPointsInput!) {
  redeemLoyaltyPointsForAccountCredit(input: $input) {
    pointsRedeemed
  }
}

Variables

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Rate Limits

Key Steps

User

['5/m']

Arguments

Name Description

input (RedeemReferralClaimCodeInput)

Input fields for redeeming referral code.

Return fields

Name Description

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

success (Boolean!)

Whether or not the request was successful.

Mutation

mutation RedeemReferralClaimCode($input: RedeemReferralClaimCodeInput!) {
  redeemReferralClaimCode(input: $input) {
    success
  }
}

Variables

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can refund payments

Arguments

Name Description

input (RefundPaymentInput)

Input fields for refunding a payment.

Return fields

Name Description

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

repayment (AccountRepaymentType)

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Return fields

Name Description

key (String!)

The generated key value, which is only ever available once (here).

viewer (EspAccountUserType)

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can register customer assets

Arguments

Name Description

input (RegisterCustomerAssetInput)

Input fields for registering a device.

Return fields

Name Description

customerAsset (CustomerAssetType)

The registered customer asset.

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

Mutation

mutation RegisterCustomerAsset($input: RegisterCustomerAssetInput!) {
  registerCustomerAsset(input: $input) {
    customerAsset {
      ...CustomerAssetTypeFragment
    }
  }
}

Variables

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

lead (EVChargerLeadZohoType)

Return fields

Name Description

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

success (Boolean)

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can update leads

Arguments

Name Description

input (RegisterLeadFlowStatusEventInput)

Input fields for registering a flow status event for a Lead.

Return fields

Name Description

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

Mutation

mutation RegisterLeadFlowStatusEvent($input: RegisterLeadFlowStatusEventInput!) {
  registerLeadFlowStatusEvent(input: $input) {
  }
}

Variables

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can update leads

Arguments

Name Description

input (RegisterOpportunityFlowStatusEventInput)

Input fields for registering a flow status event for a opportunity.

Return fields

Name Description

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

Mutation

mutation RegisterOpportunityFlowStatusEvent($input: RegisterOpportunityFlowStatusEventInput!) {
  registerOpportunityFlowStatusEvent(input: $input) {
  }
}

Response

{
  "data": {
    "registerOpportunityFlowStatusEvent": {

    }
  }
}

registerPhoneLead

Type: RegisterPhoneLead

URL: https://api.oees-kraken.energy/v1/graphql/

Register a phone lead

Query Complexity: 1

Possible Errors:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can create electricity quote

Arguments

Name Description

input (TelephoneLeadType)

Return fields

Name Description

partnerReference (String!)

Lead's partner reference.

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

source (String)

Lead's source.

telephoneLead (String!)

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 (RegisterPushNotificationBindingInput)

Input fields for creating an push notification binding.

Return fields

Name Description

pushNotificationBinding (PushNotificationBindingType)

Mutation

mutation RegisterPushNotificationBinding($input: RegisterPushNotificationBindingInput!) {
  registerPushNotificationBinding(input: $input) {
    pushNotificationBinding {
      ...PushNotificationBindingTypeFragment
    }
  }
}

Variables

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

input (SolarSimulatorDirectSaleInput)

Return fields

Name Description

address (SolarSimulatorLeadAddress)

Address of the lead saved in chipiron.

details (SolarSimulatorLeadDetails)

Details of the lead saved in chipiron.

directSale (SolarSimulatorDirectSaleDirectSale)

Direct sale details saved in chipiron.

email (String)

Email of the lead as saved in Chipiron.

firstName (String)

Name of the lead as saved in Chipiron.

fullAddress (String)

Street of the lead as saved in Chipiron.

lastName (String)

Surname of the lead as saved in Chipiron.

phone (String)

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

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

input (SolarSimulatorLeadInput)

Return fields

Name Description

address (SolarSimulatorLeadAddress)

Address of the lead saved in chipiron.

details (SolarSimulatorLeadDetails)

Details of the lead saved in chipiron.

email (String)

Email of the lead as saved in Chipiron.

firstName (String)

Name of the lead as saved in Chipiron.

fullAddress (String)

Street of the lead as saved in Chipiron.

lastName (String)

Surname of the lead as saved in Chipiron.

phone (String)

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

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 (RemoveCampaignFromAccountInput)

Input variables needed for removing a campaign from an account.

Return fields

Name Description

campaignRemoved (Boolean)

Whether the campaign was successfully removed from the account.

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

Mutation

mutation RemoveCampaignFromAccount($input: RemoveCampaignFromAccountInput!) {
  removeCampaignFromAccount(input: $input) {
    campaignRemoved
  }
}

Variables

Response

{
  "data": {
    "removeCampaignFromAccount": {
      "campaignRemoved": true
    }
  }
}

removeCampaignItems

Type: RemoveCampaignItems

URL: https://api.oees-kraken.energy/v1/graphql/

Query Complexity: 1

Possible Errors:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can manage voice campaigns

Arguments

Name Description

input (RemoveCampaignItemsInput)

Return fields

Name Description

campaignItems ([VoiceCampaignItemType])

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

Mutation

mutation RemoveCampaignItems($input: RemoveCampaignItemsInput!) {
  removeCampaignItems(input: $input) {
    campaignItems {
      ...VoiceCampaignItemTypeFragment
    }
  }
}

Variables

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can edit risk list

Arguments

Name Description

input (RiskListItemInputType)

A list of risk list items to remove.

Return fields

Name Description

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

riskIdentifiers ([RiskListItemType])

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can manage property hierarchies

Arguments

Name Description

input (RemovePropertyFromHierarchyInput)

Input fields for removing a property from a hierarchy.

Return fields

Name Description

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

property (PropertyType)

The property that was removed from the hierarchy.

Mutation

mutation RemovePropertyFromHierarchy($input: RemovePropertyFromHierarchyInput!) {
  removePropertyFromHierarchy(input: $input) {
    property {
      ...PropertyTypeFragment
    }
  }
}

Variables

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can access customer queries
OR Can edit customer marketing preference

Arguments

Name Description

input (DoubleOptInInput)

Return fields

Name Description

consent (ConsentType)

The consent that was created or updated.

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

(No)

Rate Limits

Key Steps

Ip

['5/m']

Arguments

Name Description

input (RequestPasswordResetInput)

Input fields for requesting a password reset email.

Return fields

Name Description

email (String)

The email that requested a password reset email.

userNumber (String)

The number of the user that requested a password reset email.

Mutation

mutation RequestPasswordReset($input: RequestPasswordResetInput!) {
  requestPasswordReset(input: $input) {
    email
    userNumber
  }
}

Variables

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can access customer queries
OR Can export statements

Arguments

Name Description

input (RequestPrintedBillInput)

Input fields to request a printed bill.

Return fields

Name Description

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

success (Boolean)

Whether the request was successful.

Mutation

mutation RequestPrintedBill($input: RequestPrintedBillInput!) {
  requestPrintedBill(input: $input) {
    success
  }
}

Variables

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Arguments

Name Description

input (RescindContractInput)

Return fields

Name Description

contract (Contract)

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

input (ResetPasswordMutationInput)

Return fields

Name Description

clientMutationId (String)

errors ([SerializerFieldErrorsType])

Mutation

mutation ResetPassword($input: ResetPasswordMutationInput!) {
  resetPassword(input: $input) {
    clientMutationId
    errors {
      ...SerializerFieldErrorsTypeFragment
    }
  }
}

Variables

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

(No)

Rate Limits

Key Steps

Ip

['5/m']

Arguments

Name Description

input (ResetUserPasswordInput)

Input fields for resetting an account user's password.

Return fields

Name Description

failureCodes ([String])

A list of codes of which password validation the new password failed against if applicable. One 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

Deprecated

The 'failureCodes' field is deprecated.

Please handle the KT-CT-5450 error and inspect the `validationErrors[].code` extension instead.

Note that the KT-CT-5450 error will not be raised if you request any of the `failureCodes`, `failureReasons`, or `passwordUpdated` fields.

- Marked as deprecated on 2025-04-07.
- Scheduled for removal on or after 2025-10-04.

failureReasons ([String])

A list of messages of which password validations the new password failed against if applicable.

Deprecated

The 'failureReasons' field is deprecated.

Please handle the KT-CT-5450 error and inspect the `validationErrors[].message` extension instead.

Note that the KT-CT-5450 error will not be raised if you request any of the `failureCodes`, `failureReasons`, or `passwordUpdated` fields.

- Marked as deprecated on 2025-04-07.
- Scheduled for removal on or after 2025-10-04.

passwordUpdated (Boolean)

True if the password update was successful, false otherwise.

Deprecated

The 'passwordUpdated' field is deprecated.

Please handle the KT-CT-5450 error instead.

Note that the KT-CT-5450 error will not be raised if you request any of the `failureCodes`, `failureReasons`, or `passwordUpdated` fields.

- Marked as deprecated on 2025-04-07.
- Scheduled for removal on or after 2025-10-04.

userId (ID!)

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can start collection process

Arguments

Name Description

input (ResumeCollectionProcessInput)

Details for resuming a collection process.

Return fields

Name Description

collectionProcessResumed (ResumeCollectionProcessOutput)

Collection process resume output.

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

Mutation

mutation ResumeCollectionProcess($input: ResumeCollectionProcessInput!) {
  resumeCollectionProcess(input: $input) {
    collectionProcessResumed {
      ...ResumeCollectionProcessOutputFragment
    }
  }
}

Variables

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:

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

input (AccountNumberInput)

Return fields

Name Description

krakenflexDevice (KrakenFlexDeviceType)

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can manage customer assets

Arguments

Name Description

input (RetireCustomerAssetInput)

Input fields for retiring a customer asset.

Return fields

Name Description

customerAsset (CustomerAssetType)

The retired customer asset.

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

Mutation

mutation RetireCustomerAsset($input: RetireCustomerAssetInput!) {
  retireCustomerAsset(input: $input) {
    customerAsset {
      ...CustomerAssetTypeFragment
    }
  }
}

Variables

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

input (ReverseEnrollmentInput)

The input required to reverse an enrollment.

Return fields

Name Description

enrollmentProcess (EnrollmentProcess!)

The Enrollment process that was reversed.

message (String!)

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

input (ReverseLeaveSupplierInput)

Return fields

Name Description

message (String!)

The message to display to the user on reversal.

Mutation

mutation ReverseLeaveSupplier($input: ReverseLeaveSupplierInput!) {
  reverseLeaveSupplier(input: $input) {
    message
  }
}

Variables

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can update agreeements

Arguments

Name Description

input (RevokeAgreementInput)

Input fields for revoking an agreement.

Return fields

Name Description

account (Account)

Account responsible for the revoked agreement.

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Arguments

Name Description

input (RevokeContractInput)

Return fields

Name Description

contract (Contract)

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can allocate user roles

Arguments

Name Description

input (RevokeUserAccessFromBusinessInput)

Return fields

Name Description

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

Mutation

mutation RevokeUserAccessFromBusiness($input: RevokeUserAccessFromBusinessInput!) {
  revokeUserAccessFromBusiness(input: $input) {
  }
}

Variables

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 (RunAgreementRolloverInput)

Input for running an agreement rollover.

Return fields

Name Description

agreementRollover (AgreementRolloverType)

The executed agreement rollover.

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

Mutation

mutation RunAgreementRollover($input: RunAgreementRolloverInput!) {
  runAgreementRollover(input: $input) {
    agreementRollover {
      ...AgreementRolloverTypeFragment
    }
  }
}

Variables

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

(No)

Rate Limits

Key Steps

Ip

['5/m']

Arguments

Name Description

input (QuoteShareInput)

Return fields

Name Description

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

success (Boolean!)

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

input (SelectChargePointMakeInput)

Return fields

Name Description

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

wizard (SmartFlexOnboardingWizard)

The wizard created for onboarding the device with SmartFlex.

Mutation

mutation SelectChargePointMakeForSmartFlexOnboarding($input: SelectChargePointMakeInput!) {
  selectChargePointMakeForSmartFlexOnboarding(input: $input) {
    wizard {
      ...SmartFlexOnboardingWizardFragment
    }
  }
}

Variables

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

input (SelectChargePointVariantInput)

Return fields

Name Description

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

wizard (SmartFlexOnboardingWizard)

The wizard created for onboarding the device with SmartFlex.

Mutation

mutation SelectChargePointVariantForSmartFlexOnboarding($input: SelectChargePointVariantInput!) {
  selectChargePointVariantForSmartFlexOnboarding(input: $input) {
    wizard {
      ...SmartFlexOnboardingWizardFragment
    }
  }
}

Variables

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

input (SelectDeviceTypeInput)

Return fields

Name Description

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

wizard (SmartFlexOnboardingWizard)

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

input (SelectFromListInput)

Return fields

Name Description

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

wizard (SmartFlexOnboardingWizard)

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

input (SelectInverterMakeInput)

Return fields

Name Description

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

wizard (SmartFlexOnboardingWizard)

The wizard created for onboarding the device with SmartFlex.

Mutation

mutation SelectInverterMakeForSmartFlexOnboarding($input: SelectInverterMakeInput!) {
  selectInverterMakeForSmartFlexOnboarding(input: $input) {
    wizard {
      ...SmartFlexOnboardingWizardFragment
    }
  }
}

Variables

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

input (SelectProductsInput)

Return fields

Name Description

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

success (Boolean!)

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

input (SelectUserVehicleInput)

Return fields

Name Description

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

wizard (SmartFlexOnboardingWizard)

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

input (SelectVehicleMakeInput)

Return fields

Name Description

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

wizard (SmartFlexOnboardingWizard)

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

input (SelectVehicleOrChargePointInput)

Return fields

Name Description

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

wizard (SmartFlexOnboardingWizard)

The wizard created for onboarding the device with SmartFlex.

Mutation

mutation SelectVehicleOrChargePointForSmartFlexOnboarding($input: SelectVehicleOrChargePointInput!) {
  selectVehicleOrChargePointForSmartFlexOnboarding(input: $input) {
    wizard {
      ...SmartFlexOnboardingWizardFragment
    }
  }
}

Variables

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

input (SelectVehicleVariantInput)

Return fields

Name Description

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

wizard (SmartFlexOnboardingWizard)

The wizard created for onboarding the device with SmartFlex.

Mutation

mutation SelectVehicleVariantForSmartFlexOnboarding($input: SelectVehicleVariantInput!) {
  selectVehicleVariantForSmartFlexOnboarding(input: $input) {
    wizard {
      ...SmartFlexOnboardingWizardFragment
    }
  }
}

Variables

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can query agreement rescissions AND Can update agreement rescissions

Arguments

Name Description

input (SendAgreementRescissionMessageInput)

Input fields for sending a message.

Return fields

Name Description

agreementRescission (AgreementRescissionType)

The agreement rescission for which we are sending a message.

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

Mutation

mutation SendAgreementRescissionConfirmation($input: SendAgreementRescissionMessageInput!) {
  sendAgreementRescissionConfirmation(input: $input) {
    agreementRescission {
      ...AgreementRescissionTypeFragment
    }
  }
}

Variables

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can send quotes

Rate Limits

Key Steps

Ip

['5/m']

Arguments

Name Description

input (OfferQuoteSummaryInput)

Return fields

Name Description

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

success (Boolean!)

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can send quotes

Rate Limits

Key Steps

Ip

['5/m']

Arguments

Name Description

input (QuoteShareInput)

Return fields

Name Description

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

success (Boolean!)

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

input (SendVerificationEmailInput)

Return fields

Name Description

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

verificationStatus (Boolean)

If the verification email was sent.

Mutation

mutation SendVerificationEmail($input: SendVerificationEmailInput!) {
  sendVerificationEmail(input: $input) {
    verificationStatus
  }
}

Variables

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

input (SmartFlexDevicePreferencesInput)

The device preference details to be updated.

Return fields

Name Description

alerts ([SmartFlexDeviceAlertInterface])

Active alert message(s) for a device, showing the latest first.

deviceType (KrakenFlexDeviceTypes!)

The type of device.

id (ID!)

A UUID that identifies this device registration. Re-registering this device will result in a different ID.

integrationDeviceId (String)

The third-party integration device ID.

name (String)

The user-friendly name for the device.

onboardingWizard (SmartFlexOnboardingWizard)

The current onboarding wizard for a device.

preferences (SmartFlexDevicePreferencesInterface)

The device's preference details.

preferenceSetting (FlexDevicePreferenceSettingInterface)

The preference setting for this device.

propertyId (String)

The id of the property linked to the device.

provider (ProviderChoices!)

The third-party that enables control of this device.

reAuthenticationState (DeviceReAuthenticationInterface)

The re-authentication state of this device, if applicable.

status (SmartFlexDeviceStatusInterface!)

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

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can set loyalty points user

Arguments

Name Description

input (SetLoyaltyPointsUserInput)

Input fields for saving the Loyalty Points user.

Return fields

Name Description

newLoyaltyPointsUserId (String)

ID of the new Loyalty Points user.

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

Mutation

mutation SetLoyaltyPointsUser($input: SetLoyaltyPointsUserInput!) {
  setLoyaltyPointsUser(input: $input) {
    newLoyaltyPointsUserId
  }
}

Variables

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can update leads

Arguments

Name Description

input (SetOpportunityOutcomeInput)

Input fields for setting the outcome of a opportunity.

Return fields

Name Description

message (String)

Success message for now.

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

Mutation

mutation SetOpportunityOutcome($input: SetOpportunityOutcomeInput!) {
  setOpportunityOutcome(input: $input) {
    message
  }
}

Variables

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can set payment preference

Arguments

Name Description

input (SetPaymentPreferenceInput)

Return fields

Name Description

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

Mutation

mutation SetPaymentPreference($input: SetPaymentPreferenceInput!) {
  setPaymentPreference(input: $input) {
  }
}

Variables

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can create payment instructions

Arguments

Name Description

input (SetUpDirectDebitInstructionInput)

Input fields for creating a new direct debit instruction.

Return fields

Name Description

paymentInstruction (DirectDebitInstructionType)

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

Mutation

mutation SetUpDirectDebitInstruction($input: SetUpDirectDebitInstructionInput!) {
  setUpDirectDebitInstruction(input: $input) {
    paymentInstruction {
      ...DirectDebitInstructionTypeFragment
    }
  }
}

Variables

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can create payment instructions AND Can query businesses

Arguments

Name Description

input (SetUpDirectDebitInstructionForBusinessInput)

Input fields for creating a new direct debit instruction.

Return fields

Name Description

paymentInstruction (DirectDebitInstructionType)

The created direct debit instruction.

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

Mutation

mutation SetUpDirectDebitInstructionForBusiness($input: SetUpDirectDebitInstructionForBusinessInput!) {
  setUpDirectDebitInstructionForBusiness(input: $input) {
    paymentInstruction {
      ...DirectDebitInstructionTypeFragment
    }
  }
}

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can create payment instructions

Arguments

Name Description

input (SetUpDirectDebitInstructionFromStoredDetailsInput)

Input fields for creating a new direct debit instruction from stored details.

Return fields

Name Description

paymentInstruction (DirectDebitInstructionType)

The payment instruction that was created from stored details.

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

Mutation

mutation SetUpDirectDebitInstructionFromStoredDetails($input: SetUpDirectDebitInstructionFromStoredDetailsInput!) {
  setUpDirectDebitInstructionFromStoredDetails(input: $input) {
    paymentInstruction {
      ...DirectDebitInstructionTypeFragment
    }
  }
}

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

input (VehicleChargingPreferencesInput)

Return fields

Name Description

krakenflexDevice (KrakenFlexDeviceType)

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

Mutation

mutation SetVehicleChargePreferences($input: VehicleChargingPreferencesInput) {
  setVehicleChargePreferences(input: $input) {
    krakenflexDevice {
      ...KrakenFlexDeviceTypeFragment
    }
  }
}

Variables

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

(No)

Arguments

Name Description

input (ShareGoodsQuoteInput)

Input fields for sharing a quote.

Return fields

Name Description

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

share (GoodsQuoteShare)

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

input (StartCollectionProcessInput)

Details to start collection process for.

Return fields

Name Description

collectionProcessStarted (StartCollectionProcessOutput)

Details of collection process that has been started.

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

Mutation

mutation StartCollectionProcess($input: StartCollectionProcessInput!) {
  startCollectionProcess(input: $input) {
    collectionProcessStarted {
      ...StartCollectionProcessOutputFragment
    }
  }
}

Variables

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can create account user
OR Can verify customer details

Arguments

Name Description

input (StartCustomerVerificationInput)

Return fields

Name Description

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

verificationProcess (VerificationProcess)

The newly created verification process.

Mutation

mutation StartCustomerVerification($input: StartCustomerVerificationInput!) {
  startCustomerVerification(input: $input) {
    verificationProcess {
      ...VerificationProcessFragment
    }
  }
}

Variables

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

input (StartReAuthenticationInput)

Return fields

Name Description

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

wizard (SmartFlexOnboardingWizard)

The wizard created for re-authenticating the device with SmartFlex.

Mutation

mutation StartReAuthentication($input: StartReAuthenticationInput!) {
  startReAuthentication(input: $input) {
    wizard {
      ...SmartFlexOnboardingWizardFragment
    }
  }
}

Variables

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

input (StartSmartFlexOnboardingInput)

Return fields

Name Description

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

wizard (SmartFlexOnboardingWizard)

The wizard created for onboarding the device with SmartFlex.

Mutation

mutation StartSmartFlexOnboarding($input: StartSmartFlexOnboardingInput!) {
  startSmartFlexOnboarding(input: $input) {
    wizard {
      ...SmartFlexOnboardingWizardFragment
    }
  }
}

Variables

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

input (CompleteSmartFlexOnboardingStepInput)

Return fields

Name Description

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

wizard (SmartFlexOnboardingWizard)

The wizard created for onboarding the device with SmartFlex.

Mutation

mutation StartTestChargeForSmartFlexOnboarding($input: CompleteSmartFlexOnboardingStepInput!) {
  startTestChargeForSmartFlexOnboarding(input: $input) {
    wizard {
      ...SmartFlexOnboardingWizardFragment
    }
  }
}

Variables

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can stop automated payments

Arguments

Name Description

input (StopAutomatedPaymentsInput)

Return fields

Name Description

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

Mutation

mutation StopAutomatedPayments($input: StopAutomatedPaymentsInput!) {
  stopAutomatedPayments(input: $input) {
  }
}

Variables

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can create payment instructions for lead

Arguments

Name Description

input (StoreBankDetailsForLeadInput)

Input for adding payment details to a lead.

Return fields

Name Description

paymentMethodReference (String)

Reference of the mandate generated for the lead.

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

Mutation

mutation StoreBankDetailsForLead($input: StoreBankDetailsForLeadInput!) {
  storeBankDetailsForLead(input: $input) {
    paymentMethodReference
  }
}

Variables

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can create payment instructions

Arguments

Name Description

input (StoreDirectDebitPaymentMethodDetailsInput)

Store bank details with the vendor.

Return fields

Name Description

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

storedPaymentMethodDetailsReference (String)

Mutation

mutation StoreDirectDebitPaymentMethodDetails($input: StoreDirectDebitPaymentMethodDetailsInput!) {
  storeDirectDebitPaymentMethodDetails(input: $input) {
    storedPaymentMethodDetailsReference
  }
}

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can create payment instructions

Arguments

Name Description

input (StorePaymentInstructionInput)

Input fields for storing a new payment instruction created through the embedded process.

Return fields

Name Description

paymentInstruction (PaymentInstructionType)

The stored payment instruction.

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

Mutation

mutation StorePaymentInstruction($input: StorePaymentInstructionInput!) {
  storePaymentInstruction(input: $input) {
    paymentInstruction {
      ...PaymentInstructionTypeFragment
    }
  }
}

Variables

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

input (CustomerFeedbackInputType)

Return fields

Name Description

customerFeedback (CustomerFeedbackType)

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

Mutation

mutation SubmitCustomerFeedback($input: CustomerFeedbackInputType!) {
  submitCustomerFeedback(input: $input) {
    customerFeedback {
      ...CustomerFeedbackTypeFragment
    }
  }
}

Variables

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can access third party queries

Arguments

Name Description

input (GasSelfReadingSubmissionInput)

Input fields for submitting a gas self-reading.

Return fields

Name Description

cups (String)

The CUPS identifier for the supply point.

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

Mutation

mutation SubmitGasSelfReading($input: GasSelfReadingSubmissionInput!) {
  submitGasSelfReading(input: $input) {
    cups
  }
}

Variables

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can create repayment request

Arguments

Name Description

input (RequestRepaymentInputType)

Input fields for requesting a repayment.

Return fields

Name Description

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

repaymentRequest (RequestRepaymentOutputType)

The newly created repayment request.

Mutation

mutation SubmitRepaymentRequest($input: RequestRepaymentInputType!) {
  submitRepaymentRequest(input: $input) {
    repaymentRequest {
      ...RequestRepaymentOutputTypeFragment
    }
  }
}

Variables

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

input (AccountNumberInput)

Return fields

Name Description

krakenflexDevice (KrakenFlexDeviceType)

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can manage payment schedules

Arguments

Name Description

input (SwitchAccountToVariablePaymentScheduleInput)

Input fields for switching to a variable payment schedule.

Return fields

Name Description

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

schedule (PaymentScheduleType!)

New payment schedule.

Mutation

mutation SwitchAccountToVariablePaymentSchedule($input: SwitchAccountToVariablePaymentScheduleInput!) {
  switchAccountToVariablePaymentSchedule(input: $input) {
    schedule {
      ...PaymentScheduleTypeFragment
    }
  }
}

Response

{
  "data": {
    "switchAccountToVariablePaymentSchedule": {
      "schedule": PaymentScheduleType
    }
  }
}

terminateAgreement

Type: TerminateAgreement

URL: https://api.oees-kraken.energy/v1/graphql/

Terminate an agreement.

Query Complexity: 1

Possible Errors:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can query agreements AND Can update agreeements

Arguments

Name Description

input (TerminateAgreementInput)

Input for terminating an agreement.

Return fields

Name Description

agreement (CommonAgreementType)

The created agreement.

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

Mutation

mutation TerminateAgreement($input: TerminateAgreementInput!) {
  terminateAgreement(input: $input) {
    agreement {
      ...CommonAgreementTypeFragment
    }
  }
}

Variables

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Arguments

Name Description

input (TerminateContractInput)

Return fields

Name Description

contract (Contract)

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can access customer queries
OR Can update user details

Arguments

Name Description

input (TerminateCreditTransferPermissionInput)

Input fields for terminating a credit transfer permission.

Return fields

Name Description

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

validTo (DateTime)

Datetime when the credit transfer permission ends.

Mutation

mutation TerminateCreditTransferPermission($input: TerminateCreditTransferPermissionInput!) {
  terminateCreditTransferPermission(input: $input) {
    validTo
  }
}

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 (TerminateSolarWalletRelationshipType)

Input fields for terminaring solar wallet sharing credit between ledgers.

Return fields

Name Description

creditSharingLedgerId (Int)

Credit sharing ledgers id.

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

sourceAccountNumber (String)

Source account number of the solar wallet ledger.

success (Boolean)

A flag that ensures changes have been made.

targetAccountNumber (String)

Target account number of the electricity ledger.

targetGivenName (String)

Target account given name.

validTo (DateTime)

Datetime when the solar wallet credit sharing ledger ends.

Mutation

mutation TerminateSolarWalletRelationship($input: TerminateSolarWalletRelationshipType!) {
  terminateSolarWalletRelationship(input: $input) {
    creditSharingLedgerId
    sourceAccountNumber
    success
    targetAccountNumber
    targetGivenName
    validTo
  }
}

Variables

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:

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

input (CompleteDeviceRegistrationInput)

Return fields

Name Description

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

success (ThirdPartyCompleteDeviceRegistrationType)

The response showing account validity and optional tariff information.

Mutation

mutation ThirdPartyCompleteDeviceRegistration($input: CompleteDeviceRegistrationInput) {
  thirdPartyCompleteDeviceRegistration(input: $input) {
    success {
      ...ThirdPartyCompleteDeviceRegistrationTypeFragment
    }
  }
}

Variables

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can update leads

Arguments

Name Description

input (TransferLeadOpportunitiesInput)

Input for transfer opportunities across leads.

Return fields

Name Description

opportunitiesTransferred (Int)

Number of opportunities transferred.

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

Mutation

mutation TransferLeadOpportunities($input: TransferLeadOpportunitiesInput!) {
  transferLeadOpportunities(input: $input) {
    opportunitiesTransferred
  }
}

Variables

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 (TransferLedgerBalanceInputType)

Input fields for processing an account balance transfer.

Return fields

Name Description

balanceTransfer (AccountBalanceTransferType)

Balance transfer details.

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

Mutation

mutation TransferLedgerBalance($input: TransferLedgerBalanceInputType!) {
  transferLedgerBalance(input: $input) {
    balanceTransfer {
      ...AccountBalanceTransferTypeFragment
    }
  }
}

Variables

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can transfer loyalty points

Arguments

Name Description

input (TransferLoyaltyPointsBetweenUsersInput)

Input fields for transferring Loyalty Points.

Return fields

Name Description

pointsTransferred (Int)

The number of loyalty points that were transferred.

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

Mutation

mutation TransferLoyaltyPointsBetweenUsers($input: TransferLoyaltyPointsBetweenUsersInput!) {
  transferLoyaltyPointsBetweenUsers(input: $input) {
    pointsTransferred
  }
}

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:

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

input (AccountNumberInput)

Return fields

Name Description

krakenflexDevice (KrakenFlexDeviceType)

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can start collection process

Arguments

Name Description

input (TriggerCollectionProcessMessageInput)

Input for sending a collection process communication.

Return fields

Name Description

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

triggerResult (TriggerCollectionProcessMessageOutput)

Details of the triggered communication.

Mutation

mutation TriggerCollectionProcessMessage($input: TriggerCollectionProcessMessageInput!) {
  triggerCollectionProcessMessage(input: $input) {
    triggerResult {
      ...TriggerCollectionProcessMessageOutputFragment
    }
  }
}

Variables

Response

{
  "data": {
    "triggerCollectionProcessMessage": {
      "triggerResult": TriggerCollectionProcessMessageOutput
    }
  }
}

triggerPostUploadOperations

Type: TriggerPostUploadOperations!

URL: https://api.oees-kraken.energy/v1/graphql/

Query Complexity: 1

Possible Errors:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Arguments

Name Description

s3Key (String)

Return fields

Name Description

operationsTriggered (Boolean)

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

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:

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

input (AccountNumberInput)

Return fields

Name Description

krakenflexDevice (KrakenFlexDeviceType)

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can unenroll user from loyalty program

Arguments

Name Description

input (UnenrollAccountFromLoyaltyProgramInput)

The account number to unenroll from the loyalty program.

Return fields

Name Description

outcome (UnenrollAccountFromLoyaltyProgramOutcome)

Outcome of the loyalty points campaign enrollment.

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

Mutation

mutation UnenrollAccountFromLoyaltyProgram($input: UnenrollAccountFromLoyaltyProgramInput!) {
  unenrollAccountFromLoyaltyProgram(input: $input) {
    outcome {
      ...UnenrollAccountFromLoyaltyProgramOutcomeFragment
    }
  }
}

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can access customer queries
OR Can update account details

Arguments

Name Description

input (AccountBillingAddressInput)

Input variables needed for updating an account billing address.

Return fields

Name Description

account (Account)

The updated account.

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

Mutation

mutation UpdateAccountBillingAddress($input: AccountBillingAddressInput!) {
  updateAccountBillingAddress(input: $input) {
    account {
      ...AccountTypeFragment
    }
  }
}

Variables

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can access customer queries
OR Can update account details

Arguments

Name Description

input (UpdateAccountBillingEmailInput)

Input fields for updating billing email for an account.

Return fields

Name Description

account (AccountInterface)

Account that was changed.

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

Mutation

mutation UpdateAccountBillingEmail($input: UpdateAccountBillingEmailInput!) {
  updateAccountBillingEmail(input: $input) {
    account {
      ...AccountInterfaceFragment
    }
  }
}

Variables

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can access customer queries
OR Can edit customer marketing preference

Arguments

Name Description

accountNumber (String)

The account number to update consents for.

consents (ConsentInput)

Consents to update for account.

Return fields

Name Description

consents ([ConsentType!]!)

Consents linked to this account.

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can access customer queries
OR Can update account reference

Arguments

Name Description

input (AccountReferenceInput)

Input fields for updating an account reference.

Return fields

Name Description

accountReference (AccountReferenceType)

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can payout referrals

Arguments

Name Description

input (UpdateAccountReferralStatusInput)

Input fields for updating the status of an account referral.

Return fields

Name Description

accountReferral (ReferralType)

The updated account referral instance.

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

Mutation

mutation UpdateAccountReferralStatus($input: UpdateAccountReferralStatusInput!) {
  updateAccountReferralStatus(input: $input) {
    accountReferral {
      ...ReferralTypeFragment
    }
  }
}

Variables

Response

{
  "data": {
    "updateAccountReferralStatus": {
      "accountReferral": ReferralType
    }
  }
}

updateAccountUser

Type: UpdateAccountUser

URL: https://api.oees-kraken.energy/v1/graphql/

Update an account.

Query Complexity: 1

Possible Errors:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can access customer queries
OR Can update user details

Arguments

Name Description

input (UpdateAccountUserInput)

Input fields for updating user.

Return fields

Name Description

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

viewer (EspAccountUserType)

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can edit customer marketing preference

Arguments

Name Description

consents (ConsentTypeInput)

Consents to update for account user.

userNumber (String)

User number of the account user to update consents for. Only needed if the viewer is an organization.

Return fields

Name Description

accountUserConsents (AccountUserConsents)

All the consents for an account user.

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can manage goods purchases

Arguments

Name Description

input (UpdatePurchaseInput)

Input fields for updating an active purchase.

Return fields

Name Description

goodsPurchase (GoodsPurchase)

Goods purchase updated.

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

Mutation

mutation UpdateActivePurchase($input: UpdatePurchaseInput!) {
  updateActivePurchase(input: $input) {
    goodsPurchase {
      ...GoodsPurchaseFragment
    }
  }
}

Variables

{
  "input": UpdatePurchaseInput
}

Response

{
  "data": {
    "updateActivePurchase": {
      "goodsPurchase": GoodsPurchase
    }
  }
}

Type: UpdateAffiliateLink!

URL: https://api.oees-kraken.energy/v1/graphql/

Update an existing affiliate link.

Query Complexity: 1

Possible Errors:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Arguments

Name Description

input (UpdateAffiliateLinkInputType)

Input fields for Updating an existing affiliate link.

Return fields

Name Description

affiliateLink (AffiliateLinkType)

The updated affiliate link.

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

Mutation

mutation UpdateAffiliateLink($input: UpdateAffiliateLinkInputType!) {
  updateAffiliateLink(input: $input) {
    affiliateLink {
      ...AffiliateLinkTypeFragment
    }
  }
}

Variables

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Arguments

Name Description

input (UpdateAffiliateOrganisationInputType)

Input fields for Updating an existing affiliate organisation.

Return fields

Name Description

affiliateOrganisation (AffiliateOrganisationType)

The updated affiliate organisation.

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

Mutation

mutation UpdateAffiliateOrganisation($input: UpdateAffiliateOrganisationInputType!) {
  updateAffiliateOrganisation(input: $input) {
    affiliateOrganisation {
      ...AffiliateOrganisationTypeFragment
    }
  }
}

Variables

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

input (UpdateAgentAuxiliaryStatusInput)

The input data for this mutation.

Return fields

Name Description

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

success (Boolean)

Whether the auxiliary status was successfully updated.

Mutation

mutation UpdateAgentAuxiliaryStatus($input: UpdateAgentAuxiliaryStatusInput!) {
  updateAgentAuxiliaryStatus(input: $input) {
    success
  }
}

Variables

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 (UpdateAgreementPeriodInput)

Input for updating the agreement period.

Return fields

Name Description

account (Account)

Account responsible for the update agreement.

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

Mutation

mutation UpdateAgreementPeriod($input: UpdateAgreementPeriodInput!) {
  updateAgreementPeriod(input: $input) {
    account {
      ...AccountTypeFragment
    }
  }
}

Variables

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can query agreement rescissions AND Can update agreement rescissions

Arguments

Name Description

input (UpdateAgreementRescissionInput)

Input fields for updating an agreement rescission.

Return fields

Name Description

agreementRescission (AgreementRescissionType)

The updated agreement rescission instance.

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

Mutation

mutation UpdateAgreementRescission($input: UpdateAgreementRescissionInput!) {
  updateAgreementRescission(input: $input) {
    agreementRescission {
      ...AgreementRescissionTypeFragment
    }
  }
}

Variables

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 (UpdateAgreementRolloverInput)

Input for updating an agreement rollover.

Return fields

Name Description

agreementRollover (AgreementRolloverType)

The update agreement rollover.

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

Mutation

mutation UpdateAgreementRollover($input: UpdateAgreementRolloverInput!) {
  updateAgreementRollover(input: $input) {
    agreementRollover {
      ...AgreementRolloverTypeFragment
    }
  }
}

Variables

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 (UpdateAPIExceptionInput)

Input fields for updating an API exception.

Return fields

Name Description

apiException (APIExceptionType)

The updated APIException.

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

Mutation

mutation UpdateApiException($input: UpdateAPIExceptionInput!) {
  updateApiException(input: $input) {
    apiException {
      ...APIExceptionTypeFragment
    }
  }
}

Variables

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can update api exception notes

Arguments

Name Description

input (UpdateAPIExceptionNoteInput)

Input fields for creating an API exception note.

Return fields

Name Description

apiException (APIExceptionType)

The updates APIExceptionNote.

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

Mutation

mutation UpdateApiExceptionNote($input: UpdateAPIExceptionNoteInput!) {
  updateApiExceptionNote(input: $input) {
    apiException {
      ...APIExceptionTypeFragment
    }
  }
}

Variables

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can access customer queries

Arguments

Name Description

input (UpdateAutoTopUpAmountInput)

Input fields for updating the auto-top-up amount for a schedule.

Return fields

Name Description

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

schedule (PaymentScheduleType)

The new schedule created.

Mutation

mutation UpdateAutoTopUpAmount($input: UpdateAutoTopUpAmountInput!) {
  updateAutoTopUpAmount(input: $input) {
    schedule {
      ...PaymentScheduleTypeFragment
    }
  }
}

Variables

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can access customer queries
OR Can update user details

Arguments

Name Description

input (UpdateAccountBillingAddressInput)

Return fields

Name Description

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

success (Boolean)

A flag that ensures changes have been made.

Mutation

mutation UpdateBillingAddress($input: UpdateAccountBillingAddressInput) {
  updateBillingAddress(input: $input) {
    success
  }
}

Variables

Response

{
  "data": {
    "updateBillingAddress": {
      "success": true
    }
  }
}

updateBillingDetails

Type: UpdateBillingDetails

URL: https://api.oees-kraken.energy/v1/graphql/

Updates billing details.

Query Complexity: 1

Possible Errors:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can access customer queries
OR Can update user details

Arguments

Name Description

input (UpdateAccountBillingDetailsInput)

Return fields

Name Description

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

success (Boolean)

A flag that ensures changes have been made.

Mutation

mutation UpdateBillingDetails($input: UpdateAccountBillingDetailsInput) {
  updateBillingDetails(input: $input) {
    success
  }
}

Variables

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Rate Limits

Key Steps

User

['300/h']

Arguments

Name Description

input (UpdateBoostChargeInput)

Return fields

Name Description

alerts ([SmartFlexDeviceAlertInterface])

Active alert message(s) for a device, showing the latest first.

deviceType (KrakenFlexDeviceTypes!)

The type of device.

id (ID!)

A UUID that identifies this device registration. Re-registering this device will result in a different ID.

integrationDeviceId (String)

The third-party integration device ID.

name (String)

The user-friendly name for the device.

onboardingWizard (SmartFlexOnboardingWizard)

The current onboarding wizard for a device.

preferences (SmartFlexDevicePreferencesInterface)

The device's preference details.

preferenceSetting (FlexDevicePreferenceSettingInterface)

The preference setting for this device.

propertyId (String)

The id of the property linked to the device.

provider (ProviderChoices!)

The third-party that enables control of this device.

reAuthenticationState (DeviceReAuthenticationInterface)

The re-authentication state of this device, if applicable.

status (SmartFlexDeviceStatusInterface!)

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can update campaign account

Arguments

Name Description

input (UpdateCampaignAccountExpiryDateInput)

Input variables needed for updating a campaign account expiry date.

Return fields

Name Description

campaignAccount (AccountCampaignType)

The campaign account with the updated expiry date.

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

Mutation

mutation UpdateCampaignAccountExpiryDate($input: UpdateCampaignAccountExpiryDateInput!) {
  updateCampaignAccountExpiryDate(input: $input) {
    campaignAccount {
      ...AccountCampaignTypeFragment
    }
  }
}

Variables

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can update collection process record to pause

Arguments

Name Description

input (UpdateCollectionProcessRecordLatestStepInputType)

Input variables needed for updating the latest step.

Return fields

Name Description

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

updatedCollectionProcessRecord (UpdateCollectionProcessRecordLatestStepOutputType)

The updated collection process record.

Mutation

mutation UpdateCollectionProcessRecordLatestStep($input: UpdateCollectionProcessRecordLatestStepInputType!) {
  updateCollectionProcessRecordLatestStep(input: $input) {
    updatedCollectionProcessRecord {
      ...UpdateCollectionProcessRecordLatestStepOutputTypeFragment
    }
  }
}

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 (UpdateCollectionProcessRecordToActiveInputType)

Input variables needed for making a collection process record active.

Return fields

Name Description

collectionProcessActivated (UpdateCollectionProcessRecordToActiveOutputType)

Whether the collection process was successfully updated.

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

Mutation

mutation UpdateCollectionProcessRecordToActive($input: UpdateCollectionProcessRecordToActiveInputType!) {
  updateCollectionProcessRecordToActive(input: $input) {
    collectionProcessActivated {
      ...UpdateCollectionProcessRecordToActiveOutputTypeFragment
    }
  }
}

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can update collection process record to complete

Arguments

Name Description

input (UpdateCollectionProcessRecordToCompleteInputType)

Input variables needed for making a collection process record complete.

Return fields

Name Description

collectionProcessComplete (UpdateCollectionProcessRecordToCompleteOutputType)

Whether the collection process was successfully updated.

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

Mutation

mutation UpdateCollectionProcessRecordToComplete($input: UpdateCollectionProcessRecordToCompleteInputType!) {
  updateCollectionProcessRecordToComplete(input: $input) {
    collectionProcessComplete {
      ...UpdateCollectionProcessRecordToCompleteOutputTypeFragment
    }
  }
}

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 (UpdateCommsDeliveryPreferenceInput)

Input fields for updating comms delivery preferences for an account.

Return fields

Name Description

account (AccountInterface)

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

Mutation

mutation UpdateCommsDeliveryPreference($input: UpdateCommsDeliveryPreferenceInput!) {
  updateCommsDeliveryPreference(input: $input) {
    account {
      ...AccountInterfaceFragment
    }
  }
}

Variables

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

input (UpdateAccountUserCommsPreferencesMutationInput)

Return fields

Name Description

clientMutationId (String)

commsPreferences (AccountUserCommsPreferences)

emailFormat (String)

errors ([ErrorType])

fontSizeMultiplier (Float)

isOptedInMeterReadingConfirmations (Boolean)

isOptedInToClientMessages (Boolean)

isOptedInToOfferMessages (Boolean)

isOptedInToRecommendedMessages (Boolean)

isOptedInToSmsMessages (Boolean)

isOptedInToThirdPartyMessages (Boolean)

isOptedInToUpdateMessages (Boolean)

isUsingInvertedEmailColours (Boolean)

preferredHoldMusic (String)

Mutation

mutation UpdateCommsPreferences($input: UpdateAccountUserCommsPreferencesMutationInput!) {
  updateCommsPreferences(input: $input) {
    clientMutationId
    commsPreferences {
      ...AccountUserCommsPreferencesFragment
    }
    emailFormat
    errors {
      ...ErrorTypeFragment
    }
    fontSizeMultiplier
    isOptedInMeterReadingConfirmations
    isOptedInToClientMessages
    isOptedInToOfferMessages
    isOptedInToRecommendedMessages
    isOptedInToSmsMessages
    isOptedInToThirdPartyMessages
    isOptedInToUpdateMessages
    isUsingInvertedEmailColours
    preferredHoldMusic
  }
}

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

input (UpdateDCAProceedingInputType)

Return fields

Name Description

dcaProceedingUpdateStatus (DCAProceedingUpdateStatus)

Whether the update has been applied.

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

Mutation

mutation UpdateDcaProceeding($input: UpdateDCAProceedingInputType!) {
  updateDcaProceeding(input: $input) {
    dcaProceedingUpdateStatus {
      ...DCAProceedingUpdateStatusFragment
    }
  }
}

Variables

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

input (UpdateDeviceGridExportInput)

Return fields

Name Description

alerts ([SmartFlexDeviceAlertInterface])

Active alert message(s) for a device, showing the latest first.

deviceType (KrakenFlexDeviceTypes!)

The type of device.

id (ID!)

A UUID that identifies this device registration. Re-registering this device will result in a different ID.

integrationDeviceId (String)

The third-party integration device ID.

name (String)

The user-friendly name for the device.

onboardingWizard (SmartFlexOnboardingWizard)

The current onboarding wizard for a device.

preferences (SmartFlexDevicePreferencesInterface)

The device's preference details.

preferenceSetting (FlexDevicePreferenceSettingInterface)

The preference setting for this device.

propertyId (String)

The id of the property linked to the device.

provider (ProviderChoices!)

The third-party that enables control of this device.

reAuthenticationState (DeviceReAuthenticationInterface)

The re-authentication state of this device, if applicable.

status (SmartFlexDeviceStatusInterface!)

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

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Rate Limits

Key Steps

User

['300/h']

Arguments

Name Description

input (SmartControlInput)

The input to action the desired device control, i.e. suspend or unsuspend a device.

Return fields

Name Description

alerts ([SmartFlexDeviceAlertInterface])

Active alert message(s) for a device, showing the latest first.

deviceType (KrakenFlexDeviceTypes!)

The type of device.

id (ID!)

A UUID that identifies this device registration. Re-registering this device will result in a different ID.

integrationDeviceId (String)

The third-party integration device ID.

name (String)

The user-friendly name for the device.

onboardingWizard (SmartFlexOnboardingWizard)

The current onboarding wizard for a device.

preferences (SmartFlexDevicePreferencesInterface)

The device's preference details.

preferenceSetting (FlexDevicePreferenceSettingInterface)

The preference setting for this device.

propertyId (String)

The id of the property linked to the device.

provider (ProviderChoices!)

The third-party that enables control of this device.

reAuthenticationState (DeviceReAuthenticationInterface)

The re-authentication state of this device, if applicable.

status (SmartFlexDeviceStatusInterface!)

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Arguments

Name Description

input (UpdateDocumentAccessibilityPreferenceInput)

Input fields for updating document accessibility preference for an account.

Return fields

Name Description

account (Account)

Account that was changed.

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

Mutation

mutation UpdateDocumentAccessibilityPreference($input: UpdateDocumentAccessibilityPreferenceInput!) {
  updateDocumentAccessibilityPreference(input: $input) {
    account {
      ...AccountTypeFragment
    }
  }
}

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 (UpdateIsChargingDurationCappedInput)

Input fields for updating the charging duration cap preference.

Return fields

Name Description

alerts ([SmartFlexDeviceAlertInterface])

Active alert message(s) for a device, showing the latest first.

deviceType (KrakenFlexDeviceTypes!)

The type of device.

id (ID!)

A UUID that identifies this device registration. Re-registering this device will result in a different ID.

integrationDeviceId (String)

The third-party integration device ID.

name (String)

The user-friendly name for the device.

onboardingWizard (SmartFlexOnboardingWizard)

The current onboarding wizard for a device.

preferences (SmartFlexDevicePreferencesInterface)

The device's preference details.

preferenceSetting (FlexDevicePreferenceSettingInterface)

The preference setting for this device.

propertyId (String)

The id of the property linked to the device.

provider (ProviderChoices!)

The third-party that enables control of this device.

reAuthenticationState (DeviceReAuthenticationInterface)

The re-authentication state of this device, if applicable.

status (SmartFlexDeviceStatusInterface!)

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

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can update leads

Arguments

Name Description

input (UpdateLeadDetailsInput)

Fields for updating a lead's details.

Return fields

Name Description

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

updatedLeadData (JSONString)

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can update leads

Arguments

Name Description

input (UpdateLeadStageInput)

Fields for updating a lead's stage.

Return fields

Name Description

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

updatedLeadData (JSONString)

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

input (UpdateLeaveSupplierInput)

Return fields

Name Description

message (String!)

The message to display to the user on leave supplier update.

Mutation

mutation UpdateLeaveSupplier($input: UpdateLeaveSupplierInput!) {
  updateLeaveSupplier(input: $input) {
    message
  }
}

Variables

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can update ink message tags

Arguments

Name Description

input (UpdateMessageTagsInput)

Return fields

Name Description

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

tags ([InkTag!]!)

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can access customer queries
OR Can mutate metadata

Arguments

Name Description

input (MetadataInput)

Input fields for updating metadata.

Return fields

Name Description

metadata (Metadata)

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can update leads

Arguments

Name Description

input (UpdateNotesOnOpportunityInput)

Input to update the note on an opportunity.

Return fields

Name Description

opportunityNumber (String)

The number of the opportunity.

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

Mutation

mutation UpdateNotesOnOpportunity($input: UpdateNotesOnOpportunityInput!) {
  updateNotesOnOpportunity(input: $input) {
    opportunityNumber
  }
}

Variables

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can update leads

Arguments

Name Description

input (UpdateOfferGroupOnOpportunityInput)

Input to update the offer group on an opportunity.

Return fields

Name Description

opportunityNumber (String)

The number of the opportunity.

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

Mutation

mutation UpdateOfferGroupOnOpportunity($input: UpdateOfferGroupOnOpportunityInput!) {
  updateOfferGroupOnOpportunity(input: $input) {
    opportunityNumber
  }
}

Variables

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

input (OnSiteJobsUpdateRequestInput)

The input objects required to update a Request.

Return fields

Name Description

onSiteJobsRequest (OnSiteJobsRequestType)

The updated request.

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

Mutation

mutation UpdateOnSiteJobsRequest($input: OnSiteJobsUpdateRequestInput!) {
  updateOnSiteJobsRequest(input: $input) {
    onSiteJobsRequest {
      ...OnSiteJobsRequestTypeFragment
    }
  }
}

Variables

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 (UpdateOpportunityAssignmentInput)

Input fields for creating an opportunity.

Return fields

Name Description

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

updatedOpportunityData (JSONString)

Arguments passed.

Mutation

mutation UpdateOpportunityAssignment($input: UpdateOpportunityAssignmentInput!) {
  updateOpportunityAssignment(input: $input) {
    updatedOpportunityData
  }
}

Variables

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can update leads

Arguments

Name Description

input (UpdateOpportunityDetailsInput)

Input fields for updating the address of a opportunity.

Return fields

Name Description

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

updatedData (JSONString)

Arguments updated.

Mutation

mutation UpdateOpportunityDetails($input: UpdateOpportunityDetailsInput!) {
  updateOpportunityDetails(input: $input) {
    updatedData
  }
}

Variables

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can update leads

Arguments

Name Description

input (UpdateExtraDetailsInput)

Input fields for updating the extra details of a opportunity.

Return fields

Name Description

extraDetails (JSONString)

The opportunity's extra details to be added or updated.

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

Mutation

mutation UpdateOpportunityExtraDetails($input: UpdateExtraDetailsInput!) {
  updateOpportunityExtraDetails(input: $input) {
    extraDetails
  }
}

Variables

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can update leads

Arguments

Name Description

input (UpdateOpportunityStageInput)

Input fields for updating the state of a opportunity.

Return fields

Name Description

message (String)

Placeholder success message for now.

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

Mutation

mutation UpdateOpportunityStage($input: UpdateOpportunityStageInput!) {
  updateOpportunityStage(input: $input) {
    message
  }
}

Variables

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can update account details

Arguments

Name Description

input (OptionsLanguagePreferenceInput)

Variables needed to update the language preference for an account.

Return fields

Name Description

optionsLanguagePreference (OptionsLanguagePreferenceChoices)

The selected language preference.

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

Mutation

mutation UpdateOptionsLanguagePreference($input: OptionsLanguagePreferenceInput!) {
  updateOptionsLanguagePreference(input: $input) {
    optionsLanguagePreference
  }
}

Variables

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Arguments

Name Description

input (UpdatePasswordInput)

Return fields

Name Description

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

viewer (EspAccountUserType)

The currently authenticated user.

This field requires the Authorization header to be set.

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can access customer queries
OR Can update user details

Arguments

Name Description

newPaymentDetails (UpdateAccountPaymentInput)

Return fields

Name Description

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

success (Boolean)

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

input (UpdateProductPricesInput)

Return fields

Name Description

prices ([RateGroupPrices!]!)

The rate group prices.

Mutation

mutation UpdateProductPrices($input: UpdateProductPricesInput!) {
  updateProductPrices(input: $input) {
    prices {
      ...RateGroupPricesFragment
    }
  }
}

Variables

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can update quote configuration

Arguments

Name Description

input (UpdateQuoteConfigurationInput)

Input for updating a quote configuration.

Return fields

Name Description

quoteConfiguration (QuoteConfigurationType!)

The updated quote configuration.

Mutation

mutation UpdateQuoteConfiguration($input: UpdateQuoteConfigurationInput!) {
  updateQuoteConfiguration(input: $input) {
    quoteConfiguration {
      ...QuoteConfigurationTypeFragment
    }
  }
}

Variables

Response

{
  "data": {
    "updateQuoteConfiguration": {
      "quoteConfiguration": QuoteConfigurationType
    }
  }
}

updateSiteworksRequest

Type: UpdateSiteworksRequest

URL: https://api.oees-kraken.energy/v1/graphql/

Update a Request.

Query Complexity: 1

Possible Errors:

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

input (UpdateSiteworksRequestInputType)

The input objects required to update a Request.

Return fields

Name Description

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

siteworksRequest (CoreSiteworksRequestType)

The siteworks request after the update.

Mutation

mutation UpdateSiteworksRequest($input: UpdateSiteworksRequestInputType!) {
  updateSiteworksRequest(input: $input) {
    siteworksRequest {
      ...CoreSiteworksRequestTypeFragment
    }
  }
}

Variables

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can book smart meter appointments
OR Can update user details

Arguments

Name Description

input (UpdateUserInput)

Input fields for updating user.

Return fields

Name Description

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

viewer (EspAccountUserType)

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

input (UpdateAccountUserMutationInput)

Return fields

Name Description

clientMutationId (String)

dateOfBirth (Date)

email (String)

errors ([ErrorType])

familyName (String)

givenName (String)

landline (String)

mobile (String)

pronouns (String)

Mutation

mutation UpdateUserDetails($input: UpdateAccountUserMutationInput!) {
  updateUserDetails(input: $input) {
    clientMutationId
    dateOfBirth
    email
    errors {
      ...ErrorTypeFragment
    }
    familyName
    givenName
    landline
    mobile
    pronouns
  }
}

Variables

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

input (ValidateAddressInput)

The address field values to validate.

Return fields

Name Description

cleanedDescriptor (AddressFieldDescriptorType)

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.

isValid (Boolean!)

Whether the address passed all validation checks.

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

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

input (ValidateEmailInput)

Return fields

Name Description

isValid (Boolean)

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can validate mfa device

Arguments

Name Description

input (ValidateMfaDeviceInputType)

Input fields for validating a new multi-factor authentication device for the logged user.

Return fields

Name Description

deviceIsValid (Boolean)

Flag to indicate if the device has been verified, so it can be used for MFA.

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

Mutation

mutation ValidateMfaDevice($input: ValidateMfaDeviceInputType!) {
  validateMfaDevice(input: $input) {
    deviceIsValid
  }
}

Variables

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

input (ValidatePhoneNumberInput)

Return fields

Name Description

isValid (Boolean)

Whether the phone number is valid or not.

Mutation

mutation ValidatePhone($input: ValidatePhoneNumberInput!) {
  validatePhone(input: $input) {
    isValid
  }
}

Variables

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Arguments

Name Description

input (VaryContractTermsInput)

Return fields

Name Description

contract (Contract)

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

Can access customer queries AND Can verify customer details

Arguments

Name Description

input (VerifyCustomerInput)

Return fields

Name Description

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

user (EspAccountUserType)

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

input (VerifyEmailInput)

Return fields

Name Description

isVerified (Boolean)

Whether the email is verified.

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

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:

Allowed Viewers:

Viewer type Allowed?
Customer
Third party

Required Permissions:

(No)

Rate Limits

Key Steps

Ip

['10/m']

Arguments

Name Description

input (VerifyIdentityInput)

Details about the user to be verified.

Return fields

Name Description

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

token (String!)

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 (WithdrawDunningInputType)

Input variables needed for withdrawing a dunning process for an account.

Return fields

Name Description

possibleErrors ([PossibleErrorType])

Field with the possible errors of the query/mutation.

Deprecated

The 'possibleErrors' field is deprecated.

Please use the 'possibleErrors' query or the 'X-Kraken-Possible-Errors' header instead.

- Marked as deprecated on 2025-01-31.
- Scheduled for removal on or after 2025-03-01.

withdrawSuccessful (Boolean)

Whether the dunning process was withdrawn successfully.

Mutation

mutation WithdrawDunning($input: WithdrawDunningInputType!) {
  withdrawDunning(input: $input) {
    withdrawSuccessful
  }
}

Variables

Response

{
  "data": {
    "withdrawDunning": {
      "withdrawSuccessful": true
    }
  }
}

In this section