> 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-v3.0/methods.md).

# Methods

The ESW Returns API v3.0 (also known as Global Returns Platform (GRP) Returns API).

ESW has different APIs integrated into a single Returns API surface. The various methods available as a part of this API are as follows:

| API Method Group | HTTP Method | Method Name                        | Description                                                                 |
| ---------------- | ----------- | ---------------------------------- | --------------------------------------------------------------------------- |
| Ingestion        | POST        | Create Order                       | Create or replace an order.                                                 |
|                  | PUT         | Update Order                       | Update an existing order.                                                   |
|                  | POST        | Submit Shipment                    | Submit the shipment data related to an order.                               |
| Order            | GET         | Get Order                          | Get an ingested order.                                                      |
| Returns          | GET         | Get Return                         | Get the information on an existing return using a return order number.      |
|                  | GET         | Get Return                         | Search for returns within a specified date range or with a specific status. |
|                  | POST        | Create Return                      | Create a return for an order.                                               |
|                  | PUT         | Update Return                      | Update the status for a return order.                                       |
|                  | GET         | Get Shipping Documents             | Get shipping documents for a return order..                                 |
|                  | GET         | Get Return Methods                 | Get the list of available return methods for a return order.                |
|                  | GET         | Get Return Tracking                | Get the tracking events for a return order.                                 |
| Configuration    | GET         | Get Retailer Country Configuration | Get country-specific configuration for a retailer.                          |
| Location         | GET         | Get PUDO Locations                 | Get the drop-off locations.                                                 |


---

# 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-v3.0/methods.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.
