Amazon Selling Partner API (SP-API) SDK for TypeScript
    Preparing search index...

    Variable shipmentTrackingMilestoneChangedNotificationConst

    shipmentTrackingMilestoneChangedNotification: {
        $ref: "#/definitions/Notification";
        definitions: {};
        description: "Notification sent when a shipment tracking milestone changes.";
        examples: readonly [
            {
                eventTime: "2025-08-08T12:45:48.501Z";
                notificationMetadata: {
                    applicationId: "amzn1.sellerapps.app.g2134566-aaec-55a6-b123-bcb752069ba4";
                    notificationId: "6712e8e5-b365-4cb1-9fd8-be9dfc6d5bda";
                    publishTime: "2025-08-08T12:47:50.501Z";
                    subscriptionId: "7b28cc50-95c8-4641-add7-10af4b1fecd8";
                };
                notificationType: "SHIPMENT_TRACKING_MILESTONE_CHANGED";
                notificationVersion: "1.0";
                payload: {
                    shipmentTrackingMilestoneChangedNotification: {
                        trackingDetail: {
                            identifier: { aftn: "AFTN987654321" };
                            latestMilestone: {
                                location: {
                                    address: { city: "Austin"; countryCode: "US"; region: "Texas" };
                                };
                                occurredAt: "2026-06-14T01:26:56Z";
                                status: {
                                    code: "DELIVERED";
                                    description: "Shipment delivered to porch";
                                    subCode: "PORCH";
                                };
                            };
                            milestoneHistory: readonly [
                                {
                                    location: {
                                        address: { city: "Austin"; countryCode: "US"; region: "Texas" };
                                    };
                                    occurredAt: "2026-06-14T01:26:56Z";
                                    status: {
                                        code: "DELIVERED";
                                        description: "Shipment delivered to porch";
                                        subCode: "PORCH";
                                    };
                                },
                                {
                                    location: {
                                        address: { city: "Buda"; countryCode: "US"; region: "Texas" };
                                    };
                                    occurredAt: "2026-06-13T16:20:51Z";
                                    status: {
                                        code: "OUT_FOR_DELIVERY";
                                        description: "Shipment is out for delivery";
                                    };
                                },
                                {
                                    occurredAt: "2026-06-13T05:21:43Z";
                                    status: {
                                        code: "SHIPPED";
                                        description: "Shipment has departed origin";
                                    };
                                },
                                {
                                    occurredAt: "2026-06-13T04:41:37Z";
                                    status: {
                                        code: "CARRIER_ASSIGNED";
                                        description: "Carrier was assigned";
                                    };
                                },
                                {
                                    occurredAt: "2026-06-12T19:43:40Z";
                                    status: {
                                        code: "ORDER_PREPARING";
                                        description: "Order is preparing to ship";
                                    };
                                },
                            ];
                            trackingEstimates: readonly [
                                {
                                    estimatedInterval: {
                                        endTime: "2026-06-14T03:00:00Z";
                                        startTime: "2026-06-14T03:00:00Z";
                                    };
                                    lastUpdatedTime: "2026-06-13T05:21:43Z";
                                    type: "ESTIMATED_DELIVERY_DATE";
                                },
                            ];
                            trackingUrl: "https://www.swiship.com/track?id=AFTN987654321";
                        };
                    };
                };
                payloadVersion: "2026-01-30";
            },
        ];
        title: "Shipment Tracking Milestone Change Notification Schema.";
    } = ...

    Type Declaration

    • Readonly$ref: "#/definitions/Notification"
    • Readonlydefinitions: {}
    • Readonlydescription: "Notification sent when a shipment tracking milestone changes."
    • Readonlyexamples: readonly [
          {
              eventTime: "2025-08-08T12:45:48.501Z";
              notificationMetadata: {
                  applicationId: "amzn1.sellerapps.app.g2134566-aaec-55a6-b123-bcb752069ba4";
                  notificationId: "6712e8e5-b365-4cb1-9fd8-be9dfc6d5bda";
                  publishTime: "2025-08-08T12:47:50.501Z";
                  subscriptionId: "7b28cc50-95c8-4641-add7-10af4b1fecd8";
              };
              notificationType: "SHIPMENT_TRACKING_MILESTONE_CHANGED";
              notificationVersion: "1.0";
              payload: {
                  shipmentTrackingMilestoneChangedNotification: {
                      trackingDetail: {
                          identifier: { aftn: "AFTN987654321" };
                          latestMilestone: {
                              location: {
                                  address: { city: "Austin"; countryCode: "US"; region: "Texas" };
                              };
                              occurredAt: "2026-06-14T01:26:56Z";
                              status: {
                                  code: "DELIVERED";
                                  description: "Shipment delivered to porch";
                                  subCode: "PORCH";
                              };
                          };
                          milestoneHistory: readonly [
                              {
                                  location: {
                                      address: { city: "Austin"; countryCode: "US"; region: "Texas" };
                                  };
                                  occurredAt: "2026-06-14T01:26:56Z";
                                  status: {
                                      code: "DELIVERED";
                                      description: "Shipment delivered to porch";
                                      subCode: "PORCH";
                                  };
                              },
                              {
                                  location: {
                                      address: { city: "Buda"; countryCode: "US"; region: "Texas" };
                                  };
                                  occurredAt: "2026-06-13T16:20:51Z";
                                  status: {
                                      code: "OUT_FOR_DELIVERY";
                                      description: "Shipment is out for delivery";
                                  };
                              },
                              {
                                  occurredAt: "2026-06-13T05:21:43Z";
                                  status: {
                                      code: "SHIPPED";
                                      description: "Shipment has departed origin";
                                  };
                              },
                              {
                                  occurredAt: "2026-06-13T04:41:37Z";
                                  status: {
                                      code: "CARRIER_ASSIGNED";
                                      description: "Carrier was assigned";
                                  };
                              },
                              {
                                  occurredAt: "2026-06-12T19:43:40Z";
                                  status: {
                                      code: "ORDER_PREPARING";
                                      description: "Order is preparing to ship";
                                  };
                              },
                          ];
                          trackingEstimates: readonly [
                              {
                                  estimatedInterval: {
                                      endTime: "2026-06-14T03:00:00Z";
                                      startTime: "2026-06-14T03:00:00Z";
                                  };
                                  lastUpdatedTime: "2026-06-13T05:21:43Z";
                                  type: "ESTIMATED_DELIVERY_DATE";
                              },
                          ];
                          trackingUrl: "https://www.swiship.com/track?id=AFTN987654321";
                      };
                  };
              };
              payloadVersion: "2026-01-30";
          },
      ]
    • Readonlytitle: "Shipment Tracking Milestone Change Notification Schema."