> 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/order-api/order-api/order-api.md).

# Overview

Overview of the Order API for creating, managing, fulfilling, cancelling, replacing, and tracking cross-border orders and transactions

The Order Transaction API is the central order management layer in the ESW cross-border commerce platform. It handles the full lifecycle of orders — from initial creation through fulfilment, cancellation, line-item operations, appeasements, replacements, allocation, and financial transaction search.

It provides a suite of functionalities for managing order-related activities. It allows for retrieving order transactions, canceling entire orders or specific line items, issuing replacements or appeasements, and updating shopper contact details.

The Order API is asynchronous, which means that when ESW receives the API request, the ESW system validates it and returns a response indicating whether your request is accepted or not. If your request is accepted and subsequently processed, the ESW system triggers success or failure event notifications to let you know that your request has now been actioned. Note that these event notifications are sent only if you are subscribed to receive notifications from ESW.

#### What this API does

<table data-card-size="large" data-view="cards"><thead><tr><th></th><th data-hidden data-card-cover data-type="image">Cover image</th><th data-hidden data-card-cover-dark data-type="image">Cover image (dark)</th></tr></thead><tbody><tr><td>Cancellation &#x26; fulfilment</td><td><a href="https://1174654626-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9sJh9mebwGhWfzKvcTnt%2Fuploads%2Fai04wLMizWEm1Ao5Juv3%2FPictogram-07.svg?alt=media&amp;token=920687dc-da15-4a47-81b4-1fadd5c4b9c6">Pictogram-07.svg</a></td><td><a href="https://1174654626-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9sJh9mebwGhWfzKvcTnt%2Fuploads%2FZmFJCjPNWcOURE9Ii3vo%2FPictogram-08.svg?alt=media&amp;token=5212501e-9673-41c1-9935-5b615e963a30">Pictogram-08.svg</a></td></tr><tr><td>Appeasements</td><td><a href="https://1174654626-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9sJh9mebwGhWfzKvcTnt%2Fuploads%2FeRQqUXnJ2ML04SJK4Z4X%2FPictogram-09.svg?alt=media&amp;token=f1e76f60-eee6-415c-95d2-5b4c81a0c9c4">Pictogram-09.svg</a></td><td><a href="https://1174654626-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9sJh9mebwGhWfzKvcTnt%2Fuploads%2FtrJFphyDtEVsWEwaoSec%2FPictogram-10.svg?alt=media&amp;token=3ea238e3-1590-4504-b6c6-c8a245aa58a7">Pictogram-10.svg</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/order-api/order-api/order-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.
