https://github.com/amzn/selling-partner-api-samples
Sample code for Amazon Selling Partner API use cases
https://github.com/amzn/selling-partner-api-samples
amazon fba listing pricing seller-integration sellers selling-and-listing-experience selling-partner-api sp-api
Last synced: 2 months ago
JSON representation
Sample code for Amazon Selling Partner API use cases
- Host: GitHub
- URL: https://github.com/amzn/selling-partner-api-samples
- Owner: amzn
- License: mit-0
- Created: 2023-07-14T13:16:22.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2025-03-24T16:23:14.000Z (3 months ago)
- Last Synced: 2025-03-29T09:08:25.360Z (3 months ago)
- Topics: amazon, fba, listing, pricing, seller-integration, sellers, selling-and-listing-experience, selling-partner-api, sp-api
- Language: Java
- Homepage:
- Size: 19.3 MB
- Stars: 91
- Watchers: 21
- Forks: 42
- Open Issues: 13
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# 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)](https://developer-docs.amazon.com/sp-api/)
## Table of Contents
1. [About this Repo](#about)
2. [Use Cases](#use-cases)
3. [Learning Resources](#learning)
4. [Additional Examples](#additional-examples)
5. [Security](#security)
6. [License](#license)
7. [Anonymous Metrics](#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"](#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](CONTRIBUTING.md) guide.
This is considered an intermediate learning resource, and should typically be referenced after reading the [SP-API Documentation](https://developer-docs.amazon.com/sp-api). Please see [Learning Resources](#learning) for additional resources.
## Use Cases
| Use Case | Supported Languages | Documented Code Snippets | Vendor/Seller Availability |
|------------------------------------------------------------------|--------------------------|---------------------------------------------------------------------------------------------------------------------------------|----------------------------|
| [B2B Pricing](use-cases/pricing-b2b) | Java | - | Sellers |
| [Data Kiosk](use-cases/data-kiosk) | Java / Python | [Data Kiosk Code Snippets](https://developer-docs.amazon.com/sp-api/docs/code-samples#data-kiosk) | Sellers and Vendors |
| [Easy Ship](use-cases/easy-ship) | Java | - | Sellers |
| [Error Monitoring](use-cases/error-monitoring) | Java | - | Sellers and Vendors |
| [Fulfillment Inbound v2024](use-cases/fulfillment-inbound) | Java | [FBA Inbound Code Snippets](https://developer-docs.amazon.com/sp-api/docs/code-samples#fulfillment-inbound) - [Fulfillment Inbound API v2024-03-20 Code Samples](https://developer-docs.amazon.com/sp-api/docs/fulfillment-inbound-api-v2024-03-20-code-samples)| Sellers |
| [Fulfillment Outbound](use-cases/fulfillment-outbound) | Java | [Fulfillment Outbound Code Snippets](https://developer-docs.amazon.com/sp-api/docs/code-samples#fulfillment-outbound)
[Fulfillment Inbound API v2024-03-20 Code Samples](https://developer-docs.amazon.com/sp-api/docs/fulfillment-inbound-api-v2024-03-20-code-samples)| Sellers |
| [Listings](use-cases/listings) | TypeScript / JavaScript | - | Sellers and Vendors |
| [LWA Rotation](use-cases/lwa-rotation) | Java | [LWA Rotation Code Snippets](https://developer-docs.amazon.com/sp-api/docs/code-samples#application-management) | Sellers and Vendors |
| [Merchant Fulfillment](use-cases/merchant-fulfillment) | Java / Python | [Merchant Fulfillment Code Snippets](https://developer-docs.amazon.com/sp-api/docs/code-samples#merchant-fulfillment-network) | Sellers |
| [Pricing](use-cases/pricing) | Java / Python | [Product Pricing Code Snippets](https://developer-docs.amazon.com/sp-api/docs/code-samples#product-pricing-api-v0) | Sellers |
| [Shipping](use-cases/shipping-v2) | Python | - | Sellers |
| [Solicitations](use-cases/solicitations) | C# / Python | - | Sellers |
| [Vendor Direct Fulfillment](use-cases/vendor-direct-fulfillment) | C# | [Vendor Direct Fulfillment Code Snippets](https://developer-docs.amazon.com/sp-api/docs/code-samples#vendor-direct-fulfillment) | Vendors |
| [Website Authorization](use-cases/website-authorization) | Python | - | Sellers and Vendors |## Learning Resources
* [SP-API Website](https://developer.amazonservices.com)
* [SP-API Documentation](https://developer-docs.amazon.com/sp-api)
* [SP-API Developer Support](https://developer.amazonservices.com/support)## Additional Examples
* [SP-API Quick Start](https://aws.amazon.com/solutions/implementations/selling-partner-api/)
* [SP-API Reports Notification Quick Start](https://aws.amazon.com/quickstart/architecture/amazon-selling-partner-api-reports-notifications/)See [CONTRIBUTING](CONTRIBUTING.md) for more information.
This library is licensed under the MIT-0 License. See the [LICENSE](LICENSE) file.
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](METRICS_GUIDE.md).