Skip to main content

Arguments

Returns

RegisterPhoneLead

Register a phone lead by creating a Lead instance from a telephone number and partner reference.

Allowed Viewers

Customer Partner User Third party

Required Permissions

Can create electricity quote

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

mutation RegisterPhoneLead($input: TelephoneLeadType) { registerPhoneLead(input: $input) { partnerReference source telephoneLead } }

Variables

{ "input": TelephoneLeadType }

Response

{ "data": { "registerPhoneLead": { "partnerReference": "good-finally-American-lot-ground", "source": "girl-people-seat-music-sing", "telephoneLead": "card-increase-protect-water-either" } } }