Cancelling an order from postman returns ( "errors": "Not Found")

I keep on getting this error (“errors”: “Not Found”) when i try to cancel my order on shopify.

  • The order is newly created (< 60 days old)
  • I have access to order-write/read permissions, as well as draft orders permissions
  • The order_id is correct, as when i do a GET request with the same order_id, i get a response.

Here’s my request: https://heavenpanty.com/admin/api/2023-07/orders/{order_id}/cancel.json

I can cancel the order from Shopify page, and it works fine, but cannot from the API. Please help. Thanks

I am having the exact same issue.

I am having the exact same issue. I can’t cancel or close a order, but can query orders