Zapiet Docs
Last Mile API
Last Mile API
  • Last Mile API
  • Configuring a test store
  • App setup overview
  • General endpoints
  • Authentication
  • Creating settings
  • Creating packages
  • Rate estimate
  • Creating a delivery
  • Delivery status
  • Cancel delivery
  • Creating an integration
  • Writing app listing
  • Order status
  • Tracking URLs
  • Allow variables list
  • Phone number formatting
Powered by GitBook
On this page
  • Static tracking urls
  • Dynamically generated tracking urls

Tracking URLs

PreviousOrder statusNextAllow variables list

Last updated 8 months ago

Static tracking urls

If you provide a tracking url via your API then you should enter it's JSON key in the Tracking URL field as shown below:

In the example above we will automatically fetch the value contained within the "tracking_url" parameter and attached this to the customer's order within Shopify.


Dynamically generated tracking urls

If you do not include a tracking url via your API you can dynamically construct a url using liquid variables. ​

There are currently three variables available:

Field name

Description

Example

id

Shopify's unique identifier for the order

2206491738155

external_id

Your unique identifier for the order provided in your Delivery Create response

ABCDEFG12345

tracking_number

The tracking number provided in your Delivery Create response

RETHNKW354W3H438