Skip to main content

Arguments

number : String

Lead number.

Returns

LeadOutput

Allowed Viewers

Customer Partner User Third party

Required Permissions

Can query leads

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 LeadByNumber($number: String) { leadByNumber(number: $number) { accountNumber brand contacts { ...LeadContactDetailsTypeFragment } email extraDetailItems { ...ExtraDetailFragment } familyName funnel { ...SalesFunnelFragment } givenName leadId leadType nationalId number phoneNumber stage } }

Variables

{ "number": "exist-board-space-brother-section" }

Response

{ "data": { "leadByNumber": { "accountNumber": "A-3A337820", "brand": "nation-who-set-wind-carry", "contacts": [LeadContactDetailsType], "email": "matter-occur-find-me-ground", "extraDetailItems": [ExtraDetail], "familyName": "Rice", "funnel": SalesFunnel, "givenName": "Aaron", "leadId": "69366424", "leadType": "responsibility-go-much-fund-room", "nationalId": "86694028", "number": "manage-positive-help-daughter-about", "phoneNumber": "everyone-our-think-stop-memory", "stage": "would-left-strong-important-seat" } } }