---
updatedAt: 2026-05-21T10:46:12.000Z
agentTools:
  projectIndex: https://docs.qpilot.cloud/llms.txt
---

# Create Shipping Integration

# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "title": "QPilot API",
    "version": "v1"
  },
  "servers": [
    {
      "url": "https://api.qpilot.cloud"
    }
  ],
  "paths": {
    "/Sites/{siteId}/ShippingIntegrations": {
      "post": {
        "tags": [
          "ShippingIntegrations"
        ],
        "summary": "Create Shipping Integration",
        "parameters": [
          {
            "name": "siteId",
            "in": "path",
            "description": "The site identifier",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "requestBody": {
          "description": "The shipping integration",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/QPilot.Core.Models.ShippingIntegration"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/QPilot.Core.Models.ShippingIntegration"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/QPilot.Core.Models.ShippingIntegration"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/QPilot.Core.Models.ShippingIntegration"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "QPilot.Core.Models.ShippingCarrier": {
        "enum": [
          "FlatRate",
          "USPS",
          "ShipperHQ"
        ],
        "type": "string"
      },
      "QPilot.Core.Models.ShippingIntegration": {
        "required": [
          "apiKey1",
          "isTest",
          "shippingCarrierType"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64"
          },
          "siteId": {
            "type": "integer",
            "format": "int64"
          },
          "shippingCarrierType": {
            "$ref": "#/components/schemas/QPilot.Core.Models.ShippingCarrier"
          },
          "apiKey1": {
            "maxLength": 64,
            "minLength": 0,
            "type": "string"
          },
          "apiKey2": {
            "maxLength": 64,
            "minLength": 0,
            "type": "string",
            "nullable": true
          },
          "apiKey3": {
            "maxLength": 64,
            "minLength": 0,
            "type": "string",
            "nullable": true
          },
          "apiKey4": {
            "maxLength": 64,
            "minLength": 0,
            "type": "string",
            "nullable": true
          },
          "isTest": {
            "type": "boolean"
          },
          "createdUtc": {
            "type": "string",
            "format": "date-time"
          },
          "updatedUtc": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      }
    },
    "securitySchemes": {
      "Bearer": {
        "type": "apiKey",
        "description": "Authorization header using the Bearer scheme. Example: \"Bearer {token}\"",
        "name": "Authorization",
        "in": "header"
      }
    }
  },
  "security": [
    {
      "Bearer": []
    }
  ],
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  }
}
```