During webhooks, we can access line_items data - which helps us check if line items have particular properties to see if the order needs to be tagged by our app. (trigger.payload.line_items)
However during a sync, the trigger doesn't include this information, and nor does the params object.
As I understand it, params only shows the params relevant to fields you have on the model itself - which checks out as we've got a simplified model.
I tried adding a lineItems json field to the model to see if this helped params bring in the missing data but this didn't work.
How can I get access to line item data during a sync inside shopifyOrder create or shopifyOrder update?