SP-API Code Samples
Walkthroughs that highlight the capabilities of APIs, best practices, and optimal use cases.
Fulfillment Outbound
The Fulfillment Outbound API allows you to construct applications aiding sellers in fulfilling Multi-Channel Fulfillment (MCF) orders using their inventory within Amazon's fulfillment network. You can also access information regarding both potential and existing fulfillment orders. To learn more, refer to the Fulfillment Outbound API use case guide and the full sample solution on GitHub.
Merchant Fulfillment Network
The Merchant Fulfillment API allows you to build apps that let sellers on Amazon buy shipping for their orders. With this API, you can create apps that show shipping options, make shipping labels, and pay for shipping automatically. To learn more, refer to the Merchant Fulfillment API use case guide and the full sample solution on GitHub.
Product Pricing API v0
The Selling Partner API for Pricing helps you programmatically retrieve product pricing and offer pricing information for Amazon Marketplace products. To learn more, refer to the Product Pricing API v0 Use Case Guide and the full sample solution on GitHub.
Vendor Direct Fulfillment
The Vendor Direct Fulfillment APIs assist vendors enrolled in the Direct Fulfillment (DF) program to programmatically manage their direct fulfillment operations via web service integration. This integration facilitates vendors in enhancing and sustaining their performance at scale while expanding their business with Amazon. Through the DF APIs, vendors can develop applications aimed at boosting operational efficiency, minimizing effort, reducing errors, and enhancing overall performance. To learn more, refer to the Vendor Direct Fulfillment API use case guide and the full sample solution on GitHub.
Data Kiosk
The Data Kiosk API allows you to build apps that submit GraphQL queries from a variety of schemas to help selling partners manage their businesses. Refer to the Data Kiosk workflow guide for instructions on how to use these code snippets step by step. To learn more, refer to the Data Kiosk use case guide and the full sample solution on GitHub.
Application Management
Use the Selling Partner API for Application Management to rotate a client secret for registered applications. To learn more, refer to the Application Management API v2023-11-30 Use Case Guide and the full sample solution on GitHub.
Fulfillment Inbound
The FBA Inbound API enables building inbound workflows to create, manage, and send shipments into Amazon's fulfillment network. The API has interoperability with the Send-to-Amazon user interface. To learn more, refer to the Fulfillment Inbound API v2024-03-20 Use Case Guide and the full sample solution on GitHub.
Listings Items API
The Listings Items API provides programmatic access to selling partner listings on Amazon. You can create, edit, delete, and retrieve details about Amazon listings (SKUs) for a selling partner. To learn more, refer to the Listings Items API Use Case Guide and the full sample solution on GitHub. For instructions on how to use these code samples step by step, refer to the Building Listings Management Workflows Guide.
Updated 12 days ago