Selling Partner API SDK for JavaScript

    Variable listingsItemMfnQuantityChangeConst

    listingsItemMfnQuantityChange: {
        description: "To be delivered when the inventory quantity of a MFN Seller listing 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_MFN_QUANTITY_CHANGE";
                NotificationVersion: "1.0";
                Payload: {
                    FulfillmentChannelCode: "DEFAULT";
                    Quantity: 99;
                    SellerId: "AXXXXXXXXXXXXX";
                    Sku: "NLS-SHOES-03";
                };
                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: "An identifier of the application.";
                        examples: readonly [
                            "amzn1.sellerapps.app.f1234566-aaec-55a6-b123-bcb752069ec5",
                        ];
                        title: "Application ID";
                        type: "string";
                    };
                    NotificationId: {
                        description: "An identifier of 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: "An identifier of 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_MFN_QUANTITY_CHANGE"];
                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 [
                    {
                        FulfillmentChannelCode: "DEFAULT";
                        Quantity: 99;
                        SellerId: "AXXXXXXXXXXXXX";
                        Sku: "NLS-SHOES-03";
                    },
                ];
                properties: {
                    FulfillmentChannelCode: {
                        description: "The Fulfillment channel code representing the MFN (seller-fulfilled) fulfillment program, network, or channel where the quantity is applicable.";
                        examples: readonly ["DEFAULT"];
                        title: "Fulfillment Channel Code";
                        type: "string";
                    };
                    Quantity: {
                        description: "The available quantity for MFN (seller-fulfillment) with the fulfillment program, network, or channel.";
                        examples: readonly [99];
                        title: "Quantity";
                        type: "integer";
                    };
                    SellerId: {
                        description: "Selling partner identifier, such as a merchant ID, of the affected listings item.";
                        examples: readonly ["AXXXXXXXXXXXXX"];
                        title: "Seller ID";
                        type: "string";
                    };
                    Sku: {
                        description: "A selling partner provided identifier for an Amazon listing.";
                        examples: readonly ["NLS-SHOES-03"];
                        title: "SKU";
                        type: "string";
                    };
                };
                required: readonly [
                    "SellerId",
                    "FulfillmentChannelCode",
                    "Sku",
                    "Quantity",
                ];
                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 MFN Quantity Change Notification";
        type: "object";
    } = ...

    Type declaration

    • Readonlydescription: "To be delivered when the inventory quantity of a MFN Seller listing 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_MFN_QUANTITY_CHANGE";
              NotificationVersion: "1.0";
              Payload: {
                  FulfillmentChannelCode: "DEFAULT";
                  Quantity: 99;
                  SellerId: "AXXXXXXXXXXXXX";
                  Sku: "NLS-SHOES-03";
              };
              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: "An identifier of the application.";
                      examples: readonly [
                          "amzn1.sellerapps.app.f1234566-aaec-55a6-b123-bcb752069ec5",
                      ];
                      title: "Application ID";
                      type: "string";
                  };
                  NotificationId: {
                      description: "An identifier of 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: "An identifier of 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_MFN_QUANTITY_CHANGE"];
              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 [
                  {
                      FulfillmentChannelCode: "DEFAULT";
                      Quantity: 99;
                      SellerId: "AXXXXXXXXXXXXX";
                      Sku: "NLS-SHOES-03";
                  },
              ];
              properties: {
                  FulfillmentChannelCode: {
                      description: "The Fulfillment channel code representing the MFN (seller-fulfilled) fulfillment program, network, or channel where the quantity is applicable.";
                      examples: readonly ["DEFAULT"];
                      title: "Fulfillment Channel Code";
                      type: "string";
                  };
                  Quantity: {
                      description: "The available quantity for MFN (seller-fulfillment) with the fulfillment program, network, or channel.";
                      examples: readonly [99];
                      title: "Quantity";
                      type: "integer";
                  };
                  SellerId: {
                      description: "Selling partner identifier, such as a merchant ID, of the affected listings item.";
                      examples: readonly ["AXXXXXXXXXXXXX"];
                      title: "Seller ID";
                      type: "string";
                  };
                  Sku: {
                      description: "A selling partner provided identifier for an Amazon listing.";
                      examples: readonly ["NLS-SHOES-03"];
                      title: "SKU";
                      type: "string";
                  };
              };
              required: readonly [
                  "SellerId",
                  "FulfillmentChannelCode",
                  "Sku",
                  "Quantity",
              ];
              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 MFN Quantity Change Notification"
    • Readonlytype: "object"
    MMNEPVFCICPMFPCPTTAAATR