Skip to content

amzn/selling-partner-api-samples

Amazon Selling Partner API Samples

This repository contains sample code in various programming languages for use cases supported by the Amazon Selling Partner API (SP-API)

Table of Contents

  1. About this Repo
  2. Use Cases
  3. Learning Resources
  4. Additional Examples
  5. Security
  6. License
  7. Anonymous Metrics

About this Repo

This repo is the official list of SP-API sample code. It is subdivided into sections for each use case (see "Use Cases"), which in turn include the proposed solution in different programming languages. These examples each provide a demonstration of a well-architected, end-to-end implementation of a business use case that spans across one or more API sections.

We welcome contributions to this repo in the form of fixes or improvements to existing content. For more information on contributing, please see the CONTRIBUTING guide.

This is considered an intermediate learning resource, and should typically be referenced after reading the SP-API Documentation. Please see Learning Resources for additional resources.

Use Cases

Use Case Supported Languages Documented Code Snippets Vendor/Seller Availability
B2B Pricing Java - Sellers
Data Kiosk Java / Python Data Kiosk Code Snippets Sellers and Vendors
Error Monitoring Java - Sellers and Vendors
Fulfillment Inbound v2024 Java - Sellers
Fulfillment Outbound Java Fulfillment Outbound Code Snippets Sellers
Listings TypeScript / JavaScript - Sellers and Vendors
LWA Rotation Java LWA Rotation Code Snippets Sellers and Vendors
Merchant Fulfillment Java / Python Merchant Fulfillment Code Snippets Sellers
Pricing Java / Python Product Pricing Code Snippets Sellers
Shipping Python - Sellers
Solicitations C# / Python - Sellers
Vendor Direct Fulfillment C# Vendor Direct Fulfillment Code Snippets Vendors

Learning Resources

Additional Examples

Security

See CONTRIBUTING for more information.

License

This library is licensed under the MIT-0 License. See the LICENSE file.

Anonymous Metrics

This solution collects 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.