curl -d ‘{}’
-X POST “https://88cd85.myshopify.com/admin/api/2024-07/fulfillments/1069019896/cancel.json”
-H “X-Shopify-Access-Token: {access_token}”
-H “Content-Type: application/json”
Response: {“errors”:“Internal Server Error”}
curl -X POST
https://88cd85.myshopify.com/admin/api/2024-07/graphql.json
-H ‘Content-Type: application/json’
-H ‘X-Shopify-Access-Token: {access_token}’
-d ‘{
“query”: “mutation fulfillmentCancel($id: ID!) { fulfillmentCancel(id: $id) { fulfillment { id status } userErrors { field message } } }”,
“variables”: {
“id”: “gid://shopify/Fulfillment/1069019896”
}
}’
Response: {“errors”:[{“message”:“Internal error. Looks like something went wrong on our end.\nRequest ID: 25e89808-c95b-48c7-b9e9-2f2203a94d82-1718347246 (include this in support requests).”,“extensions”:{“code”:“INTERNAL_SERVER_ERROR”,“requestId”:“25e89808-c95b-48c7-b9e9-2f2203a94d82-1718347246”}}]}