Hi - I’ve been using APIv2 without issue, however have recently started playing around wit the new beta API and beta PHP SDK.
It's probably really simple, but I’m really struggling to figure out the correct syntax for the $filter argument when using the beta php sdk.
No issue setting up the SDK, or running operations without any filters, but as soon as I try and add a filter…. well I'm obviously doing something very wrong.
The SDK docs indication $filter requires a string.
## Positional Arguments
# $list_id | string
## Keyword Arguments
# $fields_profile | string|]
# $filter | string
# $page_cursor | string
client->Lists->getListProfiles($list_id, $fields_profile=$fields_profile, $filter=$filter, $page_cursor=$page_cursor);
In this instance, how would I use ?filter=equals(last_name,"Smith") filter (the first example here: https://developers.klaviyo.com/en/v2022-09-07.pre/docs#filtering )
Many thanks