Fulfillment API returns line Items Fulfilled When Item is NOT fulfilled

iangruber
Shopify Partner
8 0 14

Here is the payload and response from the Shopify API, which is rejecting the fulfillment as it's claiming it's been fulfilled already (it is NOT marked as fulfilled in the Shopify API, but does have a different item in the same order that has been fulfilled):

**_Payload:_**

**_{_**
**_ "fulfillment": {_**
**_ "order_id": "1888875282475",_**
**_ "location_id": "18212323363",_**
**_ "status": "success",_**
**_ "tracking_company": "USPS",_**
**_ "tracking_numbers": [_**
**_ "9361269903504358525166"_**
**_ ],_**
**_ "tracking_urls": [],_**
**_ "line_items": [_**
**_ {_**
**_ "id": "418688▇▇▇7435",_**
**_ "quantity": 1,_**
**_ "total_discount": 0_**
**_ }_**
**_ ]_**
**_ }_**
**_}_**

**_Response:_**

**_{_**
**_ "errors": {_**
**_ "base": [_**
**_ "Line items are already fulfilled"_**
**_ ]_**
**_ }_**
**_}_**

0 Likes