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
  • Create a package
  • Merchant perspective
  • Variables

Creating packages

PreviousCreating settingsNextRate estimate

Last updated 8 months ago

If you need to have packages in requests we send to you, you can define them in the Packages section. You can then use packaging variables in the requests to get the package the merchant chooses.

Create a package

  1. Go to the App Setup page

  2. Click Add package ​

  3. Enter a package name that the merchants will see in the Name field

  4. Enter the internal name for this package in Courier name

  5. Enter the length, width, height, and the measurement unit

  6. Choose whether you want to set that package as the default

  7. Click Add Package ​

  8. Save changes at the top of the page

Merchant perspective

When you define packages, a merchant will see them on the integration page. They will be able to

  • Select their default package

  • Set the weight threshold for each package

Variables

Now it’s time to start creating requests—first one is the rate estimate.

Please take a look at our in the variable guide. You can then reference them in requests like any other variable. For example, ####{{ package.length }}

packaging variables