When I retrieve the affiliate model, it provides me an array of objects of the custom fields.
However, in that response, the “optional_properties” entry is blank.
When I go to list or retrieve an affiliate, none of the custom fields are returned.
I’ve tried passing both “optional_properties” (per the docs) and “fields” as URL parameters (as I do in retrieve contact).
For the values I’ve tried passing “custom_fields”, as well as the individual custom field field_names, and field ID’s.
I’ve tried both REST v1 and REST v2.
What am I missing?