How to connect to Amazon SP API

The Selling Partner API (SP-API) is a REST-based API that helps Amazon selling partners programmatically access their data on orders, shipments, payments, and much more. Applications using the SP-API can increase selling efficiency, reduce labour requirements, and improve response time to customers, helping sell partners grow their businesses.

You only need to register as a developer once, in the region and marketplace of your choice, to create an SP-API application that can be authorized by a selling partner from any region or marketplace.

Use the following steps to complete the Developer Profile.

  1. Sign in to Seller Central.
  2. Open the menu, select Apps and Services, then choose Develop Apps.
  3. If you have not yet completed a Developer Profile for your selling account, choose Proceed to Developer Profile. Otherwise, choose View profile.
  4. Complete the developer registration form.
  5. Enter your Contact Information.
  6. Enter Data Access details.
  7. From the Data Access dropdown, choose Public Developer: I build and offer publicly available applications that are used by other companies.
  8. If you are currently a developer, you must provide all of your organization’s developer IDs, separated with commas.
  9. Select the Roles that apply to your organization. For more information about Role definitions.
  10. Enter your Use Cases.
  11. Enter your Security Controls.
  12. Check the box confirming that you have read and agree to the Amazon Services API Developer AgreementAcceptable Use Policy, and the Data Protection Policy.
  13. Choose Register.
  14. Wait for the next steps. Case updates will be sent to the admin email address on file. If you are contacted for more information, you must respond within five days to prevent case closure. For more information, refer to Check the status of your request to register as a developer.

To Obtain the LWA_ID, LWA_SECRET, and REFRESH_TOKEN.

  1. Open Developer Central.
  2. Locate the recently created APP and click on the “view” link.
  3. A pop-up window with LWA credentials will appear. Please copy the LWA_ID, LWA_SECRET, and all associated details from the LWA credentials section.

Additionally, please follow these steps to acquire the necessary Refresh token:

  1. Click on the “view” link in the Authorizations remaining column.
  2. You will be redirected to the Manage Authorizations page.
  3. Locate the Refresh token for the United States and click the “Authorize App” button for the corresponding country.
  4. Obtain the Refresh token.

As per the recent Update, there is no need for AWS IAM or AWS Signature Version Reference: SP-API no longer requires AWS IAM or AWS Signature Version 4 (amazon.com)

We can generate the Access Token using the LWA_ID, LWA_SECRET, and REFRESH_TOKEN.

End Point: POST – https://api.amazon.com/auth/o2/token

More Functions

Other References:

Leave a comment

Your email address will not be published. Required fields are marked *