> For the complete documentation index, see [llms.txt](https://docs.parcellab.com/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.parcellab.com/docs/developers/readme.md).

# API v4

Welcome to the parcelLab developer documentation, designed to help you simply send your tracking data and integrate with parcelLab.

## Integrate with API v4

Learn how to connect your systems to parcelLab using API v4.

<button type="button" class="button primary medium" data-action="search" data-scope="space" data-icon="magnifying-glass">Search developer documentation</button>

{% hint style="info" %}

#### API v4 is the recommended version for new integrations

If you have an existing integration, refer to the [API v2 LTS documentation](https://docs.parcellab.com/docs/developers/v2/).
{% endhint %}

## API v4 developer journey

Explore key concepts and resources for working with API v4.

{% stepper %}
{% step %}

#### Get started

<table data-view="cards"><thead><tr><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><i class="fa-play">:play:</i> <strong>Quickstart</strong></td><td><a href="/docs/developers/getting-started/quickstart-guide.md">Quickstart Guide</a></td></tr><tr><td><i class="fa-key">:key:</i> <strong>API authentication</strong></td><td><a href="/docs/developers/getting-started/authentication.md">Authentication</a></td></tr><tr><td><i class="fa-triangle-exclamation">:triangle-exclamation:</i> <strong>Error codes</strong></td><td><a href="/docs/developers/getting-started/error-codes.md">Error Codes</a></td></tr></tbody></table>
{% endstep %}

{% step %}

#### Understand the data

<table data-view="cards"><thead><tr><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><i class="fa-network-wired">:network-wired:</i> <strong>Data model</strong></td><td><a href="/docs/developers/data-elements/data-model.md">Data Model</a></td></tr><tr><td><i class="fa-triple-chevrons-right">:triple-chevrons-right:</i> <strong>Tracking lifecycle model</strong></td><td><a href="/docs/developers/data-elements/lifecycle-model.md">Tracking Lifecycle Model</a></td></tr><tr><td><i class="fa-location-dot">:location-dot:</i> <strong>Delivery status model</strong></td><td><a href="/docs/developers/data-elements/lifecycle-model/status-model.md">Delivery Status Model</a></td></tr></tbody></table>
{% endstep %}

{% step %}

#### Build your integration

<table data-view="cards"><thead><tr><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><i class="fa-paper-plane">:paper-plane:</i> <strong>Send data to parcelLab</strong></td><td><a href="/docs/developers/data-elements/send-data.md">Send Data to parcelLab</a></td></tr><tr><td><i class="fa-box-heart">:box-heart:</i> <strong>Create orders &#x26; trackings</strong></td><td><a href="/docs/developers/orders/create-orders-trackings.md">Create Orders/Trackings</a></td></tr></tbody></table>
{% endstep %}

{% step %}

#### Extend your setup

<table data-view="cards"><thead><tr><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><i class="fa-box-circle-check">:box-circle-check:</i> <strong>Integrate the Order Status page</strong></td><td><a href="/docs/developers/status-updates/order-status-page-configuration.md">Order Status Page Configuration</a></td></tr><tr><td><i class="fa-arrows-repeat">:arrows-repeat:</i> <strong>Set up the Returns Portal</strong></td><td><a href="/docs/developers/returns/v2.md">Returns Portal v2 Snippet</a></td></tr><tr><td><i class="fa-calendar-day">:calendar-day:</i> <strong>Display Promise dates</strong></td><td><a href="/docs/developers/promise/api.md">Promise Dates</a></td></tr></tbody></table>
{% endstep %}
{% endstepper %}

## Find more API resources

Browse the API reference for a complete list of available endpoints, including request parameters and response schemas.

<a href="/docs/developers/getting-started/api-reference.md" class="button primary medium" data-icon="code">View API reference</a>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.parcellab.com/docs/developers/readme.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
