Hello @Shopify_77
I just finished a merchant managed fulfillment private app for one of our customers following the directions supplied by the supplied guide manage fulfillments. I too get the line Items associated with the fulfillment order.
lineItems(first: 1) {
edges {
node {
id
totalQuantity
remainingQuantity
lineItem {
variant {
inventoryItem {
id
}
}
}
}
}
}
now however I see that the lineItem object from within the lineItems connection is being deprecated. How do I then get at the information for the inventory item being fulfilled if all I have is the FulfillmentOrderLineItem id, total and remaining quantity?
The deprecation warning states:
As of API version 2023-01, this field has been deprecated. The order line item associated with a
FulfillmentOrderLineItemshouldn’t be used to determine what to fulfill. Use theFulfillmentOrderLineItemandFulfillmentOrderobjects instead. An orderLineItemrepresents a single line item on an order, but it doesn’t represent what should be fulfilled
Unfortunately the message doesn’t help me in determining how to associate the information from the fulfillmentOrderLineItem object to a specific product/variant. I get the SKU and fufilled quantity back from the fulfillment agency, which with the current setup works since I can associate the fulfillmentorderlineitem.lineitem.sku.
Could someone please tell me how I should go about it once the line item is no longer available?
Cheers,
Gary