Covers all questions related to inventory management, order fulfillment, and shipping.
"Create a new Fulfillment API" available in API version 2022 - 04,
using this API we create the fulfillment with "location_id" now Shopify removed this API endpoint on 2022-07 API,
Please mention which API call was used to create the fulfillment order using "location_id" in the latest 2023 -01 API.
Hey @Ramsam - if you're creating a fulfillment you can use this API Call in REST or this one in GraphQL. There are a few more answers about how the new Fulfillment Orders framework works here in this post. Briefly though, location IDs are tied to specific fulfillment orders now, rather than the fulfillment object itself.
That said, one way you could change the location_id for a fulfillment order would be to use the fulfillmentOrderMove mutation in GraphQL (REST equivalent here). This would change the fulfillment order's location to the one you want to use. This would also depend on inventory availability at the new location.
Hope this helps - let us know if we can clarify anything on our end.
Developer Support @ Shopify
- Was this reply helpful? Click Like to let us 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