Skip to main content

Input fields

affiliateSessionId : String

Affiliate session id.

billingInfo : CreateBillingData! required

Account details.

dateOfBirth : Date

Birth date.

electricitySupplyPoint : SupplyPoint

The electricity supply point data.

email : String! required

Account email.

firstFamilyName : String! required

Spanish first family name.

gasSupplyPoint : SupplyPoint

The gas supply point data.

gettingInTouch : Boolean

Whether to receive promotional mail.

givenName : String! required

Birth name.

mobile : String! required

Account mobile phone number.

nif : String! required

Customer's national ID number.

propertyInfo : CreateAddressData! required

Property address Data.

referralCode : String

Referral code the signing-up customer might have.

salesChannel : String

Sales channel.

salesSubchannel : String

Sales subchannel.

secondFamilyName : String

Spanish second family name.

urn : String

Unique reference number.

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

{ "affiliateSessionId": "70143923", "billingInfo": CreateBillingData, "dateOfBirth": "2007-12-14", "electricitySupplyPoint": SupplyPoint, "email": "through-wall-itself-edge-pass", "firstFamilyName": "Torres", "gasSupplyPoint": SupplyPoint, "gettingInTouch": true, "givenName": "Sandra", "mobile": "song-rest-official-blue-war", "nif": "between-child-spring-professional-miss", "propertyInfo": CreateAddressData, "referralCode": "respond-conference-water-last-image", "salesChannel": "water-beyond-much-point-shoulder", "salesSubchannel": "network-guy-feel-list-same", "secondFamilyName": "Marshall", "urn": "enjoy-serious-form-tough-mission" }