@sp-api-sdk/schemasAmazon Selling Partner API schemas
Learn more about the Selling Partner API by visiting the official documentation.
Also, see the generated documentation.
npm install @sp-api-sdk/schemas
This package exposes JSON schemas and their corresponding TypeScript types for Selling Partner API Feeds, Notifications, and Reports. These schemas are auto-generated from the official Amazon models.
Each schema is exported as a const object (usable at runtime for validation) along with a TypeScript type (inferred via json-schema-to-ts).
import { Reports } from "@sp-api-sdk/schemas";
// Use the JSON schema for validation
console.log(Reports.vendorInventoryReport);
import { Reports } from "@sp-api-sdk/schemas";
const report = (await getVendorInventoryReportData()) as Reports.VendorInventoryReport;
listingsFeedSchemaV2 / ListingsFeedSchemaV2listingsFeedMessageSchemaV2 / ListingsFeedMessageSchemaV2listingsFeedProcessingReportSchemaV2 / ListingsFeedProcessingReportSchemaV2anyOfferChangedNotification / AnyOfferChangedNotificationb2bAnyOfferChangedNotification / B2bAnyOfferChangedNotificationbrandedItemContentChangeNotification / BrandedItemContentChangeNotificationdataKioskQueryProcessingFinishedNotification / DataKioskQueryProcessingFinishedNotificationdetailPageTrafficEventNotification / DetailPageTrafficEventNotificationfbaInventoryAvailabilityChangeNotification / FBAInventoryAvailabilityChangeNotificationfbaOutboundShipmentStatusNotification / FBAOutboundShipmentStatusNotificationfeePromotionNotification / FeePromotionNotificationfeedProcessingFinishedNotification / FeedProcessingFinishedNotificationfulfillmentOrderStatusNotification / FulfillmentOrderStatusNotificationitemInventoryEventChangeNotification / ItemInventoryEventChangeNotificationitemProductTypeChangeNotification / ItemProductTypeChangeNotificationitemSalesEventChangeNotification / ItemSalesEventChangeNotificationlistingsItemIssuesChangeNotification / ListingsItemIssuesChangeNotificationlistingsItemIssuesChangeNotification20231213 / ListingsItemIssuesChangeNotification20231213listingsItemMfnQuantityChange / ListingsItemMfnQuantityChangelistingsItemStatusChangeNotification / ListingsItemStatusChangeNotificationorderChangeNotification / OrderChangeNotificationpricingHealthNotification / PricingHealthNotificationproductTypeDefinitionsChangeNotification / ProductTypeDefinitionsChangeNotificationreportProcessingFinishedNotification / ReportProcessingFinishedNotificationtransactionUpdateNotification / TransactionUpdateNotificationaccountHealthReport20201118 / AccountHealthReport20201118b2bProductOpportunitiesNotYetOnAmazonReport20201119 / B2bProductOpportunitiesNotYetOnAmazonReport20201119b2bProductOpportunitiesRecommendedForYouReport20201119 / B2bProductOpportunitiesRecommendedForYouReport20201119endUserDataReport / EndUserDataReportmarketplaceAsinPageViewMetrics / MarketplaceAsinPageViewMetricspromotionReport / PromotionReportsellerCouponReport / SellerCouponReportsellerSalesAndTrafficReport / SellerSalesAndTrafficReportsellingPartnerMarketBasketAnalysisReport / SellingPartnerMarketBasketAnalysisReportsellingPartnerRepeatPurchaseReport / SellingPartnerRepeatPurchaseReportsellingPartnerSearchCatalogPerformanceReport / SellingPartnerSearchCatalogPerformanceReportsellingPartnerSearchQueryPerformanceReport / SellingPartnerSearchQueryPerformanceReportsellingPartnerSearchTermsReport / SellingPartnerSearchTermsReportvendorCouponReport / VendorCouponReportvendorForecastingReport / VendorForecastingReportvendorInventoryReport / VendorInventoryReportvendorNetPureProductMarginReport / VendorNetPureProductMarginReportvendorRealTimeInventoryReport / VendorRealTimeInventoryReportvendorRealTimeSalesReport / VendorRealTimeSalesReportvendorRealTimeTrafficReport / VendorRealTimeTrafficReportvendorSalesReport / VendorSalesReportvendorTrafficReport / VendorTrafficReportMIT
╚⊙ ⊙╝
╚═(███)═╝
╚═(███)═╝
╚═(███)═╝
╚═(███)═╝
╚═(███)═╝
╚═(███)═╝