Skip to main content

Arguments

number : String

Opportunity number identifier.

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 OpportunityByNumber($number: String) { opportunityByNumber(number: $number) { assignedToAffiliateNumber assignedToTeamIdentifier assignedToUserIdentifier attachments { ...OpportunityAttachmentFragment } conversionSalesChannel creationSalesChannel email extraDetailItems { ...ExtraDetailFragment } funnel { ...SalesFunnelFragment } leadNumber leadType name notes number offerGroupId opportunityAddress { ...AddressOutputFragment } opportunityRichAddress { ...RichAddressTypeFragment } phoneNumber productOffering { ...OfferingTypeFragment } productOfferingId salesChannel stage supplyPoints { ...LeadSupplyPointTypeFragment } } }

Variables

{ "number": "than-plant-special-tree-small" }

Response

{ "data": { "opportunityByNumber": { "assignedToAffiliateNumber": "perhaps-technology-bill-serious-role", "assignedToTeamIdentifier": "56557256", "assignedToUserIdentifier": "45907763", "attachments": [OpportunityAttachment], "conversionSalesChannel": "argue-personal-feel-tough-beyond", "creationSalesChannel": "meet-establish-east-chance-eight", "email": "imagine-picture-tough-around-strong", "extraDetailItems": [ExtraDetail], "funnel": SalesFunnel, "leadNumber": "meeting-watch-establish-lose-figure", "leadType": "man-material-out-drop-computer", "name": "serve-school-oil-later-change", "notes": "mean-more-career-seven-writer", "number": "defense-performance-lose-brother-thought", "offerGroupId": "44422746", "opportunityAddress": AddressOutput, "opportunityRichAddress": RichAddressType, "phoneNumber": "different-play-stock-anyone-common", "productOffering": OfferingType, "productOfferingId": "25587709", "salesChannel": "difficult-current-nothing-this-institution", "stage": "above-after-figure-past-be", "supplyPoints": [LeadSupplyPointType] } } }