Hi Paul_n
Perhaps you could assist. I am trying to adjust inventory quantities in select locations on select orders when they are created, adding an increment of 1 for each item within the order (a workaround for limited inter-location transfer functionality and staff permissions), which fits in with this discussion.
So the flow is set up to Get Order Data, and then loop for each item. The HTTP request body is:
{“location_id”:154example,“inventory_item_id”:{{lineItemsForeachitem.id}},“available_adjustment”:1}
However I am receiving this error:
{“status”:400,“response_body”:“Bad Request”,“verb”:“POST”,“url”:“https://core.sfe.shopifyinternal.com/admin/api/2023-01/inventory_levels/set.json”,“request_body”:“{"location_id":154example,"inventory_item_id":gid://shopify/LineItem/154example,"available_adjustment":1}\n”}
Is this type of request possible? Any advice would be appreciated.
Thanks