Get add/removed products in an order

Topic summary

Goal: Retrieve the specific products that were added or removed from a particular order via API (REST or GraphQL).

  • Context: Using Shopify Admin API version 2024-10. An order timeline shows “User edited this order,” and the requester needs the item-level details behind that edit.

  • Current approach: A GraphQL query to order(id) { events(first: 10, query: “verb:EDITED”) { … } } returns only high-level event data (e.g., id, createdAt). It surfaces just the top line “User edited this order,” without listing which products were added or removed.

  • Problem: Need a way to programmatically access the product-level changes (added/removed items) associated with the edit event; current events query does not provide that detail.

  • Assets: A screenshot of the order timeline is referenced to illustrate the desired detail.

  • Status: No solution or workaround provided yet; the request remains open.

Summarized with AI on December 13. AI used: gpt-5.

Hi!

I need to get by API REST or GraphQL the products that users add o remove in a specific order.

With the next request in GraphQL I only get the first line in the event: User edited this order, but I need to know the product the user added and removed.

Version 2024-10, admin api.

{
order(id: “gid://shopify/Order/xxxxx”) {
id
events (first: 10, query: “verb:EDITED”) {
edges {
node {
id
createdAt
}
}
}
}
}
Thank you,