MarketPilot Orders API

The Orders API from MarketPilot — 3 operation(s) for orders.

GitHub OpenAPI

Operations 4

POST /orders/quote [1단계] 주문 견적 — 총액·잔액 확인 + quoteToken 발급 (결제 없음) #
POST /orders [2단계] 주문 확정 — 포인트 즉시 차감. 반드시 사용자 승인 후 confirm:true로 호출 #
GET /orders 내 주문 목록 #
GET /orders/{orderId} 주문 상세 + 진행률 + 결과 URL + 최근 진행 로그 #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/marketpilot-it:marketpilot-it-orders-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

marketpilot-it-orders-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: 마켓파일럿 AI 주문 Orders API
  version: 1.0.0
  description: '마케팅 상품 조회·견적·주문·주문내역·포인트 충전 API. 주문은 견적(quote) → 확정(confirm) 2단계이며, 확정 전 사용자 승인이 필요해요. 자세한 가이드: https://api.marketpilot.it/v1/ai/docs'
servers:
- url: https://api.marketpilot.it/v1/ai
security:
- bearerAuth: []
tags:
- name: Orders
paths:
  /orders/quote:
    post:
      operationId: quoteOrder
      summary: '[1단계] 주문 견적 — 총액·잔액 확인 + quoteToken 발급 (결제 없음)'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - productId
              - quantity
              properties:
                productId:
                  type: integer
                quantity:
                  type: integer
                  minimum: 1
                formData:
                  type: object
                  additionalProperties: true
                templateOption:
                  type: string
      responses:
        '200':
          description: totalAmount·pointBalance·shortfall·formErrors·quoteToken(15분 유효)
      tags:
      - Orders
  /orders:
    post:
      operationId: createOrder
      summary: '[2단계] 주문 확정 — 포인트 즉시 차감. 반드시 사용자 승인 후 confirm:true로 호출'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - quoteToken
              - productId
              - quantity
              - confirm
              properties:
                quoteToken:
                  type: string
                productId:
                  type: integer
                quantity:
                  type: integer
                  minimum: 1
                formData:
                  type: object
                  additionalProperties: true
                templateOption:
                  type: string
                confirm:
                  type: boolean
                  description: 사용자에게 최종 확인을 받았으면 true
      responses:
        '200':
          description: 생성된 주문 (orderId·orderCode·statusLabel·totalAmount)
        '402':
          description: 포인트 부족 — 충전 플로우로 이동
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '409':
          description: 견적 만료·가격 변경·견적 재사용 — 견적부터 다시
      tags:
      - Orders
    get:
      operationId: listMyOrders
      summary: 내 주문 목록
      parameters:
      - name: page
        in: query
        schema:
          type: integer
          default: 1
      - name: limit
        in: query
        schema:
          type: integer
          default: 10
          maximum: 50
      - name: status
        in: query
        schema:
          type: string
          enum:
          - inquiry
          - paid
          - in_progress
          - completed
          - refunded
          - stopped
      responses:
        '200':
          description: 주문 배열 (orderId·statusLabel·totalAmount·payment)
      tags:
      - Orders
  /orders/{orderId}:
    get:
      operationId: getMyOrder
      summary: 주문 상세 + 진행률 + 결과 URL + 최근 진행 로그
      parameters:
      - name: orderId
        in: path
        required: true
        schema:
          type: integer
      responses:
        '200':
          description: 주문 상세
      tags:
      - Orders
components:
  schemas:
    Error:
      type: object
      properties:
        error:
          type: string
        details:
          type: object
          additionalProperties: true
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: www.marketpilot.it/developer/api-keys 에서 발급한 mk_ 키