Ordoro · Schema

Pitney Rate POST Request Schema

Order ManagementInventory ManagementShippingDropshippingEcommerceMulti-ChannelFulfillmentLogistics

Properties

Name Type Description
delivery_confirmation string
hazmat_type string USPS hazmat input type options
hazmat_electronics boolean USPS hazmat option for electronics
insurance_type string
insured_value number
mailing_zip_code string mailing post office zip code if different than from_address zip code, ignored in rate request
non_delivery string
packages array This should always be an array of 1, as USPS does not allow for multiple package shipments at this time
parcel_characteristics string For nonstandard packages
pitney_rate_type string
reference_number string
return boolean For orders, determines whether the originating and destination addresses will be swapped for a return label request
ship_date string
ship_from object The ship_from address is used as the originating address of the rate and label request.
ship_to object The to address is used as the destination address of a return order rate and label request.
reference_id string Identifier for a Return Order
shipper_id integer
shipping_method string
warehouse_id integer Currently ignored. Previously used for updating a warehouse for the ship_from address on an order.
View JSON Schema on GitHub

JSON Schema

ordoro-post_pitney_rate-schema.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/ordoro/refs/heads/main/json-schema/ordoro-post_pitney_rate-schema.json",
  "title": "Pitney Rate POST Request Schema",
  "additionalProperties": false,
  "properties": {
    "delivery_confirmation": {
      "enum": [
        "DelCon",
        "Sig",
        "ADSIG",
        "ADSIGRD",
        "SigRD"
      ],
      "type": "string"
    },
    "hazmat_type": {
      "description": "USPS hazmat input type options",
      "type": "string"
    },
    "hazmat_electronics": {
      "description": " USPS hazmat option for electronics",
      "type": "boolean"
    },
    "insurance_type": {
      "enum": [
        "discounted_insurance"
      ],
      "type": "string"
    },
    "insured_value": {
      "default": 0,
      "type": "number"
    },
    "mailing_zip_code": {
      "description": "mailing post office zip code if different than from_address zip code, ignored in rate request",
      "type": "string"
    },
    "non_delivery": {
      "enum": [
        "return",
        "abandon",
        "redirect"
      ],
      "type": "string"
    },
    "packages": {
      "description": "This should always be an array of 1, as USPS does not allow for multiple package shipments at this time",
      "maxItems": 1,
      "items": {
        "additionalProperties": false,
        "properties": {
          "box_shape": {
            "type": "string"
          },
          "height": {
            "description": "Height in inches",
            "type": "number"
          },
          "length": {
            "description": "Length in inches",
            "type": "number"
          },
          "weight": {
            "description": "Weight in ounces",
            "type": "number"
          },
          "width": {
            "description": "Width in inches",
            "type": "number"
          }
        },
        "required": [
          "box_shape",
          "weight"
        ],
        "type": "object"
      },
      "type": "array"
    },
    "parcel_characteristics": {
      "description": "For nonstandard packages",
      "type": "string"
    },
    "pitney_rate_type": {
      "type": "string"
    },
    "reference_number": {
      "type": "string"
    },
    "return": {
      "description": "For orders, determines whether the originating and destination addresses will be swapped for a return label request",
      "type": "boolean"
    },
    "ship_date": {
      "format": "date-time",
      "type": "string"
    },
    "ship_from": {
      "description": "The ship_from address is used as the originating address of the rate and label request.",
      "$ref": "#/components/schemas/v1_address"
    },
    "ship_to": {
      "description": "The to address is used as the destination address of a return order rate and label request.",
      "$ref": "#/components/schemas/v1_address"
    },
    "reference_id": {
      "description": "Identifier for a Return Order",
      "type": "string"
    },
    "shipper_id": {
      "type": "integer"
    },
    "shipping_method": {
      "type": "string"
    },
    "warehouse_id": {
      "description": "Currently ignored. Previously used for updating a warehouse for the ship_from address on an order.",
      "type": "integer"
    }
  },
  "required": [
    "shipper_id",
    "shipping_method"
  ],
  "type": "object"
}