Skip to main content

I’m currently working on a custom api that lets you update custom properties on a klaviyo profile for use on my Shopify store.

However, I have an issue. I cannot seem to fetch a Klaviyo profile based off of a Shopify customer id? How do i fetch the Klaviyo profile associated with a specific Shopify customer?

Kind regards,

So after a big of digging I’ve found that you can retrieve a Profile ID from an email by using the legacy api.

https://developers.klaviyo.com/en/v1-2/reference/get-profile-id

But how future proof is this?

 

I imagine calling this endpoint first, to retrieve the Klaviyo Profile ID, then using the latest Klaviyo API to update the custom properties using the Update Profile endpoint:
https://developers.klaviyo.com/en/reference/update_profile


Hi @Fischeren!

 

That’s a good point and interesting use case. I will definitely reach out to Product and/or Engineering to determine if this functionality (or an equivalent) will be included in the new APIs at some point. 

 

I’ll update the thread as soon as I know more, and thanks for using the Community!

 

- Brian


Reply