How can I create a customer timeline comment via Admin API (CommentEvent)?

Hi!
I’m trying to add a comment to a customer’s timeline programmatically. I see the CommentEvent object in the Admin GraphQL API docs, and I can query existing timeline comments, but I can’t find any mutation (like commentEventCreate) to create a new timeline comment.

Does Shopify currently allow apps to create timeline comments for customers (or orders) through the Admin API?
If so, which mutation should I use?
If not, is this feature planned?

Thank you!

2 Likes

Hi @Vikas_Kheni

From digging into this, it does seem that timeline comments are read only for apps - there is no mutation such as commentEventCreate or any other mutation that allows you to programmatically add a timeline comment to a customer or order via the Admin API. I’ll log this as a feature request though!

That’s really unfortunate.
Most other topics are asking about order comments, but there are other resources like customers, where that feature would also be extremely helpful for transparent communication between Partners and Merchants, especially the non-technical staff.

Similar topics:

1 Like

Also agreed, this would be a great feature to add.
It would stop us using Custom Order Metafields or Order custom attributes which become clunky and difficult to read when trying to add in order information for Merchants and their staff.

1 Like

Bump because this is still needed and its apparently been a request since 2019. Come on guys