Carrier Management

Bulk create or update carriers

Create or update multiple carriers in a single request. Maximum 20 carriers per request. Each carrier is processed in its own transaction. Partial success is supported - some carriers may succeed while others fail.

post/v1/carriers/bulk

Request

Request body

Example request

{
  "carriers": [
    {
      "customData": {
        "tier": "gold",
        "score": 98.5,
        "verified": true,
        "aliases": [
          "Acme Freight",
          "Acme Carriers LLC"
        ],
        "routing": {
          "defaultRegion": "NS",
          "allowCrossBorder": false
        }
      }
    }
  ]
}

Response

Bulk operation completed (may have partial success)

totalinteger

Total number of carriers in the request

successCountinteger

Number of carriers successfully processed

failureCountinteger

Number of carriers that failed to process

Example response

{
  "total": 2
}

Changes

No recorded changes to this operation across all 1 revision of this API.