Azure Functions Body - how to test?

I’m trying to write a suite of azure functions which will do some reasonably simple integrations after a Shopify order sends a webhook.

I’ve got a conceptual issue that I’d appreciate some help with.

I’m trying to mock up the webhook in Postman. to do this, I used Hookbin to collect the output from Shopify and the body came through a little like this

{
  "id": 3207753990315,
  "email": "mattshort77@gmail.com",
  "closed_at": null,
  "created_at": "2021-02-02T21:44:18+00:00",
  "updated_at": "2021-02-02T21:44:19+00:00",
  "number": 28,
  "note": "",
  "total_price": "10.00",\
  ....
}

I think that this is json formatted.
so i took this from hookbin and put it into the body (raw) of a postman call. using the local address for the azure function. (which i’m coding in VS Code on a mac). When i send this it works fine. In the function i can collect the $Request.Body and convert from JSON format.

The problem comes in when i promote my function to azure.
An Azure Function receives a custom object in as $Request, so the convert from JSON line isnt needed.

I need to understand how to mock the JSON that ive got from Hookbin up into the same format as the object that the function receives as this would speed up my dev flow loads. and just be a better pattern to be fair. i could do away with the if statement that converts when local and doesnt when not.

does that make sense? appreciate any help…