Shippo · Schema

ParcelCreateRequest

EcommerceLabelsLogisticsReturnsShippingTracking

Properties

Name Type Description
length string
width string
height string
distance_unit string
weight string
mass_unit string
template string
View JSON Schema on GitHub

JSON Schema

shippo-parcelcreaterequest-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/ParcelCreateRequest",
  "title": "ParcelCreateRequest",
  "type": "object",
  "required": [
    "length",
    "width",
    "height",
    "distance_unit",
    "weight",
    "mass_unit"
  ],
  "properties": {
    "length": {
      "type": "string"
    },
    "width": {
      "type": "string"
    },
    "height": {
      "type": "string"
    },
    "distance_unit": {
      "type": "string",
      "enum": [
        "cm",
        "in",
        "ft",
        "mm",
        "m",
        "yd"
      ]
    },
    "weight": {
      "type": "string"
    },
    "mass_unit": {
      "type": "string",
      "enum": [
        "g",
        "oz",
        "lb",
        "kg"
      ]
    },
    "template": {
      "type": "string"
    }
  }
}