Multiple tracking numbers for 1 order?

paul-
Excursionist
52 0 13

My orders for multiple items are always dispatched in multiple packages.

 

However, shopify only allows 1 tracking number associated with an order. How to deal with this? I have hundreds of orders so manually emailing customers to inform them when an item ships is a real pain. 

Hey Paul,

Have you solved the issue yet? You can fulfill orders in Shopify partially. When you click on the Mark as fulfilled button then you can select which and how many items are being shipped. Each time you can enter a different tracking number, and Shopify will send a separate order confirmation email for each partial fulfillment.

Hope this helps,
Lukasz

I'm a software engineer. I make things happen automatically.
umairnadeem
New Member
4 0 0

Hi Lukas,

How would you do this via the API? We send the fulfillment data of an order all at once, like this. Issue is that a buyer only gets updated of one tracking number. Is there a way to fulfill partially when using the API, or should we be creating more than one fulfillment?

PUT https://storename.myshopify.com/admin/api/2020-04/orders/3123456789012/fulfillments/2912345678901.js...

 

 

{
  "fulfillment":{
    "id":2912345678901,
    "order_id":3123456789012,
    "status":"open",
    "created_at":"2020-12-07T18:28:00+01:00",
    "service":"deliverr",
    "updated_at":"2020-12-07T19:08:18+01:00",
    "tracking_company":"Carrier",
    "location_id":35894850000,
    "tracking_numbers":[
      "D1001219371",
      "D1001219358"
    ],
    "tracking_urls":[
      "https://www.ontrac.com/tracking.asp?trackingres=submit&tracking_number=D1001219371",
      "https://www.ontrac.com/tracking.asp?trackingres=submit&tracking_number=D1001219358"
    ],
    "line_items":[
      {
        "id":899083511,
        "variant_id":1485389289,
        "quantity":0,
        "fulfillment_service":"placeholder",
        "listing_tool_product_id":164570900,
        "order_item_id":"899083511",
        "quantity_fulfilled":0
      },
      {
        "id":899083517,
        "variant_id":3115549297,
        "quantity":0,
        "fulfillment_service":"placeholder",
        "listing_tool_product_id":433908042,
        "order_item_id":"899083517",
        "quantity_fulfilled":0
      },
      {
        "id":899083531,
        "variant_id":1342463557,
        "quantity":0,
        "fulfillment_service":"placeholder",
        "listing_tool_product_id":149805878,
        "order_item_id":"899083531",
        "quantity_fulfilled":0
      }
    ],
    "notify_customer":true,
    "id_string":"2912345678901"
  }
}

 

 

 

Then, we send a completion update:

POST https://storename.myshopify.com/admin/api/2020-04/orders/3123456789012/fulfillments/2912345678901

 

 

{
  "fulfillment":{
    "tracking_numbers":[
      null
    ],
    "notify_customer":false,
    "id_string":"null"
  }
}

 

 

0 Likes