Skip to content

ShipmentBox ​

Type: schema

TypeScript Definition ​

typescript
ShipmentBox: {{
            box_id?: string | null;
            max_weight?: number | null;
            used_space?: number | null;
            box_name: string;
            box_length: number;
            box_width: number;
            box_height: number;
            box_weight: number;
            items_count: number | null;
            box_count: number | null;
        };
        /**
         * ShipmentEventFields
         * @description What shipment events carry beyond the shipment as the shipments list returns it: its items, its tracking link and dates, and its marketplace.
         */
}

OpenAPI Schema ​

json
{
  "title": "ShipmentBox",
  "type": "object",
  "required": [
    "box_name",
    "box_length",
    "box_width",
    "box_height",
    "box_weight",
    "items_count",
    "box_count"
  ],
  "properties": {
    "box_id": {
      "type": [
        "string",
        "null"
      ]
    },
    "max_weight": {
      "type": [
        "number",
        "null"
      ],
      "exclusiveMaximum": 100000000,
      "exclusiveMinimum": -100000000
    },
    "used_space": {
      "type": [
        "number",
        "null"
      ],
      "exclusiveMaximum": 100000000,
      "exclusiveMinimum": -100000000
    },
    "box_name": {
      "type": "string",
      "minLength": 1
    },
    "box_length": {
      "type": "number",
      "exclusiveMaximum": 100000000,
      "exclusiveMinimum": -100000000
    },
    "box_width": {
      "type": "number",
      "exclusiveMaximum": 100000000,
      "exclusiveMinimum": -100000000
    },
    "box_height": {
      "type": "number",
      "exclusiveMaximum": 100000000,
      "exclusiveMinimum": -100000000
    },
    "box_weight": {
      "type": "number",
      "exclusiveMaximum": 100000000,
      "exclusiveMinimum": -100000000
    },
    "items_count": {
      "type": [
        "integer",
        "null"
      ]
    },
    "box_count": {
      "type": [
        "integer",
        "null"
      ]
    }
  },
  "x-tags": [
    "Shipping"
  ]
}

Auto-generated from OpenAPI spec and TypeScript definitions

Last updated: