# Deliveries

This is the central unit within Shippify. It consists of a set of two points, one for pickup and the other for delivery, where the associated packages must be transported.

<figure><img src="/files/Cn2IC2geR1ilItJ6Uokh" alt=""><figcaption><p>Entrega</p></figcaption></figure>

## Components

A task has three essential components:&#x20;

* **Pickup Data:** It consists of two parts, contact information and a location. This information is visible to the driver when picking up the packages.&#x20;
* **Delivery Data:** It consists of two parts, contact information and location. This information is visible to the driver at the time of package delivery.&#x20;
* **Packages:** Contains information about the item(s) to be transported in a task.&#x20;

In addition to these, you can add more relevant information:&#x20;

* **Digital Labels:** Here you can add as many as you want, they are words that describe your delivery, for example "fragile".
* &#x20;**Reference Identifier:** It is the identifier of your order in the external system you use.&#x20;
* **Extra Data:** Here you can store additional information you need, such as invoice number, transport guide number, customer code, etc.&#x20;
* **COD:** Cash on Delivery value.

## Types of deliveries and scheduling hours

There are 3 types of deliveries that you can create, depending on which you will have different prices and pickup and delivery schedules.

### Flex <a href="#flex" id="flex"></a>

This type of rate divides the day into two parts by a deadline hour:

* When a delivery is created before the deadline hour.&#x20;
* When a delivery is created after the deadline hour.&#x20;

For both cases, different configurations can be made regarding the day and time when the delivery will be scheduled, the most popular ones are:

#### **Flex same day**

* When a delivery is created before the deadline hour, it is scheduled for the same day.&#x20;
* When a delivery is created after the deadline hour, it is scheduled for the next business day.

#### **Flex next day**

* When a delivery is created before the deadline hour, it is scheduled for the next business day.
* When a delivery is created after the deadline hour, it is scheduled for two business days later.

### Express <a href="#express" id="express"></a>

This type of rate sets the earliest possible collection time, and only that time can be chosen.

### Regular <a href="#regular" id="regular"></a>

This type of rate provides the user with several time windows from which they can choose one to create their delivery. Alternatively, the user can select a specific date/time for delivery.

## Endpoints

* [Creating a delivery](/developers/en/shippify-api/deliveries/delivery-creation.md)
* [Pricing a delivery](/developers/en/shippify-api/deliveries/delivery-quotes.md)
* [Getting delivery informations](/developers/en/shippify-api/deliveries/get-delivery-information.md)
* [Updating pickup data of a delivery](/developers/en/shippify-api/deliveries/update-pickup-point.md)
* [Updating data of. a delivery](/developers/en/shippify-api/deliveries/update-delivery.md)
* [Updating delivery status](/developers/en/shippify-api/deliveries/change-delivery-statuses.md)
* [Assign a driver](/developers/en/shippify-api/deliveries/assign-driver.md)
* [Printing delivery labels](/developers/en/shippify-api/deliveries/print-delivery-labels.md)
* [Getting a tracking link](/developers/en/shippify-api/deliveries/get-a-tracking-link.md)
* [Attaching documents to a delivery](/developers/en/shippify-api/deliveries/attach-documents-to-a-delivery.md)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.shippify.co/developers/en/shippify-api/deliveries.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
