Create new order labels Deprecated

Add MCP server to your AI tool

Allow AI tools and LLMs to interact with the API documentation portal through MCP.

MCP server URL

https://mall-api-proxy.documentation.omnicado.com/mcp

Standard setup for AI tools providing an mcp.json file

mcp.json
{
  "omnicado-mall-proxy MCP server": {
    "url": "https://mall-api-proxy.documentation.omnicado.com/mcp"
  }
}

Close
POST /orders/{orderId}/labels

Replaced by batch /orders/labels endpoint.

Headers

  • X-Application-Name string

Path parameters

  • orderId integer(int64) Required

    Order identifier

Query parameters

  • client_id string Required

    Client identifier

application/json

Body Required

Parcel count

  • label_type string

    Values are pdf or zpl. Default value is pdf.

  • parcel_count integer Required

Responses

  • 200 application/json

    OK

    Hide response attributes Show response attributes object
    • data object
      Hide data attributes Show data attributes object
      • orders array[object]
        Hide orders attributes Show orders attributes object
        • order_id integer
        • barcodes array[string]
      • labels_raw string

        base64 representation of PDF or ZPL labels

    • result object
      Hide result attributes Show result attributes object
      • code integer(int)
      • status string
    • paging object
      Hide paging attributes Show paging attributes object
      • pages integer
      • size integer
      • page integer
POST /orders/{orderId}/labels
curl \
 --request POST 'https://mpapi.proxy.omnicado.com/v1/orders/89591350/labels?client_id=yourClientId&client_id=api_token_value' \
 --header "Content-Type: application/json" \
 --header "X-Application-Name: myApplicationName" \
 --data '{"label_type":"pdf","parcel_count":3}'
Request examples
# Headers
X-Application-Name: myApplicationName

# Payload
{
  "label_type": "pdf",
  "parcel_count": 3
}
Response examples (200)
{
  "data": {
    "orders": [
      {
        "order_id": 223424231402,
        "barcodes": [
          "14IS12361223*001004",
          "14IS12361223*002004",
          "14IS12361223*003004"
        ]
      }
    ],
    "labels_raw": "JVBERi0xLjMNCiXi48/TDQoNCjEgMCBvYmoNCjw8DvUGFnZXMgMyAwIFINCj...MjcxNA0KJSVFT0YNCg=="
  },
  "result": {
    "code": 200,
    "status": "OK"
  },
  "paging": {
    "pages": 1,
    "size": 1,
    "page": 1
  }
}