I need to Add Trancing Details And fulfill the order

Sansaar
Shopify Partner
48 5 5

My Request Is 2023-01 But APi Is Not Working to add Fullfilment 

Query is: 

{"fulfillment":{"message":"","notify_customer":false,"tracking_info":{"number":"396171552950","url":"#","company":"FEDEXGRND"},"line_items_by_fulfillment_order":[{"fulfillment_order_id":"5296986652955"}]}}

 

End Point :/orders/5296986652955/fulfillments.json

 

Error: 

{"errors":"Not Found"}

 

Where I am Wrong

Reply 1 (1)

ShopifyDevSup
Shopify Staff
1322 218 457

Hi @Sansaar 👋

I'd start by checking if the fulfillment order ID 5296986652955 was assigned to your fulfillment service app. This would involve a GET assigned_fulfillment_orders request to retrieve a list of all requested fulfillment orders on the shop that are assigned to your app. Once this is confirmed, the fulfillment request needs to be accepted to create the fulfillment.

 

Please be sure to post any other fulfillment questions in this FAQ thread here where we've addressed other common issues

 

Hope that helps!

@Umiko 

Developer Support @ Shopify
- Was this reply helpful? Click Like to let us 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