Refund API err "Unable to process refund. Quantity requested must be less than or equal to fulfill"

Solved
Tourist
10 1 0

We are getting Refund API err: status code 422, "Unable to process refund. Quantity requested must be less than or equal to fulfill"

when 

POST /admin/api/#{api_version}/orders/#{order_id}/refunds.json

https://help.shopify.com/en/api/reference/orders/refund#create-2019-07

 

Is it expected error behaviour that we cannot refund any unfulfilled items in an order?

As it seems a new behaviour in API, and we can still do refund unfulfilled items in developer store manually.

0 Likes
Tourist
10 1 0

I have tried to refund $2 in the following case. After getting 422 error, in order page:

1. The order became "partially refunded"

2. The Net payment dropped $2.

 

image.png

0 Likes
New Member
1 0 0

Hi, have you had any luck resolving this? We are having the same error on refunds since July. 

0 Likes
Highlighted

Success.

Tourist
10 1 0

hi~ Seems Shopify side has rolled back the changes....

We don't get this problem now...

0 Likes