Am new to Shopify but I've set up Webhooks which send JSON and I can receive it. We need to know when certain products are ordered and purchased.
The trouble is SKU data, in fact all line_items data is broken.
Here is an example snippet
fulfillment_status=pending, app_id=null, line_items=[Ljava.lang.Object;@1fbfb8c5, discount_codes=[Ljava.lang.Object;@5159836b, cancelled_at=2020-06-28T23:48:46+01:00, referring_site=null
There is zero product data in the entire JSON payload and it is frustrating to find that the documentation states clearly what is meant to be sent but Shopify either has broken something or that there is an undocumented intended change that they need to let customers know about.
Any advice or help?
Similar problem with someone using AWS Lambda to parse the webhook request. Check the way that raw data is parsed.