Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UpdateProfile doesn't include "options" parameter #83

Open
BodiePaden opened this issue Oct 2, 2024 · 2 comments
Open

UpdateProfile doesn't include "options" parameter #83

BodiePaden opened this issue Oct 2, 2024 · 2 comments

Comments

@BodiePaden
Copy link

The Klaviyo docs say that UpdateProfile will return the "subscriptions" block, but it actually doesn't. The only way I was able to get it was by adding additional-fields[profile]=subscriptions to the PATCH request in Postman. There doesn't seem to be an equivalent in the SDK as the function takes no "options" parameter to support it.

I'm guessing this is the case on other functions as well like CreateProfile, etc., but I haven't tested those.

@nat-klaviyo
Copy link

Thanks for raising this, we'll investigate a fix for a future release. As a workaround for now, could you try making a GET request after your PATCH with additionalFieldsProfile: ['subscriptions']?

@BodiePaden
Copy link
Author

Yes, that's exactly what I'm doing, thank you. Looking forward to the fix so I don't have to make the extra call. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants