Welcome to OPLOG.ONE API

The OPLOG.ONE API provides comprehensive logistics and supply chain management capabilities through a RESTful interface. Our API enables businesses to integrate powerful logistics operations including product management, order processing, inventory tracking, and shipping coordination.

Base URL

All API requests should be made to:
https://api.oplog.one/openapi/v1

Authentication

OPLOG.ONE uses OAuth 2.0 authentication with tenant-specific tokens. Every API request must include the following headers:
X-Tenant-Id: your-tenant-id
Authorization: Bearer your-static-token
Content-Type: application/json
Ensure you include both X-Tenant-Id and Authorization headers in every request. Missing authentication will result in 401 Unauthorized errors.

Response Format

All API responses follow a consistent JSON structure:

Success Response

{
  "data": {
    // Response data
  },
  "status": "success"
}

Error Response

{
  "error": {
    "code": 400,
    "message": "Validation Errors",
    "errors": [
      {
        "property": "fieldName",
        "message": "Error description",
        "errorCode": "ErrorCode"
      }
    ]
  },
  "requestId": "unique-request-id",
  "timestamp": "2025-06-24T13:37:00.123Z"
}
For detailed error codes and descriptions, see our Error Reference documentation.