> 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/returns-api/returns-api-2.0/additional-information.md).

# Additional Information

Expand a section to see more detail.

<details>

<summary>Returns API v2.0: general notes</summary>

* The API assumes that the retailer has all order details in their system.
* Retailers must map their internal return reason codes and process reason codes to ESW’s codes.
  * If you don’t have the mapping, contact ESW during onboarding.
* New reason codes must be approved by ESW before you can use them.
* Create return labels are supported as PDF files.
* Updated return labels are supported as PNG files.
* “Returns only” (where ESW handles only returns) is out of scope for this API.

</details>

<details>

<summary>Eligibility rules (cancellation and available-for-return)</summary>

The following conditions apply before an order is cancelled or an order article is made available for a return.

* Cancel order conditions
  * The country must allow order cancellations (EU28).
  * The order article must not have been returned already.
  * All order articles in the order must have shipped.
  * The most recent shipped article must have shipped within 21 days.
  * The order must be a checkout order.
  * All order articles must be available for return.
* Available-for-return conditions
  * It must have shipped more than *x* days ago (normally 2).
  * It must not already be marked as Returned.
  * It must not already be marked as Cancelled.
  * It must not already be marked as Refunded.
  * It must not be older than the allowed period (normally 30 days + 15 days for shipping).

</details>


---

# 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 dynamically by asking a question.

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

```
GET https://developer.esw.com/returns-api/returns-api-2.0/additional-information.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
