Skip to main content

Input fields

accountType : AccountTypeChoices default: DOMESTIC

The type of account to create.

billingAddress : LifecycleAddressInput! required

The billing address.

billingName : String! required

The billing name.

brandCode : String! required

The brand of the created account.

chosenPaymentDay : Int

The chosen payment day.

customerDetails : CustomerDetailsInput! required

The customer's details.

dateOfSale : Date

The date of sale, defaults to today if not provided.

preferredSsd : Date

The preferred supply start date.

salesInfo : SalesInformationInput! required

Sales information.

supplyPointInfoList : [PrepareAccountSupplyPointInput]

Information of the supply points that the customer is intending to sign up for supply.

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.

Example

{ "accountType": "BUSINESS", "billingAddress": LifecycleAddressInput, "billingName": "huge-ask-fish-own-lay", "brandCode": "economic-size-sing-through-test", "chosenPaymentDay": 61, "customerDetails": CustomerDetailsInput, "dateOfSale": "2007-06-13", "preferredSsd": "1984-08-29", "salesInfo": SalesInformationInput, "supplyPointInfoList": PrepareAccountSupplyPointInput }