PostEx Orders API

Booking, tracking, and listing shipment orders

Operations 5

POST /v3/create-order Create an order (v3) #
POST /v2/create-order Create an order (v2) #
POST /v1/create-order Create an order (v1) #
GET /v1/track-order/{trackingNumber} Track an order #
GET /v1/get-unbooked-orders List unbooked orders #

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/postex-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

postex-orders-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: PostEx Merchant Order Integration Orders API
  description: PostEx is a Pakistani e-commerce logistics and courier platform offering cash-on-delivery fulfilment with instant upfront payments.
  version: '3'
  x-api-evangelist-note: Servers, paths, auth model, and error envelope verified against the live api.postex.pk host on 2026-07-20. No provider-published OpenAPI/Swagger was found (/v3/api-docs, /swagger-ui.html both 404).
  contact:
    name: PostEx Support
    url: https://postex.pk
    email: info@postex.pk
servers:
- url: https://api.postex.pk/services/integration/api/order
  description: PostEx merchant Order Integration API (production)
security:
- merchantToken: []
tags:
- name: Orders
  description: Booking, tracking, and listing shipment orders
paths:
  /v3/create-order:
    post:
      operationId: createOrder
      tags:
      - Orders
      summary: Create an order (v3)
      description: Book a new shipment order with PostEx (latest version). Requires the merchant `token` header. Request body carries the consignee, pickup address code, order reference, item count, and COD amount.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
      responses:
        '200':
          description: Order created
        '400':
          $ref: '#/components/responses/BadRequest'
  /v2/create-order:
    post:
      operationId: createOrderV2
      tags:
      - Orders
      summary: Create an order (v2)
      description: Book a new shipment order (prior version). Requires the merchant `token` header.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
      responses:
        '200':
          description: Order created
        '400':
          $ref: '#/components/responses/BadRequest'
  /v1/create-order:
    post:
      operationId: createOrderV1
      tags:
      - Orders
      summary: Create an order (v1)
      description: Book a new shipment order (original version). Requires the merchant `token` header.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
      responses:
        '200':
          description: Order created
        '400':
          $ref: '#/components/responses/BadRequest'
  /v1/track-order/{trackingNumber}:
    get:
      operationId: trackOrder
      tags:
      - Orders
      summary: Track an order
      description: Retrieve the current status and tracking history of a shipment by its PostEx tracking number. Requires the merchant `token` header.
      parameters:
      - name: trackingNumber
        in: path
        required: true
        description: PostEx tracking number of the order.
        schema:
          type: string
      responses:
        '200':
          description: Order tracking detail
        '400':
          $ref: '#/components/responses/BadRequest'
  /v1/get-unbooked-orders:
    get:
      operationId: getUnbookedOrders
      tags:
      - Orders
      summary: List unbooked orders
      description: List the merchant's orders that have been created but not yet booked into a load sheet. Requires the merchant `token` header.
      responses:
        '200':
          description: List of unbooked orders
        '400':
          $ref: '#/components/responses/BadRequest'
components:
  responses:
    BadRequest:
      description: Bad request (e.g. missing `token` header or invalid parameters)
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  schemas:
    Error:
      type: object
      description: PostEx / Spring Boot error envelope returned on failed requests (Content-Type application/json). Not RFC 9457 problem+json.
      properties:
        timestamp:
          type: string
          format: date-time
          example: 2026-07-21T07:35:03.040+0500
        status:
          type: integer
          example: 400
        error:
          type: string
          example: Bad Request
        message:
          type: string
          example: Missing request header 'token' for method parameter of type String
        path:
          type: string
          example: /api/order/v1/get-merchant-address
  securitySchemes:
    merchantToken:
      type: apiKey
      in: header
      name: token
      description: Merchant API token issued from the PostEx merchant dashboard, supplied in the `token` request header on every call.