Change Warehouse Location of order

Solved
HD_WORK
New Member
20 0 0

Hi There

I bit stuck at one bug.

I want to change my order warehouse location id without fulfilling it.

right now iam using fulfillment api to change warehouse location but its also fulfilling the order!!!

can anyone help me how to deal with it, I want to change the warehouse location of order but not fulfilled it

?????

Accepted Solution (1)

Accepted Solutions
Kevin_A
Shopify Staff
Shopify Staff
318 42 60

This is an accepted solution.

Hey @HD_WORK 

Check out FulfillmentOrders: https://shopify.dev/docs/admin-api/rest/reference/shipping-and-fulfillment/fulfillmentorder

Kevin_A | Solutions Engineer @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit Shopify.dev or the Shopify Web Design and Development Blog

View solution in original post

Replies 3 (3)
Kevin_A
Shopify Staff
Shopify Staff
318 42 60

This is an accepted solution.

Hey @HD_WORK 

Check out FulfillmentOrders: https://shopify.dev/docs/admin-api/rest/reference/shipping-and-fulfillment/fulfillmentorder

Kevin_A | Solutions Engineer @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit Shopify.dev or the Shopify Web Design and Development Blog

HD_WORK
New Member
20 0 0

Yes thank you so much

awaisbukhari8
New Member
1 0 0

according to the above mentioned question change location without using fulfilment api.

you mentioned this api

https://shopify.dev/api/admin-rest/2022-01/resources/fulfillmentorder#post-fulfillment-orders-fulfil...

but in this api fulfillment_order_id is required in order create webhook there is no fulfillment_order_id whatever when get order by id there is no fulfillment_order_id how to call this api after creating order