Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more

"Fulfillment order line item does not exist."

Solved

"Fulfillment order line item does not exist."

AyushS
Shopify Partner
2 1 1

Hi All,

I am having issue while using fulfillments api endpoint. I am using following json document as body

{
    "fulfillment":{
    "notify_customer"false,
    "location_id":57088770221,
    "line_items_by_fulfillment_order":[
        {
            "fulfillment_order_id":5525741076653,
            "fulfillment_order_line_items":[
                {
                    "id":11559225852077,
                    "quantity":1
                },
                {
                    "id":11559225884845,
                    "quantity":1
                },
                {
                    "id":11559225950381,
                    "quantity":1
                },
                {
                    "id":11559225983149,
                    "quantity":1
                }
            ]
        }
    ]
    }
}
 
I am getting following error
{
    "errors": [
        "Fulfillment order line item does not exist."
    ]
}
Tried solution discussed here
 
But that isn't working as well. 
Need some assistance.
Accepted Solution (1)

AyushS
Shopify Partner
2 1 1

This is an accepted solution.

Found the issue, instead of "fulfillment_order_line_items" it should be "line_items"

View solution in original post

Reply 1 (1)

AyushS
Shopify Partner
2 1 1

This is an accepted solution.

Found the issue, instead of "fulfillment_order_line_items" it should be "line_items"