Currently we are using the the endpoint "fulfillments.json" to fulfilled shopify orders. As "/orders/{order_id}/fulfillments.json" going to deprecated.
URL: <Store_url>/admin/api/2023-01/fulfillments.json
Method: POST
Body:
{
“fulfillment”: {
“notify_customer”: false,
“tracking_info”: {
“number”: 1562678
},
“line_items_by_fulfillment_order”: [
{
“fulfillment_order_id”: 6161118101816,
“fulfillment_order_line_items”: [
{
“id”: 13822248550712,
“quantity”: 1
}
]
}
]
}
}
Is this the right process to create fulfillment? Also Is it going to deprecated ? Please advice.