> For the complete documentation index, see [llms.txt](https://developer.esw.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.esw.com/api-references/returns-api.md).

# Returns API

Reference for the Returns API, including endpoints, request formats, and response schemas.

<table data-view="cards"><thead><tr><th align="center"></th><th align="center"></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td align="center"><i class="fa-arrow-rotate-left">:arrow-rotate-left:</i> Find return methods, create return orders, and retrieve tracking events.</td><td align="center"><h4>Returns</h4></td><td><a href="/api-references/returns-api/returns.md">Returns</a></td></tr></tbody></table>

### GRP

<table data-view="cards"><thead><tr><th align="center"></th><th align="center"></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td align="center"><i class="fa-file-import">:file-import:</i> Create or update outbound orders and submit shipments to ESW.</td><td align="center"><h4>Ingestion</h4></td><td><a href="/api-references/returns-api/ingestion.md">Ingestion</a></td></tr><tr><td align="center"><i class="fa-bag-shopping">:bag-shopping:</i> Retrieve an ingested order from the returns platform.</td><td align="center"><h4>Orders</h4></td><td><a href="/api-references/returns-api/orders.md">Orders</a></td></tr><tr><td align="center"><i class="fa-tag">:tag:</i> Request a preprinted label or update a last-mile reference.</td><td align="center"><h4>Label</h4></td><td><a href="/api-references/returns-api/label.md">Label</a></td></tr><tr><td align="center"><i class="fa-location-dot">:location-dot:</i> retrieve PUDO Drop-off locations for a given carrier, based on the shoppers' postcode.</td><td align="center"><h4>Location</h4></td><td><a href="/api-references/returns-api/location.md">Location</a></td></tr><tr><td align="center"><i class="fa-sliders">:sliders:</i> retrieve country-specific configuration information for the returns platform</td><td align="center"><h4>Configuration</h4></td><td><a href="/api-references/returns-api/configuration.md">Configuration</a></td></tr></tbody></table>


---

# 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://developer.esw.com/api-references/returns-api.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.
