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

Shopify API

Shopify API

arnab1
Shopify Partner
25 0 3

Hi,

 

How can i update shipment date, carrier code and carrier name update using shopify API?

Reply 1 (1)

Liam
Community Manager
3108 344 910

Hi Arnab1,

 

You can use the Fulfillment API along with the Order API to update shipment date, carrier code and carrier name

 

First, you need to find the ID of the order that you want to update. You can do this by using the GET /admin/api/2023-10/orders.json endpoint and providing the necessary parameters to find your order.

 

Once you have the Order ID, you need to retrieve the Fulfillment ID associated with the order. You can use the GET /admin/api/2023-10/orders/{order_id}/fulfillments.json endpoint, replacing {order_id} with the actual Order ID.

 

After retrieving the Fulfillment ID, you can update the tracking information using the POST /admin/api/2023-04/orders/{order_id}/fulfillments/{fulfillment_id}/update_tracking.json endpoint. 

 

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