{
  "openapi": "3.0.1",
  "info": {
    "title": "ParcelPrep API",
    "description": "Welcome to the ParcelPrep API\r\n",
    "version": "v1"
  },
  "paths": {
    "/oauth/Token": {
      "post": {
        "tags": [
          "Authorize"
        ],
        "summary": "Exchanges OAuth2 credentials for an access token response.",
        "description": "This endpoint implements the OAuth2 token exchange as specified by the OAuth2\r\n            protocol. The response omits default values when serializing to JSON. Ensure that the request contains all\r\n            required OAuth2 parameters for the desired grant type.",
        "parameters": [
          {
            "name": "X-Api-Key",
            "in": "header",
            "required": true,
            "style": "simple",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "The OAuth2 request containing client credentials and grant information. Cannot be null.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/OAuth2Request"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/OAuth2Request"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/OAuth2Request"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/api/Package/CreatePackage/CreatePackage": {
      "post": {
        "tags": [
          "Package"
        ],
        "parameters": [
          {
            "name": "X-Api-Key",
            "in": "header",
            "required": true,
            "style": "simple",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreatePackageRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreatePackageRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreatePackageRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreatePackageResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/Package/CreateServiceLevelPackage/CreateServiceLevelPackage": {
      "post": {
        "tags": [
          "Package"
        ],
        "parameters": [
          {
            "name": "X-Api-Key",
            "in": "header",
            "required": true,
            "style": "simple",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateServiceLevelPackageRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateServiceLevelPackageRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateServiceLevelPackageRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreatePackageResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/Package/DeletePackage/DeletePackage": {
      "post": {
        "tags": [
          "Package"
        ],
        "parameters": [
          {
            "name": "X-Api-Key",
            "in": "header",
            "required": true,
            "style": "simple",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DeletePackageRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/DeletePackageRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/DeletePackageRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeletePackageResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/Package/DownloadBPODFiles/DownloadBPODFiles": {
      "post": {
        "tags": [
          "Package"
        ],
        "parameters": [
          {
            "name": "X-Api-Key",
            "in": "header",
            "required": true,
            "style": "simple",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DownloadPodRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/DownloadPodRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/DownloadPodRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DownloadPodResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/Package/Ping": {
      "get": {
        "tags": [
          "Package"
        ],
        "parameters": [
          {
            "name": "X-Api-Key",
            "in": "header",
            "required": true,
            "style": "simple",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/Package/CreateInternationalPackage/CreateInternationalPackage": {
      "post": {
        "tags": [
          "Package"
        ],
        "parameters": [
          {
            "name": "X-Api-Key",
            "in": "header",
            "required": true,
            "style": "simple",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateInternationalPackageRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateInternationalPackageRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateInternationalPackageRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreatePackageResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/Package/CreateOrderShipmentPackage": {
      "post": {
        "tags": [
          "Package"
        ],
        "parameters": [
          {
            "name": "X-Api-Key",
            "in": "header",
            "required": true,
            "style": "simple",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/OrderShipmentPackageRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/OrderShipmentPackageRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/OrderShipmentPackageRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OrderShipmentPackageResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/Rate/GetRateEstimate": {
      "post": {
        "tags": [
          "Rate"
        ],
        "parameters": [
          {
            "name": "X-Api-Key",
            "in": "header",
            "required": true,
            "style": "simple",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RateEstimateRequestV1"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/RateEstimateRequestV1"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/RateEstimateRequestV1"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetRateEstimateResponseV1"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "BaseResponse": {
        "type": "object",
        "properties": {
          "isSuccessful": {
            "type": "boolean"
          },
          "message": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CreateInternationalPackageRequest": {
        "type": "object",
        "properties": {
          "clientConsolidationFacility": {
            "type": "string",
            "nullable": true
          },
          "outputLabelType": {
            "type": "string",
            "nullable": true
          },
          "fromAddress": {
            "$ref": "#/components/schemas/FromAddress"
          },
          "toAddress": {
            "$ref": "#/components/schemas/InternationalAddressInformation"
          },
          "isOrmd": {
            "type": "boolean"
          },
          "machinable": {
            "type": "boolean"
          },
          "serviceEndorsement": {
            "type": "string",
            "nullable": true
          },
          "processingCategory": {
            "type": "integer",
            "format": "int32"
          },
          "weightInOunces": {
            "type": "string",
            "nullable": true
          },
          "businessRuleType": {
            "type": "string",
            "nullable": true
          },
          "carrier": {
            "type": "string",
            "nullable": true
          },
          "serviceType": {
            "type": "string",
            "nullable": true
          },
          "packageContainerType": {
            "type": "string",
            "nullable": true
          },
          "width": {
            "type": "string",
            "nullable": true
          },
          "length": {
            "type": "string",
            "nullable": true
          },
          "height": {
            "type": "string",
            "nullable": true
          },
          "girth": {
            "type": "string",
            "nullable": true,
            "deprecated": true
          },
          "packageId": {
            "type": "string",
            "nullable": true
          },
          "addReturnLabel": {
            "type": "boolean"
          },
          "expectedPackageCost": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "insuredAmount": {
            "type": "string",
            "nullable": true
          },
          "shipDate": {
            "type": "string",
            "nullable": true
          },
          "customerReferenceNumbers": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "carrierExtraServices": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "addressHygieneType": {
            "type": "string",
            "nullable": true
          },
          "signatureRequired": {
            "type": "boolean"
          },
          "notificationEmailAddresses": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "integrationType": {
            "$ref": "#/components/schemas/IntegrationType"
          },
          "accountName": {
            "type": "string",
            "nullable": true
          },
          "destinationFacilityAddress": {
            "$ref": "#/components/schemas/DestinationFacilityAddress"
          },
          "destinationFacilityType": {
            "type": "string",
            "nullable": true
          },
          "thirdPartyBilling": {
            "$ref": "#/components/schemas/ThirdPartyBilling"
          },
          "deliveryConfirmation": {
            "type": "string",
            "nullable": true
          },
          "customsDetail": {
            "$ref": "#/components/schemas/InternationalPackageCustomsDetail"
          }
        },
        "additionalProperties": false
      },
      "CreatePackageRequest": {
        "type": "object",
        "properties": {
          "clientConsolidationFacility": {
            "type": "string",
            "nullable": true
          },
          "uspsContainerId": {
            "type": "string",
            "nullable": true
          },
          "apiRevision": {
            "type": "string",
            "nullable": true
          },
          "outputLabelType": {
            "type": "string",
            "nullable": true
          },
          "fromName": {
            "type": "string",
            "nullable": true
          },
          "fromFirm": {
            "type": "string",
            "nullable": true
          },
          "fromAddressLine1": {
            "type": "string",
            "nullable": true
          },
          "fromAddressLine2": {
            "type": "string",
            "nullable": true
          },
          "fromCity": {
            "type": "string",
            "nullable": true
          },
          "fromState": {
            "type": "string",
            "nullable": true
          },
          "fromZip5": {
            "type": "string",
            "nullable": true
          },
          "fromZip4": {
            "type": "string",
            "nullable": true
          },
          "fromPhone": {
            "type": "string",
            "nullable": true
          },
          "toName": {
            "type": "string",
            "nullable": true
          },
          "toFirm": {
            "type": "string",
            "nullable": true
          },
          "toAddressLine1": {
            "type": "string",
            "nullable": true
          },
          "toAddressLine2": {
            "type": "string",
            "nullable": true
          },
          "toCity": {
            "type": "string",
            "nullable": true
          },
          "toState": {
            "type": "string",
            "nullable": true
          },
          "toZip5": {
            "type": "string",
            "nullable": true
          },
          "toZip4": {
            "type": "string",
            "nullable": true
          },
          "toPhone": {
            "type": "string",
            "nullable": true
          },
          "toEmailAddress": {
            "type": "string",
            "nullable": true
          },
          "toIsResidential": {
            "type": "boolean"
          },
          "serviceEndorsement": {
            "type": "string",
            "nullable": true
          },
          "isPoBox": {
            "type": "boolean"
          },
          "isOrmd": {
            "type": "boolean"
          },
          "addReturnLabel": {
            "type": "boolean"
          },
          "machinable": {
            "type": "boolean"
          },
          "processingCategory": {
            "type": "integer",
            "format": "int32"
          },
          "weightInOunces": {
            "type": "string",
            "nullable": true
          },
          "businessRuleType": {
            "type": "string",
            "nullable": true
          },
          "carrier": {
            "type": "string",
            "nullable": true
          },
          "serviceType": {
            "type": "string",
            "nullable": true
          },
          "packageContainerType": {
            "type": "string",
            "nullable": true
          },
          "width": {
            "type": "string",
            "nullable": true
          },
          "length": {
            "type": "string",
            "nullable": true
          },
          "height": {
            "type": "string",
            "nullable": true
          },
          "girth": {
            "type": "string",
            "nullable": true,
            "deprecated": true
          },
          "priceOptions": {
            "type": "string",
            "nullable": true
          },
          "insuredAmount": {
            "type": "string",
            "nullable": true
          },
          "shipDate": {
            "type": "string",
            "nullable": true
          },
          "isSaturdayDelivery": {
            "type": "boolean"
          },
          "customerReferenceNumber": {
            "type": "string",
            "nullable": true
          },
          "customerReferenceNumber2": {
            "type": "string",
            "nullable": true
          },
          "customerReferenceNumber3": {
            "type": "string",
            "nullable": true
          },
          "customerReferenceNumber4": {
            "type": "string",
            "nullable": true
          },
          "showReferenceNumbersOnLabel": {
            "type": "boolean",
            "nullable": true
          },
          "packageId": {
            "type": "string",
            "nullable": true
          },
          "batchId": {
            "type": "string",
            "nullable": true
          },
          "expectedPackageCost": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "carrierExtraServices": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "addressHygieneType": {
            "type": "string",
            "nullable": true
          },
          "signatureRequired": {
            "type": "boolean"
          },
          "notificationEmailAddresses": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "customFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CustomField"
            },
            "nullable": true
          },
          "integrationType": {
            "type": "string",
            "nullable": true
          },
          "accountName": {
            "type": "string",
            "nullable": true
          },
          "destinationFacilityAddress": {
            "$ref": "#/components/schemas/DestinationFacilityAddress"
          },
          "destinationFacilityType": {
            "type": "string",
            "nullable": true
          },
          "thirdPartyBilling": {
            "$ref": "#/components/schemas/ThirdPartyBilling"
          },
          "deliveryConfirmation": {
            "type": "string",
            "nullable": true
          },
          "labelSize": {
            "type": "string",
            "nullable": true
          },
          "customsForm": {
            "$ref": "#/components/schemas/InternationalPackageCustomsDetail"
          }
        },
        "additionalProperties": false
      },
      "CreatePackageResponse": {
        "type": "object",
        "properties": {
          "isSuccessful": {
            "type": "boolean"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "packageId": {
            "type": "string",
            "nullable": true
          },
          "trackingNumber": {
            "type": "string",
            "nullable": true
          },
          "carrier": {
            "type": "string",
            "nullable": true
          },
          "serviceType": {
            "type": "string",
            "nullable": true
          },
          "rateType": {
            "type": "string",
            "nullable": true
          },
          "cost": {
            "type": "number",
            "format": "double"
          },
          "postage": {
            "type": "number",
            "format": "double"
          },
          "insuranceFee": {
            "type": "number",
            "format": "double"
          },
          "insuranceIncludedInCharge": {
            "type": "boolean"
          },
          "customerReferenceNumber": {
            "type": "string",
            "nullable": true
          },
          "customerReferenceNumber2": {
            "type": "string",
            "nullable": true
          },
          "customerReferenceNumber3": {
            "type": "string",
            "nullable": true
          },
          "customerReferenceNumber4": {
            "type": "string",
            "nullable": true
          },
          "base64": {
            "type": "string",
            "nullable": true
          },
          "outputLabelType": {
            "type": "string",
            "nullable": true
          },
          "returnLabelInformation": {
            "$ref": "#/components/schemas/CreateReturnLabel"
          }
        },
        "additionalProperties": false
      },
      "CreateReturnLabel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "cost": {
            "type": "number",
            "format": "double"
          },
          "trackingNumber": {
            "type": "string",
            "nullable": true
          },
          "base64": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CreateServiceLevelPackageRequest": {
        "type": "object",
        "properties": {
          "serviceLevel": {
            "type": "string",
            "nullable": true
          },
          "clientConsolidationFacility": {
            "type": "string",
            "nullable": true
          },
          "uspsContainerId": {
            "type": "string",
            "nullable": true
          },
          "apiRevision": {
            "type": "string",
            "nullable": true
          },
          "outputLabelType": {
            "type": "string",
            "nullable": true
          },
          "fromName": {
            "type": "string",
            "nullable": true
          },
          "fromFirm": {
            "type": "string",
            "nullable": true
          },
          "fromAddressLine1": {
            "type": "string",
            "nullable": true
          },
          "fromAddressLine2": {
            "type": "string",
            "nullable": true
          },
          "fromCity": {
            "type": "string",
            "nullable": true
          },
          "fromState": {
            "type": "string",
            "nullable": true
          },
          "fromZip5": {
            "type": "string",
            "nullable": true
          },
          "fromZip4": {
            "type": "string",
            "nullable": true
          },
          "fromPhone": {
            "type": "string",
            "nullable": true
          },
          "toName": {
            "type": "string",
            "nullable": true
          },
          "toFirm": {
            "type": "string",
            "nullable": true
          },
          "toAddressLine1": {
            "type": "string",
            "nullable": true
          },
          "toAddressLine2": {
            "type": "string",
            "nullable": true
          },
          "toCity": {
            "type": "string",
            "nullable": true
          },
          "toState": {
            "type": "string",
            "nullable": true
          },
          "toZip5": {
            "type": "string",
            "nullable": true
          },
          "toZip4": {
            "type": "string",
            "nullable": true
          },
          "toPhone": {
            "type": "string",
            "nullable": true
          },
          "toEmailAddress": {
            "type": "string",
            "nullable": true
          },
          "toIsResidential": {
            "type": "boolean"
          },
          "isPoBox": {
            "type": "boolean"
          },
          "isOrmd": {
            "type": "boolean"
          },
          "machinable": {
            "type": "boolean"
          },
          "addressServiceRequested": {
            "type": "boolean"
          },
          "weightInOunces": {
            "type": "string",
            "nullable": true
          },
          "businessRuleType": {
            "type": "string",
            "nullable": true
          },
          "packageContainerType": {
            "type": "string",
            "nullable": true
          },
          "width": {
            "type": "string",
            "nullable": true
          },
          "length": {
            "type": "string",
            "nullable": true
          },
          "height": {
            "type": "string",
            "nullable": true
          },
          "girth": {
            "type": "string",
            "nullable": true
          },
          "priceOptions": {
            "type": "string",
            "nullable": true
          },
          "insuredAmount": {
            "type": "string",
            "nullable": true
          },
          "shipDate": {
            "type": "string",
            "nullable": true
          },
          "customerReferenceNumber": {
            "type": "string",
            "nullable": true
          },
          "customerReferenceNumber2": {
            "type": "string",
            "nullable": true
          },
          "customerReferenceNumber3": {
            "type": "string",
            "nullable": true
          },
          "customerReferenceNumber4": {
            "type": "string",
            "nullable": true
          },
          "carrierExtraServices": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "addressHygieneType": {
            "type": "string",
            "nullable": true
          },
          "signatureRequired": {
            "type": "boolean"
          },
          "notificationEmailAddresses": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CustomField": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "value": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "DeclarationOfContents": {
        "type": "object",
        "properties": {
          "doesNotContainsAlcoholTobaccoOrFirearms": {
            "type": "boolean"
          },
          "doesNotContainHazardousMaterials": {
            "type": "boolean"
          },
          "containsLithiumBatteries": {
            "type": "boolean"
          },
          "containsLithiumBatteriesInstalledInUnits": {
            "type": "boolean"
          },
          "containsUncompromisedLithiumBatteries": {
            "type": "boolean"
          },
          "signatureRequired": {
            "type": "boolean"
          },
          "restrictedDelivery": {
            "type": "boolean"
          },
          "adultSignatureRequired": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "DeletePackageRequest": {
        "type": "object",
        "properties": {
          "clientConsolidationFacility": {
            "type": "string",
            "nullable": true
          },
          "trackingNumber": {
            "type": "string",
            "nullable": true
          },
          "packageId": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "DeletePackageResponse": {
        "type": "object",
        "properties": {
          "isSuccessful": {
            "type": "boolean"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "packageId": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Description": {
        "type": "object",
        "properties": {
          "tagNumber": {
            "type": "string",
            "nullable": true
          },
          "customsContentType": {
            "type": "string",
            "nullable": true
          },
          "contentComments": {
            "type": "string",
            "nullable": true
          },
          "descriptionItems": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DescriptionItem"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "DescriptionItem": {
        "type": "object",
        "properties": {
          "countryOfOrigin": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "quantity": {
            "type": "integer",
            "format": "int32"
          },
          "totalValue": {
            "type": "number",
            "format": "double"
          }
        },
        "additionalProperties": false
      },
      "DestinationFacilityAddress": {
        "type": "object",
        "properties": {
          "addressLine1": {
            "type": "string",
            "nullable": true
          },
          "addressLine2": {
            "type": "string",
            "nullable": true
          },
          "city": {
            "type": "string",
            "nullable": true
          },
          "state": {
            "type": "string",
            "nullable": true
          },
          "zip5": {
            "type": "string",
            "nullable": true
          },
          "zip4": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "DownloadPodRequest": {
        "type": "object",
        "properties": {
          "clientConsolidationFacility": {
            "type": "string",
            "nullable": true
          },
          "trackingNumber": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "DownloadPodResponse": {
        "type": "object",
        "properties": {
          "isSuccessful": {
            "type": "boolean"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "base64Encoded": {
            "type": "string",
            "nullable": true
          },
          "fileType": {
            "type": "string",
            "nullable": true
          },
          "suggestedFileName": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "FromAddress": {
        "type": "object",
        "properties": {
          "firm": {
            "type": "string",
            "nullable": true
          },
          "firstName": {
            "type": "string",
            "nullable": true
          },
          "lastName": {
            "type": "string",
            "nullable": true
          },
          "addressLine1": {
            "type": "string",
            "nullable": true
          },
          "addressLine2": {
            "type": "string",
            "nullable": true
          },
          "city": {
            "type": "string",
            "nullable": true
          },
          "state": {
            "type": "string",
            "nullable": true
          },
          "zip5": {
            "type": "string",
            "nullable": true
          },
          "zip4": {
            "type": "string",
            "nullable": true
          },
          "phone": {
            "type": "string",
            "nullable": true
          },
          "isResidential": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "GetRateEstimateResponseV1": {
        "type": "object",
        "properties": {
          "isSuccessful": {
            "type": "boolean"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "rateEstimates": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RateEstimateAPIResponseV1"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "IntegrationType": {
        "enum": [
          "PrintSmithVision",
          "Pace"
        ],
        "type": "string"
      },
      "InternationalAddressInformation": {
        "type": "object",
        "properties": {
          "firm": {
            "type": "string",
            "nullable": true
          },
          "firstName": {
            "type": "string",
            "nullable": true
          },
          "lastName": {
            "type": "string",
            "nullable": true
          },
          "addressLine1": {
            "type": "string",
            "nullable": true
          },
          "addressLine2": {
            "type": "string",
            "nullable": true
          },
          "city": {
            "type": "string",
            "nullable": true
          },
          "postalCode": {
            "type": "string",
            "nullable": true
          },
          "province": {
            "type": "string",
            "nullable": true
          },
          "country": {
            "type": "string",
            "nullable": true
          },
          "countryCode": {
            "type": "string",
            "nullable": true
          },
          "phone": {
            "type": "string",
            "nullable": true
          },
          "email": {
            "type": "string",
            "nullable": true
          },
          "isResidential": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "InternationalPackageCustomsContent": {
        "type": "object",
        "properties": {
          "description": {
            "type": "string",
            "nullable": true
          },
          "quantity": {
            "type": "integer",
            "format": "int32"
          },
          "totalValue": {
            "type": "number",
            "format": "double"
          },
          "totalWeightInOunces": {
            "type": "number",
            "format": "double"
          },
          "tariffNumber": {
            "type": "string",
            "nullable": true
          },
          "countryOfOrigin": {
            "type": "string",
            "nullable": true
          },
          "category": {
            "type": "string",
            "nullable": true
          },
          "subcategory": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "InternationalPackageCustomsDetail": {
        "type": "object",
        "properties": {
          "contentComments": {
            "type": "string",
            "nullable": true
          },
          "restrictionType": {
            "type": "string",
            "nullable": true
          },
          "restrictionComments": {
            "type": "string",
            "nullable": true
          },
          "aesItn": {
            "type": "string",
            "nullable": true
          },
          "invoiceNumber": {
            "type": "string",
            "nullable": true
          },
          "licenseNumber": {
            "type": "string",
            "nullable": true
          },
          "certificateNumber": {
            "type": "string",
            "nullable": true
          },
          "customsContentType": {
            "type": "string",
            "nullable": true
          },
          "importer": {
            "$ref": "#/components/schemas/InternationalPackageCustomsReference"
          },
          "exporter": {
            "$ref": "#/components/schemas/InternationalPackageCustomsReference"
          },
          "customsContents": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InternationalPackageCustomsContent"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "InternationalPackageCustomsReference": {
        "type": "object",
        "properties": {
          "referenceType": {
            "type": "string",
            "nullable": true
          },
          "reference": {
            "type": "string",
            "nullable": true
          },
          "phone": {
            "type": "string",
            "nullable": true
          },
          "fax": {
            "type": "string",
            "nullable": true
          },
          "email": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "OAuth2Request": {
        "type": "object",
        "properties": {
          "grant_type": {
            "type": "string",
            "nullable": true
          },
          "client_id": {
            "type": "string",
            "nullable": true
          },
          "client_secret": {
            "type": "string",
            "nullable": true
          },
          "code": {
            "type": "string",
            "nullable": true
          },
          "refresh_token": {
            "type": "string",
            "nullable": true
          },
          "redirect_uri": {
            "type": "string",
            "nullable": true
          },
          "scope": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "OrderShipmentPackage": {
        "type": "object",
        "properties": {
          "shippingOption": {
            "type": "string",
            "nullable": true
          },
          "outputLabelType": {
            "type": "string",
            "nullable": true
          },
          "fromAddress": {
            "$ref": "#/components/schemas/FromAddress"
          },
          "toAddress": {
            "$ref": "#/components/schemas/ToAddress"
          },
          "width": {
            "type": "string",
            "nullable": true
          },
          "length": {
            "type": "string",
            "nullable": true
          },
          "height": {
            "type": "string",
            "nullable": true
          },
          "carrier": {
            "type": "string",
            "nullable": true
          },
          "serviceType": {
            "type": "string",
            "nullable": true
          },
          "weightInOunces": {
            "type": "string",
            "nullable": true
          },
          "generateLabel": {
            "type": "boolean"
          },
          "packageContainerType": {
            "type": "string",
            "nullable": true
          },
          "tagNumber": {
            "type": "string",
            "nullable": true
          },
          "insuredAmount": {
            "type": "string",
            "nullable": true
          },
          "customerCharge": {
            "type": "number",
            "format": "double"
          },
          "signatureRequired": {
            "type": "boolean"
          },
          "isResidential": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "OrderShipmentPackageRequest": {
        "type": "object",
        "properties": {
          "clientConsolidationFacility": {
            "type": "string",
            "nullable": true
          },
          "packages": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/OrderShipmentPackage"
            },
            "nullable": true
          },
          "paymentNotification": {
            "$ref": "#/components/schemas/PaymentNotification"
          },
          "senderInfo": {
            "$ref": "#/components/schemas/SenderInfo"
          },
          "declarationOfContents": {
            "$ref": "#/components/schemas/DeclarationOfContents"
          },
          "descriptions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Description"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "OrderShipmentPackageResponse": {
        "type": "object",
        "properties": {
          "isSuccessful": {
            "type": "boolean"
          },
          "message": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PaymentNotification": {
        "type": "object",
        "properties": {
          "merchantCode": {
            "type": "string",
            "nullable": true
          },
          "orderCode": {
            "type": "string",
            "nullable": true
          },
          "lastEvent": {
            "type": "string",
            "nullable": true
          },
          "amount": {
            "type": "number",
            "format": "double"
          },
          "currency": {
            "type": "string",
            "nullable": true
          },
          "token": {
            "type": "string",
            "nullable": true
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "RateEstimateAPIResponseV1": {
        "type": "object",
        "properties": {
          "serviceTypeDescription": {
            "type": "string",
            "nullable": true
          },
          "carrier": {
            "type": "string",
            "nullable": true
          },
          "serviceType": {
            "type": "string",
            "nullable": true
          },
          "rateType": {
            "type": "string",
            "nullable": true
          },
          "packageContainerType": {
            "type": "string",
            "nullable": true
          },
          "cost": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "charge": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "insuranceFee": {
            "type": "number",
            "format": "double"
          },
          "insuranceIncludedInCharge": {
            "type": "boolean"
          },
          "estimatedDelivery": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "zone": {
            "type": "integer",
            "format": "int32"
          },
          "uspsCubicTier": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "isFastest": {
            "type": "boolean"
          },
          "isCheapest": {
            "type": "boolean"
          },
          "isBest": {
            "type": "boolean"
          },
          "isSaturdayDelivery": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "RateEstimateRequestV1": {
        "type": "object",
        "properties": {
          "carrier": {
            "type": "string",
            "nullable": true
          },
          "clientConsolidationFacility": {
            "type": "string",
            "nullable": true
          },
          "height": {
            "type": "number",
            "format": "double"
          },
          "width": {
            "type": "number",
            "format": "double"
          },
          "length": {
            "type": "number",
            "format": "double"
          },
          "weightInOunces": {
            "type": "number",
            "format": "double"
          },
          "packageContainerType": {
            "type": "string",
            "nullable": true
          },
          "fromZip5": {
            "type": "string",
            "nullable": true
          },
          "toZip5": {
            "type": "string",
            "nullable": true
          },
          "fromState": {
            "type": "string",
            "nullable": true
          },
          "isOrmd": {
            "type": "boolean"
          },
          "toIsResidential": {
            "type": "boolean"
          },
          "deliveryConfirmation": {
            "type": "string",
            "nullable": true
          },
          "serviceLevel": {
            "type": "string",
            "nullable": true
          },
          "integrationType": {
            "$ref": "#/components/schemas/IntegrationType"
          },
          "accountName": {
            "type": "string",
            "nullable": true
          },
          "isInternational": {
            "type": "boolean"
          },
          "foreignPostalCode": {
            "type": "string",
            "nullable": true
          },
          "destinationCountryCode": {
            "type": "string",
            "nullable": true
          },
          "insuredAmount": {
            "type": "string",
            "nullable": true
          },
          "useSiteZipForRate": {
            "type": "boolean"
          },
          "returnBPM": {
            "type": "boolean"
          },
          "hasNonstandardCharacteristics": {
            "type": "boolean"
          },
          "carrierExtraServices": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "shipDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "isSaturdayDelivery": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "SenderInfo": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "email": {
            "type": "string",
            "nullable": true
          },
          "phone": {
            "type": "string",
            "nullable": true
          },
          "preferredContactMethod": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ThirdPartyBilling": {
        "type": "object",
        "properties": {
          "accountNumber": {
            "type": "string",
            "nullable": true
          },
          "postalCode": {
            "type": "string",
            "nullable": true
          },
          "countryCode": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ToAddress": {
        "type": "object",
        "properties": {
          "firm": {
            "type": "string",
            "nullable": true
          },
          "firstName": {
            "type": "string",
            "nullable": true
          },
          "lastName": {
            "type": "string",
            "nullable": true
          },
          "addressLine1": {
            "type": "string",
            "nullable": true
          },
          "addressLine2": {
            "type": "string",
            "nullable": true
          },
          "city": {
            "type": "string",
            "nullable": true
          },
          "state": {
            "type": "string",
            "nullable": true
          },
          "zip5": {
            "type": "string",
            "nullable": true
          },
          "zip4": {
            "type": "string",
            "nullable": true
          },
          "phone": {
            "type": "string",
            "nullable": true
          },
          "isResidential": {
            "type": "boolean"
          },
          "isPoBox": {
            "type": "boolean"
          },
          "email": {
            "type": "string",
            "nullable": true
          },
          "province": {
            "type": "string",
            "nullable": true
          },
          "postalCode": {
            "type": "string",
            "nullable": true
          },
          "country": {
            "type": "string",
            "nullable": true
          },
          "countryCode": {
            "type": "string",
            "nullable": true
          },
          "isInternational": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      }
    },
    "securitySchemes": {
      "Bearer": {
        "type": "http",
        "description": "JWT Authorization header using the Bearer scheme. Enter 'Bearer' [space] and then your token in the text input below. Example: 'Bearer 12345abcdef'\r\n",
        "scheme": "bearer",
        "bearerFormat": "JWT"
      }
    }
  },
  "security": [
    {
      "Bearer": [ ]
    }
  ]
}