Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Sample Solutions

Sample solutions provide a demonstration of a well-architected, end-to-end implementation of a business use case that spans across one or more API section. They can be easily deployed to AWS for exploration and learning.

Use Cases

Use Case Supported Languages Documented Code Snippets Vendor/Seller Availability Description
B2B Pricing Java - Sellers This Sample Solution implements a re-pricing workflow that reacts to incoming B2B_ANY_OFFER_CHANGED notifications and calculates a new competitive price for the related selling partner's SKUs in order to achieve B2B featured offer eligibility.
Data Kiosk Java / Python Data Kiosk Code Snippets Sellers and Vendors This Sample Solution implements a well-architected workflow to create and cancel Data Kiosk queries, retrieve the processed query document(s) and also highlights how to schedule Data Kiosk queries.
Easy Ship Java - Sellers This Sample Solution implements a well-architected workflow for Amazon EasyShip, starting with getting notified when a new order has been placed, schedule a shipment and printing a shipping label.
Error Monitoring Java - Sellers and Vendors This Sample Solution implements an error monitoring and alerting workflow. API error response codes are captured from the logs and alert is sent when the volume of errors hits a specific threshold.
Fulfillment Inbound v2024 Java FBA Inbound Code Snippets Sellers Contains three Sample Solutions covering distinct workflows for fulfillment inbound: Small Parcel Delivery (SPD) with Amazon Partnered Carrier (PCP), Small Parcel Delivery (SPD) with Non-Partnered Carrier (nPCP) and Pallet Delivery (LTL/FTL) with Pack Later Flow (Carton Unknown Upfront).
Fulfillment Outbound Java Fulfillment Outbound Code Snippets Sellers This Sample Solution implements a workflow that helps a seller fulfill Multi-Channel Fulfillment orders using their inventory in Amazon's fulfillment network, including creating, updating and cancelling fulfillment orders as well as getting a fulfillment preview.
Listings TypeScript / JavaScript - Sellers and Vendors This Sample Solution demonstrates how to use Listings APIs to construct common listing management workflows using a simple UI.
Listing Schema Validation Java - Sellers and Vendors This Sample Solution demonstrates how to use client side JSON schema validation to prevent most of the issues occurring when creating new listings with Listings Items API or JSON_LISTINGS_FEED with Feeds API.
LWA Rotation Java LWA Rotation Code Snippets Sellers and Vendors This Sample Solution implements a workflow to programmatically rotate LWA client secrets for SP-API applications.
Merchant Fulfillment Java / Python Merchant Fulfillment Code Snippets Sellers This Sample Solution implements a workflow for merchant fulfilled orders. It includes getting notified when a new order has been placed as well as purchasing and printing corresponding shipping labels.
Notifications Sample Solution Java - Sellers and Vendors This Sample Solution demonstrates how to build and test an end-to-end SP-API notification pipeline, including subscribing to AWS SQS and EventBridge, forwarding notifications to Google Cloud, Microsoft Azure or any other on-premise webhook.
Pricing Java / Python Product Pricing Code Snippets Sellers This Sample Solution implements a re-pricing workflow that reacts to incoming ANY_OFFER_CHANGED and PRICING_HEALTH notifications calculating a new competitive price for the related selling partner's SKUs in order to achieve featured offer eligibility.
Shipping Python - Sellers This Sample Solution implements a well-architected workflow for Amazon Buy Shipping, including getting rates and purchasing preferred shipment methods as well as printing the shipping labels.
Solicitations C# / Python - Sellers This Sample Solution implements a solicitations workflow that reacts to incoming ORDER_CHANGE notifications and tries to submit a product review and seller feedback solicitation to the buyer at the appropriate time.
Vendor Direct Fulfillment C# Vendor Direct Fulfillment Code Snippets Vendors This Sample Solution implements a Direct Fulfillment (DF) purchase order workflow that pulls any purchase orders available for fulfillment, sends an purchase order acknowledgement for the retrieved purchase orders and then gets the shipping label for the purchased orders, so they can be packed and shipped by the vendor.
Website Authorization Python - Sellers and Vendors This Sample Solution is an implementation of the Login with Amazon website authorization workflow. This web app can be deployed as a sample developer website and configured with your developer application to initiate the authorization workflow, from the selling partner clicking on an Authorize button until retrieving the Refresh Token and executing a first successful API call.
Data Kiosk MCP Server TypeScript / JavaScript - Sellers and Vendors This MCP server provides a bridge between AI assistants and Amazon's Data Kiosk API, allowing for powerful analytics capabilities through natural language conversations. It enables users to: Query Sales and Traffic data for Amazon sellers, build and execute GraphQL queries, download and analyze query results and much more.
SP API MCP Server TypeScript / JavaScript - Sellers and Vendors The SP-API MCP Server connects Large Language Models to Amazon's Selling Partner API ecosystem. Through conversational interfaces, developers and sellers can explore and execute SP-API operations using natural language. The server provides: Natural language API exploration and execution, code generation in multiple languages, complete SP-API endpoint documentation and much more.

Anonymous Metrics

Some of these sample solutions collect anonymous operational metrics to help Amazon Selling Partner API team improve the quality of features of the solution. For more information, including how to disable this capability, please see the implementation guide.