Hello,
I’m using this post command:
admin/api/2021-04/orders/{orderid}/fulfillments.json
Error message is: Line items are already fulfilled
X-Request-ID = 950c4ce1-e77b-4609-8452-629f27729113
Any help would be appreciated.
Thanks
issah
Hello,
I’m using this post command:
admin/api/2021-04/orders/{orderid}/fulfillments.json
Error message is: Line items are already fulfilled
X-Request-ID = 950c4ce1-e77b-4609-8452-629f27729113
Any help would be appreciated.
Thanks
issah
Thank you for providing the request ID. Having a look in our logs, the error I am seeing is a 422 unprocessable entity. Usually this means that one or more of the fields in the request is incorrect, or the json itself is malformed. You can see an example fulfillment call in our documentation here: https://shopify.dev/api/admin/rest/reference/shipping-and-fulfillment/fulfillment#create-2021-07
Hello Csam,
Thank you for your response.
I created a fresh order and went through the flow.
I did an api request for the order.
I accepted the order
I tried to create a fulfillment
orders/4009360818371/fulfillments.json
I used the following body which is taken from the documentation with only the location_id being changed
{
“fulfillment”: {
“location_id”: 64417300675,
“tracking_number”: “123456789”,
“tracking_urls”: [
“https://shipping.xyz/track.php?num=123456789”,
“https://anothershipper.corp/track.php?code=abc”
],
“notify_customer”: true
}
}
I still got the following:
“Line items are already fulfilled”
X-Request-ID: 3a3a4810-1d42-4ee0-b42e-60eb5737cab3
Can you tell me what I am doing wrong? Is there an error in the sequence of api calls. Do you need additional information to dive deeper? On the shop interface the order status is “In Progress” and the Fulfillment Status is “Accepted”. Attached is a screen shot.
Thanks
issah