I am fetching a batch of people from the /people endpoint. I want the contacts' home_address and work_address values. My understanding is the /people endpoint is only capable of returning the primary_address and if I want to get the home_address, work_address, or other specific address, I would need to query the /people/:id endpoint. I'd rather query the /people endpoint just once rather than the /people/:id endpoint once for each and every contact. Is it in fact possible to fetch specific addresses with the /people endpoint?
Submitted
Official response from Kev O'ConnorIt's not possible to access specific address types in the Index endpoint. This will always show the abbreviated Person resource, which includes only the primary address. You will need to use the show endpoint to access the specific address types.
Showing 1 reaction
Sign in with