API URL : https://:[email removed].myshopify.com/admin/api/2023-01/fulfillments.json
Passing object :
{
"fulfillment": {
"message ": "Order fulfilled",
"notify_customer": false,
"tracking_info": {
"number": **"94055xxxxxxxxxxxxxxxxx"**
},
"line_items_by_fulfillment_order": [
{
"fulfillment_order_id": **<Fulfillment Order Id>**,
"fulfillment_order_line_items": [
{
"id": **<Line Item 1 Id>**,
"quantity": 1
},
{
"id": **<Line Item 2 Id>**,
"quantity": 1
}
]
}
]
}
}
Error: The remote server returned an error: (400) Bad Request.
I want to make Shopify Order as fulfilled which is paid by using API 2023-01
Is there any other way or I missed anything in the above model to pass it into the API
I am referring to the blog URL :