> ## Documentation Index
> Fetch the complete documentation index at: https://docs.magicmealkits.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Coupang

> Retrieve Coupang seller orders and order sheets.

The Coupang group powers the **Coupang** Make.com app — pull seller order sheets and
consumer orders.

## Authentication

Send the MMK `X-API-KEY` — that's the only credential the caller handles. Your Coupang
token is set once on the connection page in the Magic Meal Kits app and resolved
server-side, so no per-request token header is needed — see
[Authentication](/authentication).

<Note>
  Order sheets and category lookup are **Basic**. The two **consumer-order** endpoints
  (`orders`, `flattened-orders`) are **Pro** — a Basic key gets `400`
  `you are not a magic meal kits PRO user`.
</Note>

## Endpoints

| Endpoint                         | Tier    | What it does                                             |
| -------------------------------- | ------- | -------------------------------------------------------- |
| `POST /coupang/ordersheets`      | Basic   | Seller order sheets for a created-at window              |
| `POST /coupang/category`         | Basic   | Look up a display category                               |
| `POST /coupang/orders`           | **Pro** | Consumer orders (paged by `pageIndex`/`pageSize`/`year`) |
| `POST /coupang/flattened-orders` | **Pro** | Consumer orders flattened to one row per item            |

## Notes

* **Order sheets** take a created-at window (`createdAtFrom` / `createdAtTo`, optional
  `status`). **Consumer orders** take `pageIndex` / `pageSize` / `year` instead.
* **Flattened orders** give you one row per order item — handy when mapping straight into a
  spreadsheet or downstream module.

Use the interactive playground to try a request with your own deployment host, API key,
and Coupang token.
