Selling Partner API SDK for JavaScript

    Variable listingsItemStatusChangeNotificationConst

    listingsItemStatusChangeNotification: {
        description: "To be delivered when the status (e.g. buyability, discoverability) of a listings item changes.";
        examples: readonly [
            {
                EventTime: "2021-02-03T18:59:30.194Z";
                NotificationMetadata: {
                    ApplicationId: "amzn1.sellerapps.app.f108f511-eeac-46a6-b125-bcb752069ed0";
                    NotificationId: "8e009934-da2c-4f9c-9bc7-93f23b7e1f60";
                    PublishTime: "2021-02-03T18:59:30.194Z";
                    SubscriptionId: "93b098e1-c42-2f45-93a1-78910a6a8369";
                };
                NotificationType: "LISTINGS_ITEM_STATUS_CHANGE";
                NotificationVersion: "1.0";
                Payload: {
                    Asin: "BT6RZ7JM4H";
                    CreatedDate: "2021-02-03T18:50:26.196Z";
                    MarketplaceId: "ATVPDKIKX0DER";
                    SellerId: "A3AYAZLIQ7AX77";
                    Sku: "NLS-SHOES-03";
                    Status: readonly ["BUYABLE", "DISCOVERABLE"];
                };
                PayloadVersion: "1.0";
            },
        ];
        properties: {
            EventTime: {
                description: "Timestamp of the event, formatted as ISO8601 date-time.";
                examples: readonly ["2019-03-20T18:59:30.194Z"];
                format: "date-time";
                title: "Event Time";
                type: "string";
            };
            NotificationMetadata: {
                description: "The metadata of the notification.";
                examples: readonly [
                    {
                        ApplicationId: "amzn1.sellerapps.app.f1234566-aaec-55a6-b123-bcb752069ec5";
                        NotificationId: "8e009934-da2c-4f9c-9bc7-93f23b7e1f60";
                        PublishTime: "2019-03-20T18:59:48.768Z";
                        SubscriptionId: "93b098e1-c42-2f45-93a1-78910a6a8369";
                    },
                ];
                properties: {
                    ApplicationId: {
                        description: "Identifies the application.";
                        examples: readonly [
                            "amzn1.sellerapps.app.f1234566-aaec-55a6-b123-bcb752069ec5",
                        ];
                        title: "Application ID";
                        type: "string";
                    };
                    NotificationId: {
                        description: "Identifies the notification.";
                        examples: readonly ["8e009934-da2c-4f9c-9bc7-93f23b7e1f60"];
                        title: "Notification ID";
                        type: "string";
                    };
                    PublishTime: {
                        description: "Timestamp of when the notification was published, formatted as ISO8601 date-time.";
                        examples: readonly ["2019-03-20T18:59:48.768Z"];
                        format: "date-time";
                        title: "Publish Time";
                        type: "string";
                    };
                    SubscriptionId: {
                        description: "Identifies the subscription.";
                        examples: readonly ["93b098e1-c42-2f45-93a1-78910a6a8369"];
                        title: "Subscription ID";
                        type: "string";
                    };
                };
                required: readonly [
                    "ApplicationId",
                    "SubscriptionId",
                    "PublishTime",
                    "NotificationId",
                ];
                title: "Notification Metadata";
                type: "object";
            };
            NotificationType: {
                description: "The type of the notification.";
                enum: readonly ["LISTINGS_ITEM_STATUS_CHANGED"];
                title: "Notification Type";
                type: "string";
            };
            NotificationVersion: {
                description: "The version of the notification.";
                examples: readonly ["1.0"];
                title: "Notification Version";
                type: "string";
            };
            Payload: {
                description: "The details of this notification.";
                examples: readonly [
                    {
                        Asin: "BT6RZ7JM4H";
                        CreatedDate: "2021-02-03T18:50:26.196Z";
                        MarketplaceId: "ATVPDKIKX0DER";
                        SellerId: "A3AYAZLIQ7AX77";
                        Sku: "NLS-SHOES-03";
                        Status: readonly ["BUYABLE", "DISCOVERABLE"];
                    },
                ];
                properties: {
                    Asin: {
                        description: "The Amazon Standard Identification Number (ASIN) identifier of the catalog item associated with the listings item.";
                        examples: readonly ["BT6RZ7JM4H"];
                        title: "ASIN";
                        type: "string";
                    };
                    CreatedDate: {
                        description: "Timestamp of when the listings item was created, formatted as ISO8601 date-time.";
                        examples: readonly ["2021-02-03T18:50:26.196Z"];
                        format: "date-time";
                        title: "Created Date";
                        type: "string";
                    };
                    MarketplaceId: {
                        description: "Amazon marketplace identifier of the affected listings item.";
                        examples: readonly ["ATVPDKIKX0DER"];
                        title: "Marketplace ID";
                        type: "string";
                    };
                    SellerId: {
                        description: "Selling partner identifier, such as a merchant account, of the affected listings item.";
                        examples: readonly ["A3AYAZLIQ7AX77"];
                        title: "Seller ID";
                        type: "string";
                    };
                    Sku: {
                        description: "Identifier of the affected listings item.";
                        examples: readonly ["NLS-SHOES-03"];
                        title: "SKU";
                        type: "string";
                    };
                    Status: {
                        description: "Array of status states currently associated with the affected listings item. The absence of a value indicates the status state is not currently applicable to the listings item. For example, if \"BUYABLE\" is not present, the listings item is not currently buyable.";
                        examples: readonly [readonly ["BUYABLE", "DISCOVERABLE"]];
                        items: {
                            enum: readonly ["BUYABLE", "DISCOVERABLE", "DELETED"];
                            type: "string";
                            "x-docgen-enum-table-extension": readonly [
                                {
                                    description: "When provided, the listings item is buyable. When omitted, the listings item is non-buyable.";
                                    value: "BUYABLE";
                                },
                                {
                                    description: "When provided, the listings item is discoverable. When omitted, the listings item is non-discoverable.";
                                    value: "DISCOVERABLE";
                                },
                                {
                                    description: "When provided, the listings item is deleted. When omitted, the listings item is non-deleted.";
                                    value: "DELETED";
                                },
                            ];
                        };
                        title: "Status";
                        type: "array";
                        uniqueItems: true;
                    };
                };
                required: readonly ["SellerId", "Sku", "Status"];
                title: "Payload";
                type: "object";
            };
            PayloadVersion: {
                description: "The version of the payload.";
                examples: readonly ["1.0"];
                title: "Payload Version";
                type: "string";
            };
        };
        required: readonly [
            "NotificationVersion",
            "NotificationType",
            "PayloadVersion",
            "EventTime",
            "Payload",
            "NotificationMetadata",
        ];
        title: "Listings Item Status Change Notification";
        type: "object";
    } = ...

    Type declaration

    • Readonlydescription: "To be delivered when the status (e.g. buyability, discoverability) of a listings item changes."
    • Readonlyexamples: readonly [
          {
              EventTime: "2021-02-03T18:59:30.194Z";
              NotificationMetadata: {
                  ApplicationId: "amzn1.sellerapps.app.f108f511-eeac-46a6-b125-bcb752069ed0";
                  NotificationId: "8e009934-da2c-4f9c-9bc7-93f23b7e1f60";
                  PublishTime: "2021-02-03T18:59:30.194Z";
                  SubscriptionId: "93b098e1-c42-2f45-93a1-78910a6a8369";
              };
              NotificationType: "LISTINGS_ITEM_STATUS_CHANGE";
              NotificationVersion: "1.0";
              Payload: {
                  Asin: "BT6RZ7JM4H";
                  CreatedDate: "2021-02-03T18:50:26.196Z";
                  MarketplaceId: "ATVPDKIKX0DER";
                  SellerId: "A3AYAZLIQ7AX77";
                  Sku: "NLS-SHOES-03";
                  Status: readonly ["BUYABLE", "DISCOVERABLE"];
              };
              PayloadVersion: "1.0";
          },
      ]
    • Readonlyproperties: {
          EventTime: {
              description: "Timestamp of the event, formatted as ISO8601 date-time.";
              examples: readonly ["2019-03-20T18:59:30.194Z"];
              format: "date-time";
              title: "Event Time";
              type: "string";
          };
          NotificationMetadata: {
              description: "The metadata of the notification.";
              examples: readonly [
                  {
                      ApplicationId: "amzn1.sellerapps.app.f1234566-aaec-55a6-b123-bcb752069ec5";
                      NotificationId: "8e009934-da2c-4f9c-9bc7-93f23b7e1f60";
                      PublishTime: "2019-03-20T18:59:48.768Z";
                      SubscriptionId: "93b098e1-c42-2f45-93a1-78910a6a8369";
                  },
              ];
              properties: {
                  ApplicationId: {
                      description: "Identifies the application.";
                      examples: readonly [
                          "amzn1.sellerapps.app.f1234566-aaec-55a6-b123-bcb752069ec5",
                      ];
                      title: "Application ID";
                      type: "string";
                  };
                  NotificationId: {
                      description: "Identifies the notification.";
                      examples: readonly ["8e009934-da2c-4f9c-9bc7-93f23b7e1f60"];
                      title: "Notification ID";
                      type: "string";
                  };
                  PublishTime: {
                      description: "Timestamp of when the notification was published, formatted as ISO8601 date-time.";
                      examples: readonly ["2019-03-20T18:59:48.768Z"];
                      format: "date-time";
                      title: "Publish Time";
                      type: "string";
                  };
                  SubscriptionId: {
                      description: "Identifies the subscription.";
                      examples: readonly ["93b098e1-c42-2f45-93a1-78910a6a8369"];
                      title: "Subscription ID";
                      type: "string";
                  };
              };
              required: readonly [
                  "ApplicationId",
                  "SubscriptionId",
                  "PublishTime",
                  "NotificationId",
              ];
              title: "Notification Metadata";
              type: "object";
          };
          NotificationType: {
              description: "The type of the notification.";
              enum: readonly ["LISTINGS_ITEM_STATUS_CHANGED"];
              title: "Notification Type";
              type: "string";
          };
          NotificationVersion: {
              description: "The version of the notification.";
              examples: readonly ["1.0"];
              title: "Notification Version";
              type: "string";
          };
          Payload: {
              description: "The details of this notification.";
              examples: readonly [
                  {
                      Asin: "BT6RZ7JM4H";
                      CreatedDate: "2021-02-03T18:50:26.196Z";
                      MarketplaceId: "ATVPDKIKX0DER";
                      SellerId: "A3AYAZLIQ7AX77";
                      Sku: "NLS-SHOES-03";
                      Status: readonly ["BUYABLE", "DISCOVERABLE"];
                  },
              ];
              properties: {
                  Asin: {
                      description: "The Amazon Standard Identification Number (ASIN) identifier of the catalog item associated with the listings item.";
                      examples: readonly ["BT6RZ7JM4H"];
                      title: "ASIN";
                      type: "string";
                  };
                  CreatedDate: {
                      description: "Timestamp of when the listings item was created, formatted as ISO8601 date-time.";
                      examples: readonly ["2021-02-03T18:50:26.196Z"];
                      format: "date-time";
                      title: "Created Date";
                      type: "string";
                  };
                  MarketplaceId: {
                      description: "Amazon marketplace identifier of the affected listings item.";
                      examples: readonly ["ATVPDKIKX0DER"];
                      title: "Marketplace ID";
                      type: "string";
                  };
                  SellerId: {
                      description: "Selling partner identifier, such as a merchant account, of the affected listings item.";
                      examples: readonly ["A3AYAZLIQ7AX77"];
                      title: "Seller ID";
                      type: "string";
                  };
                  Sku: {
                      description: "Identifier of the affected listings item.";
                      examples: readonly ["NLS-SHOES-03"];
                      title: "SKU";
                      type: "string";
                  };
                  Status: {
                      description: "Array of status states currently associated with the affected listings item. The absence of a value indicates the status state is not currently applicable to the listings item. For example, if \"BUYABLE\" is not present, the listings item is not currently buyable.";
                      examples: readonly [readonly ["BUYABLE", "DISCOVERABLE"]];
                      items: {
                          enum: readonly ["BUYABLE", "DISCOVERABLE", "DELETED"];
                          type: "string";
                          "x-docgen-enum-table-extension": readonly [
                              {
                                  description: "When provided, the listings item is buyable. When omitted, the listings item is non-buyable.";
                                  value: "BUYABLE";
                              },
                              {
                                  description: "When provided, the listings item is discoverable. When omitted, the listings item is non-discoverable.";
                                  value: "DISCOVERABLE";
                              },
                              {
                                  description: "When provided, the listings item is deleted. When omitted, the listings item is non-deleted.";
                                  value: "DELETED";
                              },
                          ];
                      };
                      title: "Status";
                      type: "array";
                      uniqueItems: true;
                  };
              };
              required: readonly ["SellerId", "Sku", "Status"];
              title: "Payload";
              type: "object";
          };
          PayloadVersion: {
              description: "The version of the payload.";
              examples: readonly ["1.0"];
              title: "Payload Version";
              type: "string";
          };
      }
    • Readonlyrequired: readonly [
          "NotificationVersion",
          "NotificationType",
          "PayloadVersion",
          "EventTime",
          "Payload",
          "NotificationMetadata",
      ]
    • Readonlytitle: "Listings Item Status Change Notification"
    • Readonlytype: "object"
    MMNEPVFCICPMFPCPTTAAATR