API 404

Laura67
Visitor
2 0 0

The following is my parameter, the interface keeps returning 400, I don't know where the problem is, please help to see:

 

{ "api_version": "2023-04", "line_items_by_fulfillment_order": [{ "fulfillment_order_id": 5034991222000, "fulfillment_order_line_items": [{ "id": 12264062156000, "quantity": 1 }] }], "message": "", "notify_customer": false, "origin_address": { "address1": "", "address2": "", "city": "", "country_code": "DE", "province_code": "", "zip": "" }, "tracking_info": { "company": "DHL Express", "number": "00340434289346108000", "url": "https:\\/\\/www.dhl.com\\/us-en\\/home\\/tracking.html?tracking-id=00340434289346108000" } }

Replies 2 (2)
Laura67
Visitor
2 0 0

The /admin/api/2023-04/fulfillments.json interface is used

Liam
Shopify Staff
Shopify Staff
1942 206 585

Hi Laura,

 

There were recent deprecations on some endpoints on the Fulfillment API - can you confirm you're not making calls to any of these endpoints? It's possible that this 404 is being caused by your app making calls to endpoints which are no longer accessible due to being deprecated.

 

Hope this helps,

Liam | Developer Advocate @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit Shopify.dev or the Shopify Web Design and Development Blog