I’m using the fulfillment_orders/moved webhook to detect when fulfilment order line items have their location changed in the Shopify UI.
I’m seeing a strange issue with the fulfillment_order_line_items_requested section in the webhook payload:
- Sometimes this is just an empty array, so I have no idea which fulfilment order line items had their locations changed.
- Sometimes it contains a fulfilment order line item id that no longer exists in Shopify, so again, I can’t know what was changed.
- Other times it will return the correct id of the fulfilment order line item which had it’s location changed, which is fine.
The behaviour of missing/invalid ids appears to be random. Is this perhaps due to a data propagation issue/race condition within the Shopify platform?
I’m currently unable to consistently track fulfilment order line item location changes at this point.
Thanks.