Update fulfillment status to "Failure" or "Error" through admin api??

folsen
New Member
2 0 2

I'm interested if, in the Admin Api, there are any endpoints or endpoint configurations that allow us to update a fulfillment on an order to a status of "failure" or "error". We have external fulfillment integrations that we manage through our own api that communicates back with shopify through the Admin API and would like to use these states for tracking if we have successfully comunicated with our 3rd party logistics partners.

I have attempted to use

 

{
  "fulfillment": {
     "status": "failure", // also "error"
     "location_id": "our_location_id",
      "lineItems": [
          {
              "id": "line_item_id"
          }
      ]
}​

"status" field under fulfillment in the body of the request

 

 

{
    "fulfillment": {
        "status": "failure" // and "error"
    }
}​

 

Is there a way we can update a fulfillment status to "error" or "failure" manually using the Admin Api or some other method?