Fulfilling a particular lines of an order Using GraphQL

Topic summary

Issue: A developer is trying to fulfill individual line items from a Shopify order using GraphQL’s fulfillmentCreateV2 mutation, but faces challenges identifying the correct IDs.

Current Status:

  • Can successfully fulfill complete orders using lineItemsByFulfillmentOrder with fulfillmentOrderId
  • Wants to fulfill specific line items but needs Fulfillment Order Line IDs, not regular order line item IDs

Key Problem:

  • REST API (/orders/12345/fulfillment_orders.json) returns line_items with order line IDs and fulfillment order IDs
  • GraphQL requires Fulfillment Order Line IDs to fulfill partial orders
  • Unclear where/how to retrieve these Fulfillment Order Line IDs

Additional Question:
Asking if there’s a way to fetch fulfillment order details for multiple orders in a single GraphQL call.

Status: Unanswered - seeking guidance on mapping between REST API line item IDs and GraphQL’s required Fulfillment Order Line IDs.

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

Hi People

I need some help regarding fulfilling an order using graphQL. I can fulfill the complete order using the below

 mutation {
                fulfillmentCreateV2(
                    fulfillment: {
                        lineItemsByFulfillmentOrder:{
                            fulfillmentOrderId:"4324234"
                        }
                        notifyCustomer:true
                        trackingInfo: {
                            number: "234234"
                            url: ""
                            company: ""
                        }
                    }
                ) {
                    fulfillment {
                        id
                    }
                }
            }

I can mention the lines using the below , but if I need to do that I need the Fulfilment Order Line IDs.

lineItemsByFulfillmentOrder: [
            {
              fulfillmentOrderId: $fulfillmentOrderId,
              fulfillmentOrderLineItems: [
                {
                  id: $fulfillmentOrderLineItemId,
                  quantity: $quantity
                }
              ]
            }
          ]

Where can I find those fulfilment Order Line IDs. All the line IDs I can find in the line_items are the actual order line IDs and not the fulfillment Order Line ID.

Any one has a solution on how I can fulfill a single line of an order?

I can see the fulfillment Order ID and order line ID in the line_items in the rest API call :/orders/12344/fulfillment_orders.json

“line_items”: [
{
“id”: 13382888030416, // Fulfillment Order Line ID, which i need to fulfill
“shop_id”: 60446638288,
“fulfillment_order_id”: 6231380590800,
“quantity”: 1,
“line_item_id”: 13260832866512, // Order Line ID

PS: Also just wondering if there a way to get Fulfillment Order details of multiple orders using a single graphQL call?

Any help is much appreciated.