Can't create fulfillment after accepting an order - Line items are already fulfilled

unitedpostalgh
New Member
6 0 0

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

0 Likes
csam
Shopify Staff
Shopify Staff
34 5 4

Hi @unitedpostalgh 

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 

 

 

CS | API Support @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit Shopify.dev or the Shopify Web Design and Development Blog

0 Likes
unitedpostalgh
New Member
6 0 0

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

{
  "fulfillment": {
    "location_id"64417300675,
    "tracking_number""123456789",
    "tracking_urls": [
    ],
    "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
0 Likes