Major Problem 1
Why there are 2 separate Klaviyo repositories?
I am trying to create/update a Profile through api call,
- creation works well with `createProfile()` function of `klaviyo-api-php`, but there are no functions to update the profile.
- To update the profile, I have to use `updateProfile()` from `klaviyo-php-sdk`
why there is not a single repository with all necessary functions ?
Major Problem 2
profile creation expects following params,
'type' => 'profile','attributes' => t'email' => $user->email,'phone_number' => $user->phone ?? '','external_id' => $user->id,'first_name' => $user->first_name,'last_name' => $user->last_name,// custom properties‘properties’ => … ]]
qtype' => 'profile','attributes' => f'email' => $user->email,'phone_number' => $user->phone ?? '','external_id' => $user->id,'first_name' => $user->first_name,'last_name' => $user->last_name,// custom properties‘custom_property’ => ‘value’...]