About API getting Not Found
We are connecting with the API. In order to meet the user’s offline delivery scenario, we call Shopify’s API to return the express company and express order number to Shopify’s store and modify the order to the shipped status.
This is the API document we refer to: https://shopify.dev/api/admin-rest/2022-01/resources/fulfillment#post-fulfillments.
This is our request and response information
Request
curl --location --request POST 'https://****hiden*****com/admin/api/2022-01/fulfillments.json' \
-H 'Content-Type: application/json' \
-H 'X-Shopify-Access-Token: ********hiden*********' \
-d '{
"fulfillment": {
"message": "The package was shipped this morning.",
"notify_customer": false,
"tracking_info": {
"number": 9876543210,
"url": null,
"company": "ups"
},
"line_items_by_fulfillment_order": [
{
"fulfillment_order_id": 4416943030429,
"fulfillment_order_line_items": [
{
"id": 11057974345885,
"quantity": 3
}
]
}
]
}
}'
Response:
{
"errors": "Not Found"
}
[786X3K-Y35G0]