Access to the Activity Feed via GraphQL

Shopify Partner
1033 86 287

So I think I asked this awhile back, but then again it's been awhile since I've been on here. Figured maybe I'll ask it again. 😀


We need to better track our employees. We have multiple websites, multiple staff supporting them, as well as multiple developers working on the whole enchilada. For any legitimate business, being able to determine what remote workers are actually doing is a necessary check and balance.


Currently the only way we can really see what's going on in terms of Shopify adds, drops, changes, etc. is manually scrolling through the Activity Feed on the home page in the Shopify admin. You can click Load More and get as many as 250 events. That's it.


Are there any plans to expose the existing GraphQL API endpoint for this so that the retailers can actually use it for themselves? Here is what I see inspecting the page, apparently the URL endpoint --> /admin/internal/web/graphql/core?operation=ActivityFeed&type=query

And here's GraphQL's JSON body:







	"operationName": "ActivityFeed",
	"variables": {
		"first": 20
	"query": "query ActivityFeed($first: Int!) {\n  staffMember {\n    id\n    privateData {\n      activityFeed(first: $first) {\n        pageInfo {\n          hasNextPage\n          __typename\n        }\n        edges {\n          ...Activity\n          __typename\n        }\n        __typename\n      }\n      __typename\n    }\n    __typename\n  }\n}\n\nfragment Activity on ActivityEdge {\n  cursor\n  node {\n    author\n    createdAt\n    messages\n    attributed\n    __typename\n  }\n  __typename\n}\n"







Any insight into enhancing the API to include this would be nice to have. I found a couple of apps I could install on our site. But to track user activity each user would have to manually install a client-side Chrome extension. Not the most elegant solution really... 

Reply 1 (1)

Shopify Staff
246 58 72

Hi there!

Thank you for the detailed feedback! I have recorded it and passed it along to the team. 

To learn more visit the Shopify Help Center or the Community Blog.