ShipStation · Schema

ShipStation Shipment

A ShipStation shipment representing a shipped order with a label and tracking number

E-CommerceLabelsLogisticsOrder ManagementShippingWarehousing

Properties

Name Type Description
shipmentId integer System-generated unique identifier for the shipment
orderId integer ID of the associated order
orderKey string Order key from the selling channel
userId string ID of the user who created the shipment
orderNumber string Order number from the selling channel
createDate string
shipDate string Date the shipment was shipped
shipmentCost number Total cost of the shipping label
insuranceCost number Cost of shipping insurance
trackingNumber string Carrier-issued tracking number
isReturnLabel boolean Whether this is a return label
carrierCode string Carrier code (e.g., stamps_com, fedex, ups)
serviceCode string Carrier service code
packageCode string Package type code
confirmation string
warehouseId integer ID of the warehouse the shipment was sent from
voided boolean Whether the label has been voided
voidDate string Date the label was voided
shipTo object
weight object
dimensions object
labelData string Base64-encoded label PDF data
View JSON Schema on GitHub

JSON Schema

shipstation-shipment-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://github.com/api-evangelist/shipstation/blob/main/json-schema/shipstation-shipment-schema.json",
  "title": "ShipStation Shipment",
  "description": "A ShipStation shipment representing a shipped order with a label and tracking number",
  "type": "object",
  "properties": {
    "shipmentId": {
      "type": "integer",
      "description": "System-generated unique identifier for the shipment"
    },
    "orderId": {
      "type": "integer",
      "description": "ID of the associated order"
    },
    "orderKey": {
      "type": "string",
      "description": "Order key from the selling channel"
    },
    "userId": {
      "type": "string",
      "description": "ID of the user who created the shipment"
    },
    "orderNumber": {
      "type": "string",
      "description": "Order number from the selling channel"
    },
    "createDate": {
      "type": "string",
      "format": "date-time"
    },
    "shipDate": {
      "type": "string",
      "format": "date",
      "description": "Date the shipment was shipped"
    },
    "shipmentCost": {
      "type": "number",
      "format": "float",
      "description": "Total cost of the shipping label"
    },
    "insuranceCost": {
      "type": "number",
      "format": "float",
      "description": "Cost of shipping insurance"
    },
    "trackingNumber": {
      "type": "string",
      "description": "Carrier-issued tracking number"
    },
    "isReturnLabel": {
      "type": "boolean",
      "description": "Whether this is a return label"
    },
    "carrierCode": {
      "type": "string",
      "description": "Carrier code (e.g., stamps_com, fedex, ups)"
    },
    "serviceCode": {
      "type": "string",
      "description": "Carrier service code"
    },
    "packageCode": {
      "type": "string",
      "description": "Package type code"
    },
    "confirmation": {
      "type": "string",
      "enum": ["none", "delivery", "signature", "adult_signature", "direct_signature"]
    },
    "warehouseId": {
      "type": "integer",
      "description": "ID of the warehouse the shipment was sent from"
    },
    "voided": {
      "type": "boolean",
      "description": "Whether the label has been voided"
    },
    "voidDate": {
      "type": "string",
      "format": "date-time",
      "description": "Date the label was voided"
    },
    "shipTo": {
      "$ref": "#/$defs/Address"
    },
    "weight": {
      "$ref": "#/$defs/Weight"
    },
    "dimensions": {
      "$ref": "#/$defs/Dimensions"
    },
    "labelData": {
      "type": "string",
      "description": "Base64-encoded label PDF data"
    }
  },
  "required": ["shipmentId", "orderId", "trackingNumber", "carrierCode", "serviceCode"],
  "$defs": {
    "Address": {
      "type": "object",
      "title": "ShipStation Address",
      "properties": {
        "name": { "type": "string" },
        "company": { "type": "string" },
        "street1": { "type": "string" },
        "street2": { "type": "string" },
        "city": { "type": "string" },
        "state": { "type": "string" },
        "postalCode": { "type": "string" },
        "country": { "type": "string" },
        "phone": { "type": "string" },
        "residential": { "type": "boolean" }
      }
    },
    "Weight": {
      "type": "object",
      "properties": {
        "value": { "type": "number" },
        "units": { "type": "string", "enum": ["pounds", "ounces", "grams"] }
      }
    },
    "Dimensions": {
      "type": "object",
      "properties": {
        "length": { "type": "number" },
        "width": { "type": "number" },
        "height": { "type": "number" },
        "units": { "type": "string", "enum": ["inches", "centimeters"] }
      }
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/shipstation-shipment"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.