Selling Partner API SDK for JavaScript

    Variable fbaInventoryAvailabilityChangeNotificationConst

    fbaInventoryAvailabilityChangeNotification: {
        $id: "http://example.com/example.json";
        additionalProperties: true;
        default: {};
        description: "The root schema comprises the entire JSON document.";
        properties: {
            EventTime: {
                $id: "#/properties/EventTime";
                default: "";
                description: "Timestamp of the event. Formatted as ISO 8601 date-time.";
                examples: readonly ["2020-07-13T19:42:04.284Z"];
                format: "date-time";
                title: "Event Time";
                type: "string";
            };
            NotificationType: {
                $id: "#/properties/NotificationType";
                description: "The type of this notification";
                enum: readonly ["FBA_INVENTORY_AVAILABILITY_CHANGES"];
                title: "Notification Type";
                type: "string";
            };
            NotificationVersion: {
                $id: "#/properties/NotificationVersion";
                description: "The version of this notification.";
                examples: readonly ["1.0"];
                title: "Notification Version";
                type: "string";
            };
            Payload: {
                $id: "#/properties/Payload";
                additionalProperties: true;
                description: "The details of this notification.";
                examples: readonly [
                    {
                        ASIN: "B00001ABCD";
                        FNSKU: "X001ABCDEF";
                        FulfillmentInventoryByMarketplace: readonly [
                            {
                                FulfillmentInventory: {
                                    Fulfillable: 50;
                                    FutureSupplyBuyable: 10;
                                    InboundQuantityBreakdown: { Receiving: 10; Shipped: 5; Working: 0 };
                                    PendingCustomerOrderInTransit: 0;
                                    Researching: 0;
                                    ReservedQuantityBreakdown: {
                                        PendingCustomerOrder: 10;
                                        WarehouseProcessing: 5;
                                        WarehouseTransfer: 15;
                                    };
                                    Unfulfillable: 0;
                                };
                                ItemName: "Product Title";
                                MarketplaceId: "ATVPDKIKX0DER";
                                Stores: readonly ["Low-Cost Store"];
                            },
                            {
                                FulfillmentInventory: {
                                    Fulfillable: 40;
                                    FutureSupplyBuyable: 0;
                                    InboundQuantityBreakdown: { Receiving: 3; Shipped: 2; Working: 1 };
                                    PendingCustomerOrderInTransit: 0;
                                    Researching: 0;
                                    ReservedQuantityBreakdown: {
                                        PendingCustomerOrder: 10;
                                        WarehouseProcessing: 5;
                                        WarehouseTransfer: 15;
                                    };
                                    Unfulfillable: 0;
                                };
                                ItemName: "Product Title";
                                MarketplaceId: "A2EUQ1WTGCTBG2";
                                Stores: readonly ["Low-Cost Store"];
                            },
                        ];
                        SellerId: "A3TH9S8BH6GOGM";
                        SKU: "SELLERSKU-1";
                    },
                ];
                properties: {
                    ASIN: {
                        $id: "#/properties/Payload/properties/FulfillmentInventoryAvailabilityChangeNotification/properties/ASIN";
                        description: "Amazon Standard Identification Number of the affected inventory item.";
                        examples: readonly ["B00001ABCD"];
                        title: "ASIN";
                        type: "string";
                    };
                    FNSKU: {
                        $id: "#/properties/Payload/properties/FulfillmentInventoryAvailabilityChangeNotification/properties/FNSKU";
                        description: "The Fulfillment Network SKU of the affected inventory item.";
                        examples: readonly ["X001ABCDEF"];
                        title: "FNSKU";
                        type: "string";
                    };
                    FulfillmentInventoryByMarketplace: {
                        $id: "#/properties/Payload/properties/FulfillmentInventoryAvailabilityChangeNotification/properties/FulfillmentInventoryByMarketplace";
                        description: "List of Fulfillment Inventory Details for each marketplace.";
                        examples: readonly [
                            readonly [
                                {
                                    FulfillmentInventory: {
                                        Fulfillable: 50;
                                        FutureSupplyBuyable: 10;
                                        InboundQuantityBreakdown: { Receiving: 10; Shipped: 5; Working: 0 };
                                        PendingCustomerOrderInTransit: 0;
                                        Researching: 0;
                                        ReservedQuantityBreakdown: {
                                            PendingCustomerOrder: 10;
                                            WarehouseProcessing: 5;
                                            WarehouseTransfer: 15;
                                        };
                                        Unfulfillable: 0;
                                    };
                                    ItemName: "Product Title";
                                    MarketplaceId: "ATVPDKIKX0DER";
                                    Stores: readonly ["Low-Cost Store"];
                                },
                                {
                                    FulfillmentInventory: {
                                        Fulfillable: 40;
                                        FutureSupplyBuyable: 0;
                                        InboundQuantityBreakdown: { Receiving: 3; Shipped: 2; Working: 1 };
                                        PendingCustomerOrderInTransit: 0;
                                        Researching: 0;
                                        ReservedQuantityBreakdown: {
                                            PendingCustomerOrder: 10;
                                            WarehouseProcessing: 5;
                                            WarehouseTransfer: 15;
                                        };
                                        Unfulfillable: 0;
                                    };
                                    ItemName: "Product Title";
                                    MarketplaceId: "A2EUQ1WTGCTBG2";
                                    Stores: readonly ["Low-Cost Store"];
                                },
                            ],
                        ];
                        items: {
                            additionalProperties: true;
                            properties: {
                                FulfillmentInventory: {
                                    $id: "#/properties/Payload/properties/FulfillmentInventoryAvailabilityChangeNotification/properties/FulfillmentInventoryByMarketplace/FulfillmentInventory";
                                    description: "Detail of the affected item's inventory availability";
                                    examples: readonly [
                                        {
                                            Fulfillable: 50;
                                            FutureSupplyBuyable: 10;
                                            InboundQuantityBreakdown: {
                                                Receiving: ...;
                                                Shipped: ...;
                                                Working: ...;
                                            };
                                            PendingCustomerOrderInTransit: 0;
                                            Researching: 0;
                                            ReservedQuantityBreakdown: {
                                                PendingCustomerOrder: ...;
                                                WarehouseProcessing: ...;
                                                WarehouseTransfer: ...;
                                            };
                                            Unfulfillable: 0;
                                        },
                                    ];
                                    properties: {
                                        Fulfillable: {
                                            $id: "#/properties/Payload/properties/FulfillmentInventoryAvailabilityChangeNotification/properties/FulfillmentInventoryByMarketplace/FulfillmentInventory/Fulfillable";
                                            description: "The number of units of the affected item that can be used to fulfill orders in the given marketplace.";
                                            examples: readonly [(...)];
                                            title: "Fulfillable";
                                            type: "integer";
                                        };
                                        FutureSupplyBuyable: {
                                            $id: "#/properties/Payload/properties/FulfillmentInventoryAvailabilityChangeNotification/properties/FulfillmentInventoryByMarketplace/FulfillmentInventory/FutureSupplyBuyable";
                                            default: 0;
                                            description: "The number of units available for customers to find and buy while inventory is on its way to an Amazon fulfillment center through In-Stock Head Start.";
                                            examples: readonly [(...)];
                                            title: "Future Supply Buyable";
                                            type: "integer";
                                        };
                                        InboundQuantityBreakdown: {
                                            $id: "#/properties/Payload/properties/FulfillmentInventoryAvailabilityChangeNotification/properties/FulfillmentInventoryByMarketplace/FulfillmentInventory/InboundQuantityBreakdown";
                                            additionalProperties: true;
                                            description: "Details of the affected item's inbound units, which are either still in WORKING status or on the way to be received in Amazon warehouses.";
                                            examples: readonly [(...)];
                                            properties: { Receiving: ...; Shipped: ...; Working: ... };
                                            required: readonly [(...), (...), (...)];
                                            title: "Inbound Quantity Breakdown";
                                            type: "object";
                                        };
                                        PendingCustomerOrderInTransit: {
                                            $id: "#/properties/Payload/properties/FulfillmentInventoryAvailabilityChangeNotification/properties/FulfillmentInventoryByMarketplace/FulfillmentInventory/PendingCustomerOrderInTransit";
                                            default: 0;
                                            description: "The number of units that customers have purchased while inventory is on its way to an Amazon fulfillment center through In-Stock Head Start";
                                            examples: readonly [(...)];
                                            title: "Pending Customer Order In Transit";
                                            type: "integer";
                                        };
                                        Researching: {
                                            $id: "#/properties/Payload/properties/FulfillmentInventoryAvailabilityChangeNotification/properties/FulfillmentInventoryByMarketplace/FulfillmentInventory/Unfulfillable";
                                            default: 0;
                                            description: "The number of units of the affected item that are currently being investigated upon adjustments.";
                                            examples: readonly [(...)];
                                            title: "Researching";
                                            type: "integer";
                                        };
                                        ReservedQuantityBreakdown: {
                                            $id: "#/properties/Payload/properties/FulfillmentInventoryAvailabilityChangeNotification/properties/FulfillmentInventoryByMarketplace/FulfillmentInventory/ReservedQuantityBreakdown";
                                            additionalProperties: true;
                                            description: "Details of the inventory that is temporarily undergoing internal processes.";
                                            examples: readonly [(...)];
                                            properties: {
                                                PendingCustomerOrder: ...;
                                                WarehouseProcessing: ...;
                                                WarehouseTransfer: ...;
                                            };
                                            required: readonly [(...), (...), (...)];
                                            title: "Reserved Quantity Breakdown";
                                            type: "object";
                                        };
                                        Unfulfillable: {
                                            $id: "#/properties/Payload/properties/FulfillmentInventoryAvailabilityChangeNotification/properties/FulfillmentInventoryByMarketplace/FulfillmentInventory/Unfulfillable";
                                            default: 0;
                                            description: "The number of units of the affected item that can not be used to fulfill orders due to the item's current disposition.";
                                            examples: readonly [(...)];
                                            title: "Unfulfillable";
                                            type: "integer";
                                        };
                                    };
                                    required: readonly [
                                        "InboundQuantityBreakdown",
                                        "Fulfillable",
                                        "Unfulfillable",
                                        "Researching",
                                        "ReservedQuantityBreakdown",
                                        "FutureSupplyBuyable",
                                        "PendingCustomerOrderInTransit",
                                    ];
                                    title: "Fulfillment Inventory Details";
                                    type: "object";
                                };
                                ItemName: {
                                    description: "The product title of the affected inventory item.";
                                    examples: readonly ["Product Title"];
                                    title: "Item Name";
                                    type: "string";
                                };
                                MarketplaceId: {
                                    description: "The marketplace identifier for the destination where the affected inventory can be used to fulfill the order.";
                                    examples: readonly ["ATVPDKIKX0DER"];
                                    title: "MarketplaceId";
                                    type: "string";
                                };
                                Stores: {
                                    description: "List of seller-enrolled stores for the affected inventory item.";
                                    examples: readonly [readonly ["Low-Cost Store"], readonly []];
                                    title: "Stores";
                                    type: "array";
                                };
                            };
                            required: readonly [
                                "MarketplaceId",
                                "ItemName",
                                "FulfillmentInventory",
                            ];
                            type: "object";
                        };
                        title: "Fulfillment Inventory Details By Marketplace";
                        type: "array";
                    };
                    SellerId: {
                        $id: "#/properties/Payload/properties/FulfillmentInventoryAvailabilityChangeNotification/properties/SellerId";
                        description: "Selling partner identifier, such as a merchant account, for the affected inventory item.";
                        examples: readonly ["A3TH9S8BH6GOGM"];
                        title: "Seller Id";
                        type: "string";
                    };
                    SKU: {
                        $id: "#/properties/Payload/properties/FulfillmentInventoryAvailabilityChangeNotification/properties/SKU";
                        description: "Seller SKU of the affected inventory item.";
                        examples: readonly ["SELLERSKU-1"];
                        title: "SKU";
                        type: "string";
                    };
                };
                required: readonly [
                    "SellerId",
                    "FNSKU",
                    "ASIN",
                    "SKU",
                    "FulfillmentInventoryByMarketplace",
                ];
                title: "Payload";
                type: "object";
            };
            PayloadVersion: {
                $id: "#/properties/PayloadVersion";
                description: "The version of the payload.";
                examples: readonly ["1.0"];
                title: "Payload Version";
                type: "string";
            };
        };
        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."
    • Readonlyproperties: {
          EventTime: {
              $id: "#/properties/EventTime";
              default: "";
              description: "Timestamp of the event. Formatted as ISO 8601 date-time.";
              examples: readonly ["2020-07-13T19:42:04.284Z"];
              format: "date-time";
              title: "Event Time";
              type: "string";
          };
          NotificationType: {
              $id: "#/properties/NotificationType";
              description: "The type of this notification";
              enum: readonly ["FBA_INVENTORY_AVAILABILITY_CHANGES"];
              title: "Notification Type";
              type: "string";
          };
          NotificationVersion: {
              $id: "#/properties/NotificationVersion";
              description: "The version of this notification.";
              examples: readonly ["1.0"];
              title: "Notification Version";
              type: "string";
          };
          Payload: {
              $id: "#/properties/Payload";
              additionalProperties: true;
              description: "The details of this notification.";
              examples: readonly [
                  {
                      ASIN: "B00001ABCD";
                      FNSKU: "X001ABCDEF";
                      FulfillmentInventoryByMarketplace: readonly [
                          {
                              FulfillmentInventory: {
                                  Fulfillable: 50;
                                  FutureSupplyBuyable: 10;
                                  InboundQuantityBreakdown: { Receiving: 10; Shipped: 5; Working: 0 };
                                  PendingCustomerOrderInTransit: 0;
                                  Researching: 0;
                                  ReservedQuantityBreakdown: {
                                      PendingCustomerOrder: 10;
                                      WarehouseProcessing: 5;
                                      WarehouseTransfer: 15;
                                  };
                                  Unfulfillable: 0;
                              };
                              ItemName: "Product Title";
                              MarketplaceId: "ATVPDKIKX0DER";
                              Stores: readonly ["Low-Cost Store"];
                          },
                          {
                              FulfillmentInventory: {
                                  Fulfillable: 40;
                                  FutureSupplyBuyable: 0;
                                  InboundQuantityBreakdown: { Receiving: 3; Shipped: 2; Working: 1 };
                                  PendingCustomerOrderInTransit: 0;
                                  Researching: 0;
                                  ReservedQuantityBreakdown: {
                                      PendingCustomerOrder: 10;
                                      WarehouseProcessing: 5;
                                      WarehouseTransfer: 15;
                                  };
                                  Unfulfillable: 0;
                              };
                              ItemName: "Product Title";
                              MarketplaceId: "A2EUQ1WTGCTBG2";
                              Stores: readonly ["Low-Cost Store"];
                          },
                      ];
                      SellerId: "A3TH9S8BH6GOGM";
                      SKU: "SELLERSKU-1";
                  },
              ];
              properties: {
                  ASIN: {
                      $id: "#/properties/Payload/properties/FulfillmentInventoryAvailabilityChangeNotification/properties/ASIN";
                      description: "Amazon Standard Identification Number of the affected inventory item.";
                      examples: readonly ["B00001ABCD"];
                      title: "ASIN";
                      type: "string";
                  };
                  FNSKU: {
                      $id: "#/properties/Payload/properties/FulfillmentInventoryAvailabilityChangeNotification/properties/FNSKU";
                      description: "The Fulfillment Network SKU of the affected inventory item.";
                      examples: readonly ["X001ABCDEF"];
                      title: "FNSKU";
                      type: "string";
                  };
                  FulfillmentInventoryByMarketplace: {
                      $id: "#/properties/Payload/properties/FulfillmentInventoryAvailabilityChangeNotification/properties/FulfillmentInventoryByMarketplace";
                      description: "List of Fulfillment Inventory Details for each marketplace.";
                      examples: readonly [
                          readonly [
                              {
                                  FulfillmentInventory: {
                                      Fulfillable: 50;
                                      FutureSupplyBuyable: 10;
                                      InboundQuantityBreakdown: { Receiving: 10; Shipped: 5; Working: 0 };
                                      PendingCustomerOrderInTransit: 0;
                                      Researching: 0;
                                      ReservedQuantityBreakdown: {
                                          PendingCustomerOrder: 10;
                                          WarehouseProcessing: 5;
                                          WarehouseTransfer: 15;
                                      };
                                      Unfulfillable: 0;
                                  };
                                  ItemName: "Product Title";
                                  MarketplaceId: "ATVPDKIKX0DER";
                                  Stores: readonly ["Low-Cost Store"];
                              },
                              {
                                  FulfillmentInventory: {
                                      Fulfillable: 40;
                                      FutureSupplyBuyable: 0;
                                      InboundQuantityBreakdown: { Receiving: 3; Shipped: 2; Working: 1 };
                                      PendingCustomerOrderInTransit: 0;
                                      Researching: 0;
                                      ReservedQuantityBreakdown: {
                                          PendingCustomerOrder: 10;
                                          WarehouseProcessing: 5;
                                          WarehouseTransfer: 15;
                                      };
                                      Unfulfillable: 0;
                                  };
                                  ItemName: "Product Title";
                                  MarketplaceId: "A2EUQ1WTGCTBG2";
                                  Stores: readonly ["Low-Cost Store"];
                              },
                          ],
                      ];
                      items: {
                          additionalProperties: true;
                          properties: {
                              FulfillmentInventory: {
                                  $id: "#/properties/Payload/properties/FulfillmentInventoryAvailabilityChangeNotification/properties/FulfillmentInventoryByMarketplace/FulfillmentInventory";
                                  description: "Detail of the affected item's inventory availability";
                                  examples: readonly [
                                      {
                                          Fulfillable: 50;
                                          FutureSupplyBuyable: 10;
                                          InboundQuantityBreakdown: {
                                              Receiving: ...;
                                              Shipped: ...;
                                              Working: ...;
                                          };
                                          PendingCustomerOrderInTransit: 0;
                                          Researching: 0;
                                          ReservedQuantityBreakdown: {
                                              PendingCustomerOrder: ...;
                                              WarehouseProcessing: ...;
                                              WarehouseTransfer: ...;
                                          };
                                          Unfulfillable: 0;
                                      },
                                  ];
                                  properties: {
                                      Fulfillable: {
                                          $id: "#/properties/Payload/properties/FulfillmentInventoryAvailabilityChangeNotification/properties/FulfillmentInventoryByMarketplace/FulfillmentInventory/Fulfillable";
                                          description: "The number of units of the affected item that can be used to fulfill orders in the given marketplace.";
                                          examples: readonly [(...)];
                                          title: "Fulfillable";
                                          type: "integer";
                                      };
                                      FutureSupplyBuyable: {
                                          $id: "#/properties/Payload/properties/FulfillmentInventoryAvailabilityChangeNotification/properties/FulfillmentInventoryByMarketplace/FulfillmentInventory/FutureSupplyBuyable";
                                          default: 0;
                                          description: "The number of units available for customers to find and buy while inventory is on its way to an Amazon fulfillment center through In-Stock Head Start.";
                                          examples: readonly [(...)];
                                          title: "Future Supply Buyable";
                                          type: "integer";
                                      };
                                      InboundQuantityBreakdown: {
                                          $id: "#/properties/Payload/properties/FulfillmentInventoryAvailabilityChangeNotification/properties/FulfillmentInventoryByMarketplace/FulfillmentInventory/InboundQuantityBreakdown";
                                          additionalProperties: true;
                                          description: "Details of the affected item's inbound units, which are either still in WORKING status or on the way to be received in Amazon warehouses.";
                                          examples: readonly [(...)];
                                          properties: { Receiving: ...; Shipped: ...; Working: ... };
                                          required: readonly [(...), (...), (...)];
                                          title: "Inbound Quantity Breakdown";
                                          type: "object";
                                      };
                                      PendingCustomerOrderInTransit: {
                                          $id: "#/properties/Payload/properties/FulfillmentInventoryAvailabilityChangeNotification/properties/FulfillmentInventoryByMarketplace/FulfillmentInventory/PendingCustomerOrderInTransit";
                                          default: 0;
                                          description: "The number of units that customers have purchased while inventory is on its way to an Amazon fulfillment center through In-Stock Head Start";
                                          examples: readonly [(...)];
                                          title: "Pending Customer Order In Transit";
                                          type: "integer";
                                      };
                                      Researching: {
                                          $id: "#/properties/Payload/properties/FulfillmentInventoryAvailabilityChangeNotification/properties/FulfillmentInventoryByMarketplace/FulfillmentInventory/Unfulfillable";
                                          default: 0;
                                          description: "The number of units of the affected item that are currently being investigated upon adjustments.";
                                          examples: readonly [(...)];
                                          title: "Researching";
                                          type: "integer";
                                      };
                                      ReservedQuantityBreakdown: {
                                          $id: "#/properties/Payload/properties/FulfillmentInventoryAvailabilityChangeNotification/properties/FulfillmentInventoryByMarketplace/FulfillmentInventory/ReservedQuantityBreakdown";
                                          additionalProperties: true;
                                          description: "Details of the inventory that is temporarily undergoing internal processes.";
                                          examples: readonly [(...)];
                                          properties: {
                                              PendingCustomerOrder: ...;
                                              WarehouseProcessing: ...;
                                              WarehouseTransfer: ...;
                                          };
                                          required: readonly [(...), (...), (...)];
                                          title: "Reserved Quantity Breakdown";
                                          type: "object";
                                      };
                                      Unfulfillable: {
                                          $id: "#/properties/Payload/properties/FulfillmentInventoryAvailabilityChangeNotification/properties/FulfillmentInventoryByMarketplace/FulfillmentInventory/Unfulfillable";
                                          default: 0;
                                          description: "The number of units of the affected item that can not be used to fulfill orders due to the item's current disposition.";
                                          examples: readonly [(...)];
                                          title: "Unfulfillable";
                                          type: "integer";
                                      };
                                  };
                                  required: readonly [
                                      "InboundQuantityBreakdown",
                                      "Fulfillable",
                                      "Unfulfillable",
                                      "Researching",
                                      "ReservedQuantityBreakdown",
                                      "FutureSupplyBuyable",
                                      "PendingCustomerOrderInTransit",
                                  ];
                                  title: "Fulfillment Inventory Details";
                                  type: "object";
                              };
                              ItemName: {
                                  description: "The product title of the affected inventory item.";
                                  examples: readonly ["Product Title"];
                                  title: "Item Name";
                                  type: "string";
                              };
                              MarketplaceId: {
                                  description: "The marketplace identifier for the destination where the affected inventory can be used to fulfill the order.";
                                  examples: readonly ["ATVPDKIKX0DER"];
                                  title: "MarketplaceId";
                                  type: "string";
                              };
                              Stores: {
                                  description: "List of seller-enrolled stores for the affected inventory item.";
                                  examples: readonly [readonly ["Low-Cost Store"], readonly []];
                                  title: "Stores";
                                  type: "array";
                              };
                          };
                          required: readonly [
                              "MarketplaceId",
                              "ItemName",
                              "FulfillmentInventory",
                          ];
                          type: "object";
                      };
                      title: "Fulfillment Inventory Details By Marketplace";
                      type: "array";
                  };
                  SellerId: {
                      $id: "#/properties/Payload/properties/FulfillmentInventoryAvailabilityChangeNotification/properties/SellerId";
                      description: "Selling partner identifier, such as a merchant account, for the affected inventory item.";
                      examples: readonly ["A3TH9S8BH6GOGM"];
                      title: "Seller Id";
                      type: "string";
                  };
                  SKU: {
                      $id: "#/properties/Payload/properties/FulfillmentInventoryAvailabilityChangeNotification/properties/SKU";
                      description: "Seller SKU of the affected inventory item.";
                      examples: readonly ["SELLERSKU-1"];
                      title: "SKU";
                      type: "string";
                  };
              };
              required: readonly [
                  "SellerId",
                  "FNSKU",
                  "ASIN",
                  "SKU",
                  "FulfillmentInventoryByMarketplace",
              ];
              title: "Payload";
              type: "object";
          };
          PayloadVersion: {
              $id: "#/properties/PayloadVersion";
              description: "The version of the payload.";
              examples: readonly ["1.0"];
              title: "Payload Version";
              type: "string";
          };
      }
    • Readonlytitle: "The root schema"
    • Readonlytype: "object"
    MMNEPVFCICPMFPCPTTAAATR