Create Fulfillment - receiving parameter error

NLBrown96
Visitor
3 0 0

I'm trying to follow the approach listed here to fulfill an order.  I can get the fulfillment order just fine.  But when I try to build my POST to actually fulfill the order in postman, like this:

https://XXX.myshopify.com/admin/api/2023-10/fulfillments.json

 

{
  "fulfillment": {
    "line_items_by_fulfillment_order": [
      {
        "fulfillment_order_id": "6459087356155",
        "fulfillment_order_line_items": [
          "id": "13465667469563",
          "quantity": 1
          ]
      }
    ],
    "notify_customer": "true",
    "tracking_info": {
      "number": "700860256781",
      "company": "FedEx"
    }
  }
}
 
I get a "Required parameter missing or invalid" response.  Which suggests I have a simple error somewhere, but for the life of me, I can't figure out what.
Replies 2 (2)

Liam
Shopify Staff
2731 301 778

If you try this same API call outside of Postman (just in terminal manually adding access token) are you still seeing an issue? It's possible there's some config issue with your instance of Postman?

Liam | Developer Advocate @ 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

NLBrown96
Visitor
3 0 0

curl: (3) unmatched brace in URL position 1:
{line_items_by_fulfillment_order:
^

 

But that brace is closed (by the next to last brace);  and its position is an imitation of the sample for the fulfillment POST (here), and I don't see that I've induced a difference.