Covers all questions related to inventory management, order fulfillment, and shipping.
When a merchant clicks on "Request Fulfillment" they request a fulfillment on all order items in an order.
In the scenario that certain order items cant be fulfilled by our app due to lack of availability of delivery partner while other specific items can only be fulfilled by us because inventory management and control rests with our app what is the correct way to initiate deliveries of specific items while denying others
On following the guide here it seems that there is no option to reject fulfillment request on per order item basis
https://shopify.dev/docs/apps/build/orders-fulfillment/fulfillment-service-apps/build-for-fulfillmen...
Hi Aniket,
This may be easier to achieve with GraphQL API rather than the REST API, using the fulfillmentCreateV2 mutation. First, you need to identify the fulfillment order and the specific line items you want to fulfill. You can retrieve this information using the order query to get the fulfillment orders associated with an order. Then you'd use the fulfillmentCreateV2 mutation to create a fulfillment for the specific line items. You need to provide the fulfilmentOrderId and specify the fulfilmentOrderLineItems with their respective IDs and quantities.
Liam | Developer Advocate @ 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
Hey Liam,
We also wanted the same thing.
We wanted to reject on per order item basis..
Using fulfillmentCreateV2, i can mark some items as fulfilled but i wanted other items for which inventory is not present to be rejected.
Any help on how to solve this?
HI, there
Why dont you split your order into tow fulfllment orders?
Hi,
I tried that..
But i was not able to split the order after the order was marked as 'fulfillment requested' in admin console. The error was
Our flow is onto our fulfillment app location, the order is dropped which can contain multiple Skus.
While fulfilling on our end, some order line items can be fulfilled while others mayn't be able to be fulfilled due to some reasons.
We want to somehow tell Shopify these particular order items can't be fulfilled.
1. cancel request
2.split the order
3.request fulfillment order
Is it Ok?
Thanks for this Eric!!..
These steps worked from API also.
Upvoting...