Fulfillment API/tracking number issues...

DesertEngineer
New Member
2 0 0

The Fulfillment API call for updating tracking info looks like this:

 

POST /admin/api/2020-04/fulfillments/1022782900/update_tracking.json
{
  "fulfillment": {
    "notify_customer": true,
    "tracking_info": {
      "number": "1111",
      "url": "http://www.my-url.com",
      "company": "my-company"
    }
  }
}

From: https://shopify.dev/docs/admin-api/rest/reference/shipping-and-fulfillment/fulfillment?api[version]=...

 

The call includes the parameter for "company". This could include Fedex, UPS, USPS and others referenced at the top of the page linked above.

 

What I do not see is a list of front-end URLs that will be used by Shopify when it uses the Company field. Does anyone has a comprehensive list that maps the Company to a tracking URL that the Customer would see. For instance, by default, Shopify appears to link to DHL thru this two-step link: https://www.logistics.dhl/us-en/home/tracking/tracking-ecommerce.html?tracking-id=[tracking-number] ... however, this is a more convenient one-step way to link for customers: https://webtrack.dhlglobalmail.com/?trackingnumber=[tracking-number] . 

 

Who is handling the mapping of service to tracking link ... and where can we find this authoritative list? And more importantly, if we don't like the DHL link given to customers, how do we adjust this? As it stands, Shopify will auto-detect the link and then ignore the URL coming thru on the payload. 

0 Likes
DesertEngineer
New Member
2 0 0

...bump...

 

Fulfillment has undocumented configuration and behavior and I'm trying to suss out what is going on:

 

1) Where is the list of tracking URLs for this list of tracking companies?

 

 

2) The API doesn't note which tracker parameters are required, and the behavior if fields are present or are not present?


0 Likes