---
updatedAt: 2026-05-27T06:53:55.000Z
agentTools:
  projectIndex: https://docs.track123.com/llms.txt
---

# Retrack an ocean cargo tracking

Each tracking number can be refreshed only once within 6 hours, and repeated calls are invalid. This method will return whether the operation is valid and the actual refresh time.

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "api reference",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://api.track123.com/gateway/open-api"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "apiKey",
        "in": "header",
        "name": "Track123-Api-Secret"
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "tags": [
    {
      "name": "Ocean cargo"
    }
  ],
  "paths": {
    "/tk/v2.1/ocean/track/refresh": {
      "post": {
        "tags": [
          "Ocean cargo"
        ],
        "summary": "Retrack an ocean cargo tracking",
        "description": "Each tracking number can be refreshed only once within 6 hours, and repeated calls are invalid. This method will return whether the operation is valid and the actual refresh time.",
        "operationId": "retrack-an-ocean-cargo-tracking",
        "parameters": [
          {
            "name": "Track123-Api-Secret",
            "in": "header",
            "description": "Your API key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "examples": {
                "Request Example": {
                  "value": {
                    "trackingNo": "MATS5217756000",
                    "orderNo": "11111111",
                    "type": 2
                  }
                }
              },
              "schema": {
                "type": "object",
                "properties": {
                  "orderNo": {
                    "type": "string",
                    "required": true,
                    "description": "The unique order number generated by Track123 when a tracking number is registered"
                  },
                  "trackingNo": {
                    "type": "string",
                    "required": true,
                    "description": "Tracking number"
                  },
                  "type": {
                    "type": "integer",
                    "required": true,
                    "description": "Tracking number type (1. booking number 2. bill of landing number 3. container number)"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "examples": {
                  "Success": {
                    "value": {
                      "code": "00000",
                      "data": {
                        "success": true,
                        "actualRefreshTime": "2022-12-13 20:13:35"
                      },
                      "msg": "Success",
                      "traceId": "6058fd26a116449899a3b98c6a52547a.147.16709336156610647"
                    }
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "code": {
                      "type": "string",
                      "description": "Service status code"
                    },
                    "data": {
                      "type": "object",
                      "properties": {
                        "success": {
                          "type": "boolean",
                          "description": "Successful execution"
                        },
                        "actualRefreshTime": {
                          "type": "string",
                          "description": "Actual refresh time"
                        }
                      }
                    },
                    "msg": {
                      "type": "string",
                      "description": "The description information corresponding to the business status code or other auxiliary description information."
                    }
                  }
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true,
    "samples-enabled": true
  }
}
```