wheelOfFortuneSpins
Retrieve the number of available Wheel of Fortune spins, per energy type, of an account by the account number.
This field requires the Authorization header to be set.
Deprecation
The 'wheelOfFortuneSpins' field is deprecated.We're migrating the system the Wheel of Fortune runs on. Octopus Energy UK customers can find the new API under api.backend.octopus.energy/v1/graphql/
- Marked as deprecated on 2026-02-20.
- Scheduled for removal on or after 2026-04-20.
Arguments
The account number for which the available spins are gathered.
Returns
AvailableSpinsType!Possible Errors
Allowed Viewers
Required Permissions
Can access customer queriesQuery Complexity
1Examples
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.
query WheelOfFortuneSpins($accountNumber: String!) {
wheelOfFortuneSpins(accountNumber: $accountNumber) {
electricity {
...SupplyTypeSpecificSpinsTypeFragment
}
gas {
...SupplyTypeSpecificSpinsTypeFragment
}
}
}
Variables
{
"accountNumber": "A-5BD4F5EA"
}
Response
{
"data": {
"wheelOfFortuneSpins": {
"electricity": SupplyTypeSpecificSpinsType,
"gas": SupplyTypeSpecificSpinsType
}
}
}