Closed shhac closed 5 years ago
contacts.getById only takes id, but per Hub Spot spec there are more options that can go into the URL query string (as it is a GET)
contacts.getById
id
https://developers.hubspot.com/docs/methods/contacts/get_contact
string[]? property string? propertyMode // "value_only", "value_and_history" string? formSubmissionMode // "all", "none", "newest", "oldest" boolean? showListMemberships
Solution:
Add an options param which accepts these values and adds them to qs
options
qs
The signature is slightly different to the equivalent company/deal versions documented
includePropertyVersions
@shhac I'm short on time these days. Do you want to submit a PR? (looks like you've already researched this issue quite a bit)
I also need it, can you accept the PR soon ?
contacts.getById
only takesid
, but per Hub Spot spec there are more options that can go into the URL query string (as it is a GET)https://developers.hubspot.com/docs/methods/contacts/get_contact
Solution:
Add an
options
param which accepts these values and adds them toqs
The signature is slightly different to the equivalent company/deal versions documented
includePropertyVersions
param