Skip to main content

Input fields

accountType : AccountTypeChoices default: DOMESTIC

The type of account to create.

billingAddress : LifecycleAddressInput

The billing address in legacy format. Must be provided if rich_billing_address is not provided.

billingName : String! required

The billing name.

brandCode : String! required

The brand of the created account.

chosenPaymentDay : Int

The chosen payment day.

dateOfSale : Date

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

portfolioNumber : String

The number of the portfolio that the account will be associated with.

preferredSsd : Date

The preferred supply start date.

richBillingAddress : RichAddressInput

The billing address in the preferred RichAddress format. Must be provided if billing_address is not provided.

salesInfo : SalesInformationInput! required

Sales information.

supplyPointInfoList : [PrepareAccountSupplyPointInput]

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

userNumber : String! required

The number of the user that owns the account.

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": "month-shake-voice-need-generation", "brandCode": "quality-set-weight-unit-indicate", "chosenPaymentDay": 72, "dateOfSale": "2022-03-07", "portfolioNumber": "P-11543A69", "preferredSsd": "1975-08-29", "richBillingAddress": RichAddressInput, "salesInfo": SalesInformationInput, "supplyPointInfoList": PrepareAccountSupplyPointInput, "userNumber": "picture-rich-fast-sea-time" }