GraphQl api call is showing error even we have full access

Hi there!

When we apply the graphQl call it is showing us this error even though we have full access.
“message”: “Cannot access the requested order. Permission denied”,
“operation”: “order_update”,
“field”: “order_update”,
“request_id”: “61b71e3d724eb82193413689”,
“code”: 9

I have read an article regarding the error code in shiphero API and found that it is Failed Precondition. I am not sure but we are applying a call using postman exactly the same as guided in API but still facing this issue.

For reference here are a few screenshots of the call which we are applying. Also, Please let us know if you required any other details from us.

Hoping to hear from you soon.

Thanks & Regards

Hello @development3!
Welcome to the ShipHero Public API Community!

I see what is going on there. The value you are using for order ID doesn’t seem to be a valid ShipHero order ID. Where are you getting that number from?

Have a nice day!

Hello @tomasfd ,

We got the order id from here.

Hello @development3!
Thanks for sharing.

That would be the order number, the value you get from the store it’s coming from.

To access the order using the API, you need to use the order ID, which would be the number you see at the end of the URL when you are inside an order in the UI.

Please let me know if that wasn’t clear.
Have a great day!