Deliveries
Models
Delivery Model
The delivery represents a single tracking number with one or more parcels that needs to be delivered.
object "delivery"
The description of the model.
coordinates Array<Number, Number>
The latitude and longitude of the current location
created_at integer
Time in epoch seconds when this resource was created.
estimated_delivery_at integer
The estimated delivery for this delivery in epoch seconds.
fulfillment_id string
The ID of the fulfillment that created this delivery.
id string
Unique identifier for the delivery.
location_id string
The hub location to which this delivery is assigned.
lead_time_mins integer
The amount of lead time needed to come get the parcel from the sender. This is set up in the dashboard.
metadata object
Key value pairs of data that you can set for this delivery.
organization_id string
Unique identifier for the organization that owns this delivery. This will always be your organization ID.
parcels Array.<Parcel>
All parcels in the fulfillment and the inventory packed within them
Show Details
pickup_at integer
The time in epoch seconds when this delivery will be picked up.
provider object
Details about the shipping carrier.
Show Details
recipient object
Details about the contact receiving this delivery.
Show Details
sender object
Details about the contact sending this delivery.
Show Details
status string
Current status for this delivery. See Statuses.
tracking_number string
Provider-specific string used to track this delivery.
tracking_updates array<TrackingUpdate>
An array of waypoints this delivery had in order from oldest to newest.
Show Details
tracking_url string
URL where a user can go to track their packages.
type "outbound" | "inbound"
Indicates whether the delivery is an inbound or outbound delivery.
updated_at integer
Time in epoch seconds when this delivery was last updated.
_search object
A special property that will be included if searching through deliveries. This is a flat object which will include <mark>
tags around characters that have matched the search. You can use this to more easily highlight text for a user interface.