We want to be able to track changes to an order so we can contact our EPOS to make sure we are accounting for additions and removals to orders.
The webhook contains the following:
{"order_edit":{"id":40526381212,"app_id":1830279,"created_at":"2023-11-20T10:30:12+00:00","notify_customer":false,"order_id":3883511185564,"staff_note":"","user_id":71571439772,"line_items":{"additions":[],"removals":[{"id":9987825107100,"delta":1}]},"discounts":{"line_item":{"additions":[],"removals":[]}},"shipping_lines":{"additions":[]}}}
The “id” in the removals or additions doesn’t seem to correspond with anything - I’d expect it to be a Product Variant or Product? Or something where we can see what has been added or removed by calling an API endpoint. When we use GET on ProductVariant or Product with this ID it doesn’t return any results.