2020-07 Cancellation API Issue

Highlighted
New Member
1 0 0

We recently updated our Shopify integration. We moved to latest API version 2020-07. 

We are facing issues in cancellation API. Same cancellation request is working fine when we are trying to cancel fulfillment using old API(

/admin/orders/<order_id>/fulfillments/<fulfillment_id>/cancel.json), but the same request is not working on new API. (

admin/api/2020-07/orders/<order_id>/fulfillments/<fulfillment_id>/cancel.json). We are getting error response with http status code 422:

{
"errors": "An error occurred, please try again"
}

Why its not working on new API version and working on old API.
0 Likes