I am trying to create a fulfillment through the REST API, but keep getting this response:
{
“errors”:{ “fulfillment”:“Required parameter missing or invalid”}
}
could you please help me
curl --location 'https://book.myshopify.com/admin/api/2023-04/fulfillments.json' \
--header 'X-Shopify-Access-Token: shpua_cb73***f23bb50cb93335dd9f' \
--header 'Content-Type: application/json' \
--data '{
"fulfillment": {
"line_items_by_fulfillment_order": [
{
"fulfillment_order_id": 5618584944961
}
],
"tracking_info": {
"number": "MS1562678",
"url": "https://www.my-shipping-company.com?tracking_number=MS1562678"
}
}
}'