Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more

API getting Not Found

API getting Not Found

KD100
Shopify Partner
1 0 0
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]

Reply 1 (1)

longtruong99
New Member
9 0 0

me too. please help us