opportunityValueByKey
Get the value of a given key that is stored in an opportunity's related JSONFields.
Arguments
Returns
StringThe String scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
Possible Errors
Allowed Viewers
Required Permissions
Can query leadsQuery Complexity
2Examples
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 OpportunityValueByKey(
$key: String,
$opportunityId: ID
) {
opportunityValueByKey(
key: $key,
opportunityId: $opportunityId
)
}
Variables
{
"key": "might-visit-Republican-would-reflect",
"opportunityId": "70315855"
}
Response
{
"data": {
"opportunityValueByKey": "per-most-grow-about-home"
}
}