Body must be a object

i am getting error Body must be a object when calling /deals/${dealId}/products

This error just started popping up

I’m sending an array of products in my function

My func

I solved the problem by changing the verb to PUT instead of POST

1 Like