Development discussions around Shopify APIs
I am trying to move a fulfillment order to a new location using the following endpoint:
admin/api/2020-10/fulfillment_orders/3048294678686/move.json
Body :
{
"fulfillment_order": {
"new_location_id": 56287264926
}
}
but it is giving me error:
StatusCode: 422, ReasonPhrase: 'Unprocessable Entity', {"errors":["Cannot change location."]}
Why am I getting this error?
Hey @24sevencommerce,
Make sure the products on that FulfillmentOrder are stocked at the location you're attempting to move to. Keep in mind that if you're using a FulfillmentService, those products can only belong to the fulfillmentService location and can't be moved.
JB | Solutions Engineer @ Shopify
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog
User | RANK |
---|---|
10 | |
5 | |
3 | |
3 | |
3 |
Photo by Marco Verch Sales channels on Shopify are various platforms where you can sell...
By Ollie May 25, 2023Summary of EventsBeginning in January of 2023, some merchants reported seeing a large amo...
By Trevor May 15, 2023With 2-Factor Authentication being required to use Shopify Payments, we’re here to help yo...
By Imogen Apr 26, 2023