# Easypost

Snapshot

| Features                        | Details               |
| ------------------------------- | --------------------- |
| Release Status                  | Released              |
| Source API Version              | V1                    |
| Table Selection                 | Yes                   |
| Column Selection                | Yes                   |
| Edit Integration                | Yes                   |
| Replication Type Selection      | No                    |
| Authentication Parameters       | Easypost Username     |
| Replication Type                | Key Based Incremental |
| Replication Key                 | Date                  |
| Suggested Replication Frequency | 1 hour                |

## Tables/APIs supported

| Shipments |   |
| --------- | - |

## Integrate Easypost with Daton

1. Sign in to Daton&#x20;
2. Select Easypost from the list of Integrations&#x20;
3. Provide Integration Name, Replication Frequency, and History. Integration name would be used in creating tables for the integration and cannot be changed later&#x20;
4. Provide Easypost Username. Follow the [link](https://www.easypost.com/docs/api#authentication) learn more about Easypost Authentication.
5. Post successful authentication, you will be prompted to choose from the list of available tables
6. Then select all required fields for each table
7. Submit the integration

## Workflow

1. Integrations would be in Pending state initially and will be moved to Active state as soon as the first job loads data successfully on to the configured warehouse
2. Users would be able to edit/pause/re-activate/delete integration anytime
3. Users can view job status and process logs from the integration details page by clicking on the integration name from the active list

## Easypost Data

### Shipments <a href="#deliveries" id="deliveries"></a>

Purpose: This API is used to fetch a list of all shipments

Source API Documentation: <https://www.easypost.com/docs/api#shipments>

Replication: Key-Based Incremental

Replication Key: start\_datetime, end\_datetime

**Fields**

| NAME            | DATA TYPE |
| --------------- | --------- |
| created\_at     | TIMESTAMP |
| is\_return      | BOOLEAN   |
| mode            | STRING    |
| options         | RECORD    |
| status          | STRING    |
| tracking\_code  | STRING    |
| updated\_at     | TIMESTAMP |
| batch\_id       | STRING    |
| batch\_status   | STRING    |
| customs\_info   | RECORD    |
| from\_address   | RECORD    |
| parcel          | RECORD    |
| postage\_label  | RECORD    |
| rates           | RECORD    |
| scan\_form      | RECORD    |
| selected\_rate  | RECORD    |
| tracker         | RECORD    |
| to\_address     | RECORD    |
| usps\_zone      | NUMERIC   |
| return\_address | RECORD    |
| buyer\_address  | RECORD    |
| fees            | RECORD    |
| id              | STRING    |
| object          | STRING    |
| messages        | RECORD    |
| reference       | STRING    |
| refund\_status  | STRING    |
| forms           | RECORD    |
