You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This method will return a list of custom field objects containing `key`and `label` attributes.
392
+
This method will return a list of custom field objects containing `key`, `label`and `type` attributes.
393
393
394
-
If there are no custom fields, an empty list will be returned.
394
+
If your account has no custom fields, an empty list will be returned.
395
395
396
396
```json
397
397
[
398
398
{
399
399
"key": "favoriteColor",
400
-
"label": "Favourite Color"
400
+
"label": "Favorite Color",
401
+
"type": "string"
401
402
},
402
403
{
403
404
"key": "plan",
404
-
"label": "Plan"
405
+
"label": "Plan",
406
+
"type": "string"
405
407
}
406
408
]
407
409
```
@@ -410,6 +412,7 @@ If there are no custom fields, an empty list will be returned.
410
412
411
413
## Version history
412
414
415
+
-`v0.1.5` (Jan 25, 2023) - `getCustomFields()` now returns `type` values for each contact property.
413
416
-`v0.1.4` (Jan 25, 2023) - Added support for `userId` in [`sendEvent()`](#sendevent) request. Added missing error response type for `sendEvent()` requests.
414
417
-`v0.1.3` (Dec 8, 2023) - Added support for transactional attachments.
0 commit comments