Fulfillment Required Parameter Missing

I am getting the following error:

{“errors”:{“fulfillment”:“Required parameter missing or invalid”}}

For the request message:

{
  "message": null,
  "notify_customer": true,
  "tracking_info": {
    "number": "XX6376204XXX",
    "url": null,
    "company": "FEDEX"
  },
  "line_items_by_fulfillment_order": [
    {
      "fulfillment_order_id": 4511XXXXX,
      "fulfillment_order_line_items": [
        {
          "quantity": 1,
          "id": 11585172XXXXX,
          "admin_graphql_api_id": null
        },
        {
          "quantity": 1,
          "id": 11585172XXXX,
          "admin_graphql_api_id": null
        }
      ]
    }
  ]
}

Calling the Endpoint:

admin/api/2023-01/fulfillments.json

Current business process. We get tracking information based on order and items in the order from our shipping software. This includes a type (fedex, usps, etc) and the tracking information.

What I dont understand at this point; Is there an additional step required to put tracking information on an order then before? Like create a “fulfillmentorder” then use that to add tracking information?

Hi there,

Try it again without sending “admin_graphql_api_id” in your json document. Also make sure that the fulfillment_order_id is the fulfillment_order_id from orders/[orderid]/fulfillment_orders.json and not the actual order_id.

Cheers,

Gary

Did you ever get this working? I am getting the same error. I am using the fulfillment_order_id (not order.id), and the fulfillment order line item id (not order line item id). The error is super vague and unhelpful.

{
  "api_version": "2024-01",
  "notify_customer": true,
  "line_items_by_fulfillment_order": [
    {
      "fulfillment_order_id": 6596237721XXX,
      "fulfillment_order_line_items": [
        {
          "id": 14564806754XXX,
          "quantity": 1
        }
      ]
    }
  ]
}
{
    "errors": {
        "fulfillment": "Required parameter missing or invalid"
    }
}