Can't move fulfillment order because of "Could not reassign inventory"

Topic summary

A developer is encountering a “Could not reassign inventory” error when attempting to move a fulfillment order to a new location using Shopify’s REST API endpoint. Despite confirming stock availability at the destination location, the API returns a 422 Unprocessable Entity error.

Troubleshooting attempts:

  • Initially tried moving the order without line items
  • Added fulfillment_order_line_items with quantity and ID as suggested, but the same error persists

Suggested solution:
Verify that the specific product/variant in the order is actually assigned to the new location using the inventory levels endpoint (https://shopify.dev/docs/api/admin-rest/2024-01/resources/inventorylevel#post-inventory-levels-connect). The error may occur if the item isn’t properly connected to the destination location, even if general stock exists there.

Status: Unresolved - awaiting confirmation of inventory level assignment at the new location.

Summarized with AI on November 10. AI used: claude-sonnet-4-5-20250929.

I am having trouble moving a fulfillment order using https://shopify.dev/docs/api/admin-rest/2023-07/resources/fulfillmentorder#post-fulfillment-orders-fulfillment-order-id-move

The response I get is

{"errors":["Could not reassign inventory."]}

Note that there is stock on the new location id so I don’t think this is a stock issue.

What should I do?

this is the request id: x-request-id: 4bf1817d-47f3-4d0a-b988-e7fbb83992b8-1712248709

Request


POST /admin/api/2023-07/fulfillment_orders/6534840811633/move.json HTTP/1.1
Content-Type: application/json
Connection: close
User-Agent: RapidAPI/4.2.0 (Macintosh; OS X/14.4.1) GCDHTTPRequest
Content-Length: 67

{
"fulfillment_order": {
"new_location_id": 23761846326
}
}

Response


HTTP/1.1 422 Unprocessable Entity

{"errors":["Could not reassign inventory."]}

Hi dear,

if i am not wrong then you also have to insert order lines detail.

fulfillment_order_line_items

i hope this will solve your issue.

{“fulfillment_order”:{“new_location_id”:655441491,“fulfillment_order_line_items”:[{“id”:1058737714,“quantity”:1}]}}

Thanks

Adding line items creates the same error

Request:


POST /admin/api/2023-07/fulfillment_orders/6534840811633/move.json HTTP/1.1
Content-Type: application/json
Connection: close
User-Agent: RapidAPI/4.2.0 (Macintosh; OS X/14.4.1) GCDHTTPRequest
Content-Length: 145

{
"fulfillment_order": {
"new_location_id": 23761846326,
"fulfillment_order_line_items":[{"id":13675076485233,"quantity":1}]
}
}

Response: x-request-id: 858e4f7a-78e7-4ee3-a591-88cfa2b1ba1e-1712330511


HTTP/1.1 422 Unprocessable Entity
Date: Fri, 05 Apr 2024 15:21:51 GMT

{"errors":["Could not reassign inventory."]}

Did you confirmed that this item is assigned to new location. (item which is in order lines).

because according to documentation this can create an error.

you can use this endpoint just for confirmation

https://shopify.dev/docs/api/admin-rest/2024-01/resources/inventorylevel#post-inventory-levels-connect

and then try again.