Skip to main content

Arguments

brandCode : BrandChoices

Only return products belonging to this brand. Defaults to the primary brand of this Kraken.

marketName : String! required

Products available for the target market.

productCodes : [String]

Only return the products with these codes. Recommended when requesting rates, as it avoids loading the rates of every product in the market. An empty list returns no products.

Returns

[SupplyProductType]

GraphQL type for a supply product.

Allowed Viewers

Customer Partner User Third party

Required Permissions

Can query available products

Query Complexity

1

Examples

The example data in the variables and responses below are autogenerated values designed to resemble real inputs. They do not represent actual customer data, and in some cases may require additional validation.

Query

query AvailableProducts( $brandCode: BrandChoices, $marketName: String!, $productCodes: [String] ) { availableProducts( brandCode: $brandCode, marketName: $marketName, productCodes: $productCodes ) { availabilityStatus availableFrom availableTo brandCode code description displayName endsAt fullName id isHidden marketName notes params rates { ...ApplicableRateTypeFragment } tags { ...SupplyProductTagTypeFragment } term termsAndConditions { ...TermsAndConditionsTypeFragment } termsContractType } }

Variables

{ "brandCode": "OCTOPUS_ENERGY_SPAIN", "marketName": "serious-investment-drug-within-guy", "productCodes": "view-good-require-hand-put" }

Response

{ "data": { "availableProducts": [ { "availabilityStatus": "EVERYONE", "availableFrom": "2007-07-25T12:47:30.014713+00:00", "availableTo": "2008-11-29T19:32:54.337873+00:00", "brandCode": "amount-now-two-million-his", "code": "benefit-able-able-condition-board", "description": "health-mention-husband-just-parent", "displayName": "middle-evening-look-consider-probably", "endsAt": "2026-04-07T04:04:11.522870+00:00", "fullName": "possible-back-view-claim-difference", "id": "48536839", "isHidden": true, "marketName": "spring-task-blood-various-design", "notes": "organization-democratic-speech-player-really", "params": {"key": "value"}, "rates": [ApplicableRateType], "tags": [SupplyProductTagType], "term": 79, "termsAndConditions": [TermsAndConditionsType], "termsContractType": "heavy-chance-fund-peace-board" } ] } }