companyByFirstPartyDataAttribute
Resolve a company by a first-party data attribute of the caller's organization. Accepts only attributes enabled as lookup keys; other keys are rejected with an error. Matching is exact and case-sensitive; if several matches exist, the newest wins.
companyByFirstPartyDataAttribute(
attributeKey: String!
attributeValue: String!
): Company
Arguments
companyByFirstPartyDataAttribute.attributeKey ● String! non-null scalar
Attribute key as defined for the caller's organization.
companyByFirstPartyDataAttribute.attributeValue ● String! non-null scalar
Value to match, always passed as a string.
Type
Company object
A Company entity on the Craft platform.