SwsimV84


Click here for a complete list of operations.

TrackShipment

Get tracking events for shipment.

Test

The test form is only available for requests from the local machine.

SOAP 1.1

The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.

POST /swsim/swsimv84.asmx HTTP/1.1
Host: swsim.testing.stamps.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://stamps.com/xml/namespace/2019/09/swsim/SwsimV84/TrackShipment"

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <TrackShipment xmlns="http://stamps.com/xml/namespace/2019/09/swsim/SwsimV84" />
  </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <TrackShipmentResponse xmlns="http://stamps.com/xml/namespace/2019/09/swsim/SwsimV84">
      <Authenticator>string</Authenticator>
      <TrackingEvents>
        <TrackingEvent>
          <Timestamp>dateTime</Timestamp>
          <Event>string</Event>
          <TrackingEventType>ManifestAcknowledgement or ElectronicNotification or Delivered or AttemptedNoticeLeft or AcceptOrPickup or Refused or Undeliverable or Forwarded or ArrivalAtUnit or Missent or ReturnToSender or Enroute or DeadLetter or ArrivalAtPickupPoint or NoSuchNumber or InsufficientAddress or MovedNoForwarding or ForwardingExpired or AddresseeUnknown or Vacant or Unclaimed or Deceased or ReturnedOtherReason or PickedUpByShippingPartner or ArrivedAtShippingPartner or DepartedFromShippingPartner or USPS Event or ArriveSortFacility_A1 or AcceptedAtDestination or ArrivedUSPSSortFacility or Processed_BE or DepartUSPSSortFacility or DeliveryStatusNotUpdated or DispatchedFromSortFacility or ShippingLabelCreated or DepartSortFacility_L1 or PickedUpAndProcessedByAgent or OriginAcceptance or ProcessedAtDestinationFacility or OutForDelivery or Sorting_ProcessingComplete or DispatchedToSortFacility or ArriveSortFacility_R1 or Processed_RB or DepartSortFacility_T1 or ShipmentAcceptance or In_processAcceptance or ArriveSortFacility_U1 or Mis_shipped or AvailableForPickup or PickedUpByAgent or ReturnToSender_NotPickedUp or DeadMail_DisposedByPostOffice or DeadMail_SentToRecoveryCenter or Processed_RegisteredMailOnly_35 or Processed_RegisteredMailOnly_36 or Processed_RegisteredMailOnly_38 or Processed_RegisteredMailOnly_39 or Processed_RegisteredMailOnly_40 or ReceivedAtOpeningUnit or USPSHandoffToShippingPartner or PickedUp or CustomerRecall or DispatchedToMilitary or DuplicateLabelID or BusinessClosed or NoticeLeft or ReceptacleBlocked or ReceptacleFull or NoSecureLocationAvailable or NoAuthorizedRecipientAvailable or TenderedToAgentForFinalDelivery or TenderedToPostalService or ArrivedAgentFacility or DepartedAgentFacility or DeliveredByAgentToMerchant or FinalDispositionByMerchant or MailConsigned or ForeginReceipt or CustomsClearance or RecipientActionRequired or Delay or ReturnToSender_CO or AttemptedNoticeLeft_H0 or ErrorDataNotAvailable or None</TrackingEventType>
          <City>string</City>
          <State>string</State>
          <Zip>string</Zip>
          <Country>string</Country>
          <SignedBy>string</SignedBy>
          <AuthorizedAgent>boolean</AuthorizedAgent>
        </TrackingEvent>
        <TrackingEvent>
          <Timestamp>dateTime</Timestamp>
          <Event>string</Event>
          <TrackingEventType>ManifestAcknowledgement or ElectronicNotification or Delivered or AttemptedNoticeLeft or AcceptOrPickup or Refused or Undeliverable or Forwarded or ArrivalAtUnit or Missent or ReturnToSender or Enroute or DeadLetter or ArrivalAtPickupPoint or NoSuchNumber or InsufficientAddress or MovedNoForwarding or ForwardingExpired or AddresseeUnknown or Vacant or Unclaimed or Deceased or ReturnedOtherReason or PickedUpByShippingPartner or ArrivedAtShippingPartner or DepartedFromShippingPartner or USPS Event or ArriveSortFacility_A1 or AcceptedAtDestination or ArrivedUSPSSortFacility or Processed_BE or DepartUSPSSortFacility or DeliveryStatusNotUpdated or DispatchedFromSortFacility or ShippingLabelCreated or DepartSortFacility_L1 or PickedUpAndProcessedByAgent or OriginAcceptance or ProcessedAtDestinationFacility or OutForDelivery or Sorting_ProcessingComplete or DispatchedToSortFacility or ArriveSortFacility_R1 or Processed_RB or DepartSortFacility_T1 or ShipmentAcceptance or In_processAcceptance or ArriveSortFacility_U1 or Mis_shipped or AvailableForPickup or PickedUpByAgent or ReturnToSender_NotPickedUp or DeadMail_DisposedByPostOffice or DeadMail_SentToRecoveryCenter or Processed_RegisteredMailOnly_35 or Processed_RegisteredMailOnly_36 or Processed_RegisteredMailOnly_38 or Processed_RegisteredMailOnly_39 or Processed_RegisteredMailOnly_40 or ReceivedAtOpeningUnit or USPSHandoffToShippingPartner or PickedUp or CustomerRecall or DispatchedToMilitary or DuplicateLabelID or BusinessClosed or NoticeLeft or ReceptacleBlocked or ReceptacleFull or NoSecureLocationAvailable or NoAuthorizedRecipientAvailable or TenderedToAgentForFinalDelivery or TenderedToPostalService or ArrivedAgentFacility or DepartedAgentFacility or DeliveredByAgentToMerchant or FinalDispositionByMerchant or MailConsigned or ForeginReceipt or CustomsClearance or RecipientActionRequired or Delay or ReturnToSender_CO or AttemptedNoticeLeft_H0 or ErrorDataNotAvailable or None</TrackingEventType>
          <City>string</City>
          <State>string</State>
          <Zip>string</Zip>
          <Country>string</Country>
          <SignedBy>string</SignedBy>
          <AuthorizedAgent>boolean</AuthorizedAgent>
        </TrackingEvent>
      </TrackingEvents>
      <GuaranteedDeliveryDate>dateTime</GuaranteedDeliveryDate>
      <ExpectedDeliveryDate>dateTime</ExpectedDeliveryDate>
      <ServiceDescription>string</ServiceDescription>
      <Carrier>string</Carrier>
      <DestinationInfo>
        <DestinationCity>string</DestinationCity>
        <DestinationState>string</DestinationState>
        <DestinationZip>string</DestinationZip>
        <DestinationCountry>string</DestinationCountry>
      </DestinationInfo>
    </TrackShipmentResponse>
  </soap:Body>
</soap:Envelope>

SOAP 1.2

The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.

POST /swsim/swsimv84.asmx HTTP/1.1
Host: swsim.testing.stamps.com
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <TrackShipment xmlns="http://stamps.com/xml/namespace/2019/09/swsim/SwsimV84" />
  </soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <TrackShipmentResponse xmlns="http://stamps.com/xml/namespace/2019/09/swsim/SwsimV84">
      <Authenticator>string</Authenticator>
      <TrackingEvents>
        <TrackingEvent>
          <Timestamp>dateTime</Timestamp>
          <Event>string</Event>
          <TrackingEventType>ManifestAcknowledgement or ElectronicNotification or Delivered or AttemptedNoticeLeft or AcceptOrPickup or Refused or Undeliverable or Forwarded or ArrivalAtUnit or Missent or ReturnToSender or Enroute or DeadLetter or ArrivalAtPickupPoint or NoSuchNumber or InsufficientAddress or MovedNoForwarding or ForwardingExpired or AddresseeUnknown or Vacant or Unclaimed or Deceased or ReturnedOtherReason or PickedUpByShippingPartner or ArrivedAtShippingPartner or DepartedFromShippingPartner or USPS Event or ArriveSortFacility_A1 or AcceptedAtDestination or ArrivedUSPSSortFacility or Processed_BE or DepartUSPSSortFacility or DeliveryStatusNotUpdated or DispatchedFromSortFacility or ShippingLabelCreated or DepartSortFacility_L1 or PickedUpAndProcessedByAgent or OriginAcceptance or ProcessedAtDestinationFacility or OutForDelivery or Sorting_ProcessingComplete or DispatchedToSortFacility or ArriveSortFacility_R1 or Processed_RB or DepartSortFacility_T1 or ShipmentAcceptance or In_processAcceptance or ArriveSortFacility_U1 or Mis_shipped or AvailableForPickup or PickedUpByAgent or ReturnToSender_NotPickedUp or DeadMail_DisposedByPostOffice or DeadMail_SentToRecoveryCenter or Processed_RegisteredMailOnly_35 or Processed_RegisteredMailOnly_36 or Processed_RegisteredMailOnly_38 or Processed_RegisteredMailOnly_39 or Processed_RegisteredMailOnly_40 or ReceivedAtOpeningUnit or USPSHandoffToShippingPartner or PickedUp or CustomerRecall or DispatchedToMilitary or DuplicateLabelID or BusinessClosed or NoticeLeft or ReceptacleBlocked or ReceptacleFull or NoSecureLocationAvailable or NoAuthorizedRecipientAvailable or TenderedToAgentForFinalDelivery or TenderedToPostalService or ArrivedAgentFacility or DepartedAgentFacility or DeliveredByAgentToMerchant or FinalDispositionByMerchant or MailConsigned or ForeginReceipt or CustomsClearance or RecipientActionRequired or Delay or ReturnToSender_CO or AttemptedNoticeLeft_H0 or ErrorDataNotAvailable or None</TrackingEventType>
          <City>string</City>
          <State>string</State>
          <Zip>string</Zip>
          <Country>string</Country>
          <SignedBy>string</SignedBy>
          <AuthorizedAgent>boolean</AuthorizedAgent>
        </TrackingEvent>
        <TrackingEvent>
          <Timestamp>dateTime</Timestamp>
          <Event>string</Event>
          <TrackingEventType>ManifestAcknowledgement or ElectronicNotification or Delivered or AttemptedNoticeLeft or AcceptOrPickup or Refused or Undeliverable or Forwarded or ArrivalAtUnit or Missent or ReturnToSender or Enroute or DeadLetter or ArrivalAtPickupPoint or NoSuchNumber or InsufficientAddress or MovedNoForwarding or ForwardingExpired or AddresseeUnknown or Vacant or Unclaimed or Deceased or ReturnedOtherReason or PickedUpByShippingPartner or ArrivedAtShippingPartner or DepartedFromShippingPartner or USPS Event or ArriveSortFacility_A1 or AcceptedAtDestination or ArrivedUSPSSortFacility or Processed_BE or DepartUSPSSortFacility or DeliveryStatusNotUpdated or DispatchedFromSortFacility or ShippingLabelCreated or DepartSortFacility_L1 or PickedUpAndProcessedByAgent or OriginAcceptance or ProcessedAtDestinationFacility or OutForDelivery or Sorting_ProcessingComplete or DispatchedToSortFacility or ArriveSortFacility_R1 or Processed_RB or DepartSortFacility_T1 or ShipmentAcceptance or In_processAcceptance or ArriveSortFacility_U1 or Mis_shipped or AvailableForPickup or PickedUpByAgent or ReturnToSender_NotPickedUp or DeadMail_DisposedByPostOffice or DeadMail_SentToRecoveryCenter or Processed_RegisteredMailOnly_35 or Processed_RegisteredMailOnly_36 or Processed_RegisteredMailOnly_38 or Processed_RegisteredMailOnly_39 or Processed_RegisteredMailOnly_40 or ReceivedAtOpeningUnit or USPSHandoffToShippingPartner or PickedUp or CustomerRecall or DispatchedToMilitary or DuplicateLabelID or BusinessClosed or NoticeLeft or ReceptacleBlocked or ReceptacleFull or NoSecureLocationAvailable or NoAuthorizedRecipientAvailable or TenderedToAgentForFinalDelivery or TenderedToPostalService or ArrivedAgentFacility or DepartedAgentFacility or DeliveredByAgentToMerchant or FinalDispositionByMerchant or MailConsigned or ForeginReceipt or CustomsClearance or RecipientActionRequired or Delay or ReturnToSender_CO or AttemptedNoticeLeft_H0 or ErrorDataNotAvailable or None</TrackingEventType>
          <City>string</City>
          <State>string</State>
          <Zip>string</Zip>
          <Country>string</Country>
          <SignedBy>string</SignedBy>
          <AuthorizedAgent>boolean</AuthorizedAgent>
        </TrackingEvent>
      </TrackingEvents>
      <GuaranteedDeliveryDate>dateTime</GuaranteedDeliveryDate>
      <ExpectedDeliveryDate>dateTime</ExpectedDeliveryDate>
      <ServiceDescription>string</ServiceDescription>
      <Carrier>string</Carrier>
      <DestinationInfo>
        <DestinationCity>string</DestinationCity>
        <DestinationState>string</DestinationState>
        <DestinationZip>string</DestinationZip>
        <DestinationCountry>string</DestinationCountry>
      </DestinationInfo>
    </TrackShipmentResponse>
  </soap12:Body>
</soap12:Envelope>