Komerce Orders API

The Orders API from Komerce — 4 operation(s) for orders.

Operations 4

POST /order/api/v1/orders/store Create an order #
PUT /order/api/v1/orders/cancel Cancel an order #
GET /order/api/v1/orders/detail Get order detail #
POST /order/api/v1/orders/print-label Print order label #

Documentation

Specifications

Other Resources

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/komerce-orders-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

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

OpenAPI Specification

komerce-orders-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Komerce Shipping Delivery API (Komship) Orders API
  version: v1
  description: 'Komerce Shipping Delivery API (Komship / Delivery Order API) — search destinations,

    calculate delivery price across regular, cargo and instant 3PL services, create and

    cancel orders, request pickup, print labels, and track airway bills. Authentication is

    a header API key (`x-api-key`) issued from the Collaborator dashboard under

    Developer -> Settings -> Api Key (the "Shipping Delivery" key). A sandbox environment

    mirrors production on a separate host.

    '
  contact:
    name: RajaOngkir Support
    email: support@rajaongkir.com
    url: https://rajaongkir.com/docs/delivery-order-api/getting_started/Getting-Started
  x-apievangelist-generated: '2026-07-19'
  x-apievangelist-method: generated
  x-apievangelist-source: https://rajaongkir.com/docs/delivery-order-api/getting_started/base-url
servers:
- url: https://api.collaborator.komerce.id
  description: Production environment
- url: https://api-sandbox.collaborator.komerce.id
  description: Sandbox environment
security:
- ApiKeyAuth: []
tags:
- name: Orders
paths:
  /order/api/v1/orders/store:
    post:
      operationId: storeOrder
      tags:
      - Orders
      summary: Create an order
      description: Create a delivery order. The shipping fee is deducted from the dashboard balance when the payment method is BANK TRANSFER; insufficient balance rejects the order.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/StoreOrderRequest'
      responses:
        '200':
          description: Order created
        '400':
          description: Validation error — malformed phone number, bad field format, or insufficient balance
        '401':
          description: Missing or invalid API key
  /order/api/v1/orders/cancel:
    put:
      operationId: cancelOrder
      tags:
      - Orders
      summary: Cancel an order
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                order_no:
                  type: string
      responses:
        '200':
          description: Order cancelled
        '400':
          description: Order cannot be cancelled
        '401':
          description: Missing or invalid API key
  /order/api/v1/orders/detail:
    get:
      operationId: getOrderDetail
      tags:
      - Orders
      summary: Get order detail
      parameters:
      - name: order_no
        in: query
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Order detail
        '401':
          description: Missing or invalid API key
        '404':
          description: Order not found
  /order/api/v1/orders/print-label:
    post:
      operationId: printOrderLabel
      tags:
      - Orders
      summary: Print order label
      parameters:
      - name: order_no
        in: query
        required: true
        schema:
          type: string
      - name: page
        in: query
        required: true
        description: Label page layout.
        schema:
          type: string
          example: page_5
      responses:
        '200':
          description: Label document
        '401':
          description: Missing or invalid API key
components:
  schemas:
    OrderDetailItem:
      type: object
      properties:
        product_name:
          type: string
        product_variant_name:
          type: string
        product_price:
          type: integer
        product_weight:
          type: integer
        product_width:
          type: integer
        product_height:
          type: integer
        product_length:
          type: integer
        qty:
          type: integer
        subtotal:
          type: integer
    StoreOrderRequest:
      type: object
      required:
      - order_date
      - brand_name
      - shipper_name
      - shipper_phone
      - shipper_destination_id
      - shipper_address
      - shipper_email
      - receiver_name
      - receiver_phone
      - receiver_destination_id
      - receiver_address
      - shipping
      - shipping_type
      - payment_method
      - shipping_cost
      - order_details
      properties:
        order_date:
          type: string
          description: Date/time the order was created.
        brand_name:
          type: string
          description: Brand name printed on the shipping label.
        shipper_name:
          type: string
        shipper_phone:
          type: string
          description: Must start with 0 or 62
          not +62.: null
        shipper_destination_id:
          type: integer
        shipper_address:
          type: string
        shipper_email:
          type: string
        origin_pin_point:
          type: string
        receiver_name:
          type: string
        receiver_phone:
          type: string
          description: Must start with 0 or 62
          not +62.: null
        receiver_destination_id:
          type: integer
        receiver_address:
          type: string
        destination_pin_point:
          type: string
        shipping:
          type: string
          description: Courier name.
        shipping_type:
          type: string
          description: Courier service type.
        payment_method:
          type: string
          enum:
          - COD
          - BANK TRANSFER
        shipping_cost:
          type: integer
        shipping_cashback:
          type: integer
        service_fee:
          type: integer
        additional_cost:
          type: integer
        grand_total:
          type: integer
        cod_value:
          type: integer
        insurance_value:
          type: number
        notes:
          type: string
        order_details:
          type: array
          items:
            $ref: '#/components/schemas/OrderDetailItem'
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key
      description: Shipping Delivery API key from the Collaborator dashboard. Sandbox and production use separate keys.