Shippo · Schema

Parcel

EcommerceLabelsLogisticsReturnsShippingTracking

Properties

Name Type Description
object_id string
length string Length of the parcel
width string Width of the parcel
height string Height of the parcel
distance_unit string
weight string Weight of the parcel
mass_unit string
template string Predefined parcel template
object_created string
object_updated string
View JSON Schema on GitHub

JSON Schema

shippo-parcel-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/Parcel",
  "title": "Parcel",
  "type": "object",
  "properties": {
    "object_id": {
      "type": "string"
    },
    "length": {
      "type": "string",
      "description": "Length of the parcel"
    },
    "width": {
      "type": "string",
      "description": "Width of the parcel"
    },
    "height": {
      "type": "string",
      "description": "Height of the parcel"
    },
    "distance_unit": {
      "type": "string",
      "enum": [
        "cm",
        "in",
        "ft",
        "mm",
        "m",
        "yd"
      ]
    },
    "weight": {
      "type": "string",
      "description": "Weight of the parcel"
    },
    "mass_unit": {
      "type": "string",
      "enum": [
        "g",
        "oz",
        "lb",
        "kg"
      ]
    },
    "template": {
      "type": "string",
      "description": "Predefined parcel template"
    },
    "object_created": {
      "type": "string",
      "format": "date-time"
    },
    "object_updated": {
      "type": "string",
      "format": "date-time"
    }
  }
}