API-Guide
If you want to integrate Storefront into your existing infrastructure you can do so by using the various APIs that Storefront provides. By doing so, you end up using Storefront without ever actually seeing it. You control it via API calls, like a remote control. We call that scenario "headless".
To securely connect to Storefront APIs, you must use the OAuth 2.0 protocol, the leading industry-standard protocol for authorization. The technical details are laid out in detail in RFC 6479. If you are simply a user of the Storefront API, you can use one of the various OAuth 2.0 client libraries available for your platform of choice.
In this tutorial, we are going to show you how to use the Storefront API for Amazon Business. We are going to authenticate, execute a search, and get the details of a product. If you want to generate clients based on the Swagger/OpenAPI specification, feel free to download the openapi.yaml.
Prerequisites
To follow this tutorial, you will need:
- A properly configured connection to Amazon Business. Please look up our Setup that will guide you through the process of configuring credentials to enable Storefront API for Amazon.
Structure
In the API-Guide section, we will focus on a specific issue you want to solve and walk you through solving that specific goal. See the sidebar for a comprehensive list of goals, or start right away with a summary some of them.
- In Authentication you will learn how to authenticate to Storefront API for Amazon.
- In Searching for Products you will execute a search and learn how to integrate the API into your user interface.
- The Product Details guide will introduce you to the subtleties of a product as seen by Amazon. 5+4. In Checkout, you will learn how to checkout and order products from Amazon Business via OCI punchout.