400 error when using Flow, but succesfull with postman

Hi @DaveMcV

Unfortunately that didn’t help.

I also tried going straight from Order Fulfilled to Send HTTP Request with static body like this:

{"location_id":84988625182,"inventory_item_id":47947386061086,"available":41}

But it still gives the same error:

{"status":400,"response_body":"{\"errors\":{\"inventory_item_id\":\"Required parameter missing or invalid\"}}","verb":"POST","url":"https://core.sfe.shopifyinternal.com/admin/api/2024-01/inventory_levels/set.json","request_body":"{\"location_id\":84988625182,\"inventory_item_id\":47947386061086,\"available\":41}"}

I also tried wrapping the location and inventory_item’s id with double quote, that also didn’t help.

I double-checked my token but it’s correct; Postman can send the same payload with the same token.

Is there anything else I missed?