Covers all questions related to inventory management, order fulfillment, and shipping.
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
To learn more visit the Shopify Help Center or the Community Blog.
Hello Csam,
Thank you for your response.
I created a fresh order and went through the flow.
1. I did an api request for the order.
2. I accepted the order
3. 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