Selling Partner API SDK for JavaScript

    Variable itemProductTypeChangeNotificationConst

    itemProductTypeChangeNotification: {
        $id: "http://example.com/example.json";
        additionalProperties: true;
        default: {};
        description: "The root schema comprises the entire JSON document.";
        examples: readonly [
            {
                EventTime: "2019-03-20T18:59:30.194Z";
                NotificationMetadata: {
                    ApplicationId: "amzn1.sellerapps.app.f1234566-aaec-55a6-b123-bcb752069ec5";
                    NotificationId: "0e999936-da2c-4f9c-9fc2-02b67bae5f49";
                    PublishTime: "2019-03-20T18:59:48.768Z";
                    SubscriptionId: "93b098e1-c42-2f45-93a1-78910a6a8369";
                };
                NotificationType: "ITEM_PRODUCT_TYPE_CHANGE";
                NotificationVersion: "1.0";
                Payload: {
                    Asin: "B1234567";
                    CurrentProductType: "PET_APPAREL";
                    MarketplaceId: "ATVPDKIKX0DER";
                    PreviousProductType: "PET_HEALTH_CARE";
                };
                PayloadVersion: "1.0";
            },
        ];
        properties: {
            EventTime: {
                $id: "#/properties/EventTime";
                default: "";
                description: "An explanation about the purpose of this instance.";
                examples: readonly ["2019-03-20T18:59:30.194Z"];
                title: "The EventTime schema";
                type: "string";
            };
            NotificationMetadata: {
                $id: "#/properties/NotificationMetadata";
                additionalProperties: true;
                default: {};
                description: "An explanation about the purpose of this instance.";
                examples: readonly [
                    {
                        ApplicationId: "amzn1.sellerapps.app.f1234566-aaec-55a6-b123-bcb752069ec5";
                        NotificationId: "0e999936-da2c-4f9c-9fc2-02b67bae5f49";
                        PublishTime: "2019-03-20T18:59:48.768Z";
                        SubscriptionId: "93b098e1-c42-2f45-93a1-78910a6a8369";
                    },
                ];
                properties: {
                    ApplicationId: {
                        $id: "#/properties/NotificationMetadata/properties/ApplicationId";
                        default: "";
                        description: "An explanation about the purpose of this instance.";
                        examples: readonly [
                            "amzn1.sellerapps.app.f1234566-aaec-55a6-b123-bcb752069ec5",
                        ];
                        title: "The ApplicationId schema";
                        type: "string";
                    };
                    NotificationId: {
                        $id: "#/properties/NotificationMetadata/properties/NotificationId";
                        default: "";
                        description: "An explanation about the purpose of this instance.";
                        examples: readonly ["0e999936-da2c-4f9c-9fc2-02b67bae5f49"];
                        title: "The NotificationId schema";
                        type: "string";
                    };
                    PublishTime: {
                        $id: "#/properties/NotificationMetadata/properties/PublishTime";
                        default: "";
                        description: "An explanation about the purpose of this instance.";
                        examples: readonly ["2019-03-20T18:59:48.768Z"];
                        title: "The PublishTime schema";
                        type: "string";
                    };
                    SubscriptionId: {
                        $id: "#/properties/NotificationMetadata/properties/SubscriptionId";
                        default: "";
                        description: "An explanation about the purpose of this instance.";
                        examples: readonly ["93b098e1-c42-2f45-93a1-78910a6a8369"];
                        title: "The SubscriptionId schema";
                        type: "string";
                    };
                };
                required: readonly [
                    "ApplicationId",
                    "SubscriptionId",
                    "PublishTime",
                    "NotificationId",
                ];
                title: "The NotificationMetadata schema";
                type: "object";
            };
            NotificationType: {
                $id: "#/properties/NotificationType";
                default: "";
                description: "An explanation about the purpose of this instance.";
                examples: readonly ["ITEM_PRODUCT_TYPE_CHANGE"];
                title: "The NotificationType schema";
                type: "string";
            };
            NotificationVersion: {
                $id: "#/properties/NotificationVersion";
                default: "";
                description: "An explanation about the purpose of this instance.";
                examples: readonly ["1.0"];
                title: "The NotificationVersion schema";
                type: "string";
            };
            Payload: {
                $id: "#/properties/Payload";
                additionalProperties: true;
                default: {};
                description: "An explanation about the purpose of this instance.";
                examples: readonly [
                    {
                        Asin: "B1234567";
                        CurrentProductType: "PET_APPAREL";
                        MarketplaceId: "ATVPDKIKX0DER";
                        PreviousProductType: "PET_HEALTH_CARE";
                    },
                ];
                properties: {
                    Asin: {
                        $id: "#/properties/Payload/properties/Asin";
                        default: "";
                        description: "An explanation about the purpose of this instance.";
                        examples: readonly ["B1234567"];
                        title: "The Asin schema";
                        type: "string";
                    };
                    CurrentProductType: {
                        $id: "#/properties/Payload/properties/CurrentProductType";
                        default: "";
                        description: "An explanation about the purpose of this instance.";
                        examples: readonly ["PET_APPAREL"];
                        title: "The CurrentProductType schema";
                        type: "string";
                    };
                    MarketplaceId: {
                        $id: "#/properties/Payload/properties/MarketplaceId";
                        default: "";
                        description: "An explanation about the purpose of this instance.";
                        examples: readonly ["ATVPDKIKX0DER"];
                        title: "The MarketplaceId schema";
                        type: "string";
                    };
                    PreviousProductType: {
                        $id: "#/properties/Payload/properties/PreviousProductType";
                        default: "";
                        description: "An explanation about the purpose of this instance.";
                        examples: readonly ["PET_HEALTH_CARE"];
                        title: "The PreviousProductType schema";
                        type: "string";
                    };
                };
                required: readonly [
                    "MarketplaceId",
                    "Asin",
                    "PreviousProductType",
                    "CurrentProductType",
                ];
                title: "The Payload schema";
                type: "object";
            };
            PayloadVersion: {
                $id: "#/properties/PayloadVersion";
                default: "";
                description: "An explanation about the purpose of this instance.";
                examples: readonly ["1.0"];
                title: "The PayloadVersion schema";
                type: "string";
            };
        };
        required: readonly [
            "NotificationVersion",
            "NotificationType",
            "PayloadVersion",
            "EventTime",
            "Payload",
            "NotificationMetadata",
        ];
        title: "The root schema";
        type: "object";
    } = ...

    Type declaration

    • Readonly$id: "http://example.com/example.json"
    • ReadonlyadditionalProperties: true
    • Readonlydefault: {}
    • Readonlydescription: "The root schema comprises the entire JSON document."
    • Readonlyexamples: readonly [
          {
              EventTime: "2019-03-20T18:59:30.194Z";
              NotificationMetadata: {
                  ApplicationId: "amzn1.sellerapps.app.f1234566-aaec-55a6-b123-bcb752069ec5";
                  NotificationId: "0e999936-da2c-4f9c-9fc2-02b67bae5f49";
                  PublishTime: "2019-03-20T18:59:48.768Z";
                  SubscriptionId: "93b098e1-c42-2f45-93a1-78910a6a8369";
              };
              NotificationType: "ITEM_PRODUCT_TYPE_CHANGE";
              NotificationVersion: "1.0";
              Payload: {
                  Asin: "B1234567";
                  CurrentProductType: "PET_APPAREL";
                  MarketplaceId: "ATVPDKIKX0DER";
                  PreviousProductType: "PET_HEALTH_CARE";
              };
              PayloadVersion: "1.0";
          },
      ]
    • Readonlyproperties: {
          EventTime: {
              $id: "#/properties/EventTime";
              default: "";
              description: "An explanation about the purpose of this instance.";
              examples: readonly ["2019-03-20T18:59:30.194Z"];
              title: "The EventTime schema";
              type: "string";
          };
          NotificationMetadata: {
              $id: "#/properties/NotificationMetadata";
              additionalProperties: true;
              default: {};
              description: "An explanation about the purpose of this instance.";
              examples: readonly [
                  {
                      ApplicationId: "amzn1.sellerapps.app.f1234566-aaec-55a6-b123-bcb752069ec5";
                      NotificationId: "0e999936-da2c-4f9c-9fc2-02b67bae5f49";
                      PublishTime: "2019-03-20T18:59:48.768Z";
                      SubscriptionId: "93b098e1-c42-2f45-93a1-78910a6a8369";
                  },
              ];
              properties: {
                  ApplicationId: {
                      $id: "#/properties/NotificationMetadata/properties/ApplicationId";
                      default: "";
                      description: "An explanation about the purpose of this instance.";
                      examples: readonly [
                          "amzn1.sellerapps.app.f1234566-aaec-55a6-b123-bcb752069ec5",
                      ];
                      title: "The ApplicationId schema";
                      type: "string";
                  };
                  NotificationId: {
                      $id: "#/properties/NotificationMetadata/properties/NotificationId";
                      default: "";
                      description: "An explanation about the purpose of this instance.";
                      examples: readonly ["0e999936-da2c-4f9c-9fc2-02b67bae5f49"];
                      title: "The NotificationId schema";
                      type: "string";
                  };
                  PublishTime: {
                      $id: "#/properties/NotificationMetadata/properties/PublishTime";
                      default: "";
                      description: "An explanation about the purpose of this instance.";
                      examples: readonly ["2019-03-20T18:59:48.768Z"];
                      title: "The PublishTime schema";
                      type: "string";
                  };
                  SubscriptionId: {
                      $id: "#/properties/NotificationMetadata/properties/SubscriptionId";
                      default: "";
                      description: "An explanation about the purpose of this instance.";
                      examples: readonly ["93b098e1-c42-2f45-93a1-78910a6a8369"];
                      title: "The SubscriptionId schema";
                      type: "string";
                  };
              };
              required: readonly [
                  "ApplicationId",
                  "SubscriptionId",
                  "PublishTime",
                  "NotificationId",
              ];
              title: "The NotificationMetadata schema";
              type: "object";
          };
          NotificationType: {
              $id: "#/properties/NotificationType";
              default: "";
              description: "An explanation about the purpose of this instance.";
              examples: readonly ["ITEM_PRODUCT_TYPE_CHANGE"];
              title: "The NotificationType schema";
              type: "string";
          };
          NotificationVersion: {
              $id: "#/properties/NotificationVersion";
              default: "";
              description: "An explanation about the purpose of this instance.";
              examples: readonly ["1.0"];
              title: "The NotificationVersion schema";
              type: "string";
          };
          Payload: {
              $id: "#/properties/Payload";
              additionalProperties: true;
              default: {};
              description: "An explanation about the purpose of this instance.";
              examples: readonly [
                  {
                      Asin: "B1234567";
                      CurrentProductType: "PET_APPAREL";
                      MarketplaceId: "ATVPDKIKX0DER";
                      PreviousProductType: "PET_HEALTH_CARE";
                  },
              ];
              properties: {
                  Asin: {
                      $id: "#/properties/Payload/properties/Asin";
                      default: "";
                      description: "An explanation about the purpose of this instance.";
                      examples: readonly ["B1234567"];
                      title: "The Asin schema";
                      type: "string";
                  };
                  CurrentProductType: {
                      $id: "#/properties/Payload/properties/CurrentProductType";
                      default: "";
                      description: "An explanation about the purpose of this instance.";
                      examples: readonly ["PET_APPAREL"];
                      title: "The CurrentProductType schema";
                      type: "string";
                  };
                  MarketplaceId: {
                      $id: "#/properties/Payload/properties/MarketplaceId";
                      default: "";
                      description: "An explanation about the purpose of this instance.";
                      examples: readonly ["ATVPDKIKX0DER"];
                      title: "The MarketplaceId schema";
                      type: "string";
                  };
                  PreviousProductType: {
                      $id: "#/properties/Payload/properties/PreviousProductType";
                      default: "";
                      description: "An explanation about the purpose of this instance.";
                      examples: readonly ["PET_HEALTH_CARE"];
                      title: "The PreviousProductType schema";
                      type: "string";
                  };
              };
              required: readonly [
                  "MarketplaceId",
                  "Asin",
                  "PreviousProductType",
                  "CurrentProductType",
              ];
              title: "The Payload schema";
              type: "object";
          };
          PayloadVersion: {
              $id: "#/properties/PayloadVersion";
              default: "";
              description: "An explanation about the purpose of this instance.";
              examples: readonly ["1.0"];
              title: "The PayloadVersion schema";
              type: "string";
          };
      }
    • Readonlyrequired: readonly [
          "NotificationVersion",
          "NotificationType",
          "PayloadVersion",
          "EventTime",
          "Payload",
          "NotificationMetadata",
      ]
    • Readonlytitle: "The root schema"
    • Readonlytype: "object"
    MMNEPVFCICPMFPCPTTAAATR