Filters locations by the values of their custom fields, in the format custom_field=<field_name>:<value>.
The parameter is optional and can be repeated, which is how AND and OR conditions are expressed:
- Repeating the same field name matches any of its values (OR).
?custom_field=visit_category:wellness&custom_field=visit_category:acute_sick
returns the locations whose visit_category is either wellness or acute_sick.
- Using different field names requires all of them to match (AND).
?custom_field=visit_category:wellness&custom_field=has_parking:true
returns only the locations that are in the wellness category and have parking.
- The two can be combined.
?custom_field=visit_category:wellness&custom_field=visit_category:acute_sick&custom_field=has_parking:true
returns the locations whose visit_category is wellness or acute_sick, and that also have parking.
Omitting the parameter leaves the results unfiltered.