Hi there,
I’m trying to create a return via the API (returnCreate mutation), but I keep getting this error:
Fulfillment Line Item was not found.
Here’s the response:
[returnCreate] => Array
(
[userErrors] => Array
(
[0] => Array
(
[field] => [returnInput, returnLineItems, 0, fulfillmentLineItemId]
[message] => Fulfillment Line Item was not found.
)
)
)
I’m unable to determine the correct fulfillmentLineItemId. I’ve tried retrieving IDs through various queries (fulfillment, orderLineItems, fulfillments, etc.), but none of them seem to match what the return mutation expects.
Could you please clarify how to correctly obtain the fulfillmentLineItemId for a specific fulfilled order or item?
Any reference query example would be appreciated.
Thank you,
Paul