Covers all questions related to inventory management, order fulfillment, and shipping.
Hi Team,
I am getting 406 Not Acceptable Response Header & empty Response Body while Creating Fulfillment, though I am passing valid body & headers. Could not find exact issue? How to find the exact issue? Please anyone help.
I am passing cURL for to check.
curl -v -L 'https://<shop-name>.myshopify.com/admin/api/2024-01/orders/<order-id>/fulfillments.json' \
-H 'X-Shopify-Access-Token: <access-token>' \
-H 'Content-Type: application/json' \
-H 'Accept: application/vnd.api+json' \
-d '{
"fulfillment":{
"message":"The package was shipped this morning.",
"notify_customer":true,
"location_id":66877095993,
"tracking_info":{
"number":"4",
"url":"https://tracking.agsystems.com/",
"company":"AGS"
},
"line_items_by_fulfillment_order":[
{
"fulfillment_order_id":6088550711548,
"fulfillment_order_line_items":[
{
"id":12901933547772,
"quantity":1
}
]
}
]
}
}'
Looks like that endpoint is deprecated