Error connection via API, through GraphQL, to return an order.

Hi, I am trying to do a callback via API using GraphQL solution, from Business Central Al.

For the callback I have to make an API call:

SingularConsul_1-1722844007535.png

But I need the fulfillmentlineitemId parameter, to get it I need to make this other call:

I am having trouble setting up the headers needed to make the call, could someone please confirm which headers are needed?

*In postman use: Content-Type and X-Shopify-Access-Token.

Thank you, best regards.

Hi @SingularConsul

Hi!,

The problem is that.

I am in business central and I am trying to make the same call that I make in postman, in post man it works but in business central al, it returns an error, as if the headers were not the correct ones, but really they are.

I put in header Content-Type and token… but don’t work, it returns me the same error, that if in postman I desactivate , the hidden header: content-lenght, ¿could it have something to do?, but I have tried to put content-lenght in my code and it doesn’t work either.

Hi @SingularConsul

Use Graphql instead of “raw” when needed

Hi!
But in Postman it works for me, the problem is when I replicate the call, in Business Central Al.