> ## 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.

# Get order sheets

> Returns Coupang seller order sheets for a created-at window. Requires a **Basic** license.



## OpenAPI

````yaml /api-reference/coupang/openapi.json post /coupang/ordersheets
openapi: 3.1.0
info:
  title: Magic Meal Kits — Coupang API
  version: 1.0.0
  description: >-
    Retrieve Coupang seller order sheets, consumer orders, and categories
    through your Magic Meal Kits server. Backs the **Coupang** Make.com app.


    Auth: the MMK `X-API-KEY` only. Your Coupang token is set once on the
    connection page in the Magic Meal Kits app and resolved server-side — no
    per-request token header is needed. Order sheets and category lookup are
    **Basic**; the consumer-order endpoints are **Pro**.
  license:
    name: Proprietary
    identifier: LicenseRef-Proprietary
servers:
  - url: https://{deployment}/api/v1
    description: Your Magic Meal Kits deployment
    variables:
      deployment:
        default: magic-meal-kits-xxxxx.run.app
        description: Your Cloud Run host (without protocol)
security:
  - ApiKeyAuth: []
tags:
  - name: Orders
    description: Order sheets and consumer orders.
  - name: Catalog
    description: Category lookup.
paths:
  /coupang/ordersheets:
    post:
      tags:
        - Orders
      summary: Get order sheets
      description: >-
        Returns Coupang seller order sheets for a created-at window. Requires a
        **Basic** license.
      operationId: coupangOrderSheets
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/OrderSheetRequest'
            example:
              createdAtFrom: '2026-06-01'
              createdAtTo: '2026-06-07'
              status: ACCEPT
      responses:
        '200':
          description: Order sheets
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
        '400':
          $ref: '#/components/responses/BadRequest'
components:
  schemas:
    OrderSheetRequest:
      type: object
      required:
        - createdAtFrom
        - createdAtTo
      properties:
        createdAtFrom:
          type: string
          description: Start of the created-at window.
        createdAtTo:
          type: string
          description: End of the created-at window.
        status:
          type: string
          description: >-
            Order status filter (e.g. ACCEPT, INSTRUCT, DEPARTURE, DELIVERING,
            FINAL_DELIVERY).
        maxPerPage:
          type: integer
        nextToken:
          type: string
          description: Pagination token from a previous response.
    ApiResponse:
      type: object
      properties:
        status:
          type: string
          enum:
            - success
            - error
        error:
          type: string
        result:
          description: Result payload (orders / order sheets / category).
  responses:
    BadRequest:
      description: Invalid request, or Coupang connection not configured
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ApiResponse'
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-KEY
      description: Your deployment's API key (MMK_API_KEY).

````