PickupRequest

Request to schedule a carrier pickup.

GovernmentPostal ServiceShippingLogisticsAddress ValidationPackage Tracking

Properties

Name Type Description
firstName string First name of the contact person.
lastName string Last name of the contact person.
pickupAddress object
packages array List of package types and counts to pick up.
packageLocation string Location where packages will be left for pickup.
specialInstructions string Special pickup instructions for the carrier.
View JSON Schema on GitHub

JSON Schema

carrier-pickup-pickup-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/united-states-postal-service/refs/heads/main/json-schema/carrier-pickup-pickup-request-schema.json",
  "title": "PickupRequest",
  "description": "Request to schedule a carrier pickup.",
  "type": "object",
  "properties": {
    "firstName": {
      "type": "string",
      "description": "First name of the contact person.",
      "example": "John"
    },
    "lastName": {
      "type": "string",
      "description": "Last name of the contact person.",
      "example": "Doe"
    },
    "pickupAddress": {
      "$ref": "#/components/schemas/PickupAddress"
    },
    "packages": {
      "type": "array",
      "description": "List of package types and counts to pick up.",
      "items": {
        "$ref": "#/components/schemas/PickupPackage"
      }
    },
    "packageLocation": {
      "type": "string",
      "description": "Location where packages will be left for pickup.",
      "enum": [
        "FRONT_DOOR",
        "BACK_DOOR",
        "SIDE_DOOR",
        "KNOCK_ON_DOOR",
        "MAIL_ROOM",
        "OFFICE",
        "RECEPTION",
        "IN_MAILBOX",
        "OTHER"
      ],
      "example": "FRONT_DOOR"
    },
    "specialInstructions": {
      "type": "string",
      "description": "Special pickup instructions for the carrier.",
      "example": "Leave by the blue mailbox"
    }
  },
  "required": [
    "pickupAddress",
    "packages"
  ]
}