Ordoro · Schema

Endicia Rate POST Request Schema

Order ManagementInventory ManagementShippingDropshippingEcommerceMulti-ChannelFulfillmentLogistics

Properties

Name Type Description
packages array This should always be an array of 1, as USPS does not allow for multiple package shipments at this time
contents_type string to be deprecated in favor of higher use reason_for_export
reason_for_export string
customs_info array
delivery_confirmation string
hold_for_pickup boolean
insurance_type string
insured_value number
mailing_zip_code string mailing post office zip code if different than from address zip code
nondelivery_option string
notify_bill_to boolean
notify_ship_to boolean
reference_number string Customer supplied internal reference for an order
return boolean For orders, determines whether the originating and destination addresses will be swapped for a return label request
ship_date string
shipper_id integer
shipping_method string
stealth boolean NOTE: Ignored for rates. Display indicia on the label
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
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_endicia_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_endicia_rate-schema.json",
  "title": "Endicia Rate POST Request Schema",
  "type": "object",
  "properties": {
    "packages": {
      "description": "This should always be an array of 1, as USPS does not allow for multiple package shipments at this time",
      "type": "array",
      "maxItems": 1,
      "items": {
        "additionalProperties": false,
        "type": "object",
        "properties": {
          "box_shape": {
            "enum": [
              "SmallFlatRateBox",
              "MediumFlatRateBox",
              "LargeFlatRateBox",
              "Parcel",
              "Softpack",
              "Card",
              "Flat",
              "Letter",
              "FlatRateEnvelope",
              "FlatRateLegalEnvelope",
              "FlatRatePaddedEnvelope",
              "SmallFlatRateEnvelope",
              "RegionalRateBoxA",
              "RegionalRateBoxB"
            ],
            "type": "string"
          },
          "height": {
            "description": "Height in inches",
            "type": "number"
          },
          "length": {
            "description": "Length in inches",
            "type": "number"
          },
          "reference": {
            "description": "package level customer reference value",
            "type": "string"
          },
          "weight": {
            "description": "Currently not used, Order weight is used instead. Weight in ounces.",
            "type": "number"
          },
          "width": {
            "description": "Width in inches",
            "type": "number"
          }
        },
        "required": [
          "box_shape"
        ]
      }
    },
    "contents_type": {
      "description": "to be deprecated in favor of higher use reason_for_export",
      "type": "string"
    },
    "reason_for_export": {
      "type": "string"
    },
    "customs_info": {
      "items": {
        "$ref": "#/components/schemas/customs_line"
      },
      "type": "array"
    },
    "delivery_confirmation": {
      "default": "None",
      "enum": [
        "None",
        "DeliveryConfirmation",
        "SignatureConfirmation",
        "AdultSignature",
        "AdultSignatureRestrictedDelivery",
        "RestrictedDelivery"
      ],
      "type": "string"
    },
    "hold_for_pickup": {
      "type": "boolean"
    },
    "insurance_type": {
      "enum": [
        "discounted_insurance",
        "endicia"
      ],
      "type": "string"
    },
    "insured_value": {
      "default": 0,
      "type": "number"
    },
    "mailing_zip_code": {
      "description": "mailing post office zip code if different than from address zip code",
      "type": "string"
    },
    "nondelivery_option": {
      "default": "Return",
      "enum": [
        "Return",
        "Abandon"
      ],
      "type": "string"
    },
    "notify_bill_to": {
      "default": false,
      "type": "boolean"
    },
    "notify_ship_to": {
      "default": false,
      "type": "boolean"
    },
    "reference_number": {
      "description": "Customer supplied internal reference for an order",
      "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"
    },
    "shipper_id": {
      "type": "integer"
    },
    "shipping_method": {
      "type": "string"
    },
    "stealth": {
      "description": "NOTE: Ignored for rates. Display indicia on the label",
      "type": "boolean"
    },
    "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"
    },
    "warehouse_id": {
      "description": "Currently ignored. Previously used for updating a warehouse for the ship_from address on an order.",
      "type": "integer"
    }
  },
  "required": [
    "shipper_id"
  ],
  "additionalProperties": false
}