How to access storefront.product_viewed() via the API?

ShelHealth
Excursionist
28 0 6

I see that the customers segments can have a new filter storefront.product_viewed(). How can I access this value for individual customer via the API?  I don't seem to find an object name storefront, nor does the Customer object has a parameter called product_viewed.

 

Thanks

Replies 2 (2)
Liam
Shopify Staff
Shopify Staff
1882 200 577

Hi ShelHealth,

 

Are you trying to use ShopifyQL to access this dataset?

Liam | Developer Advocate @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit Shopify.dev or the Shopify Web Design and Development Blog

ShelHealth
Excursionist
28 0 6

I am using REST API. ShopifyQL seems to only be available for Plus members.