Amazon SP-API Integration

Amazon SP-API Integration

Items and Sales Orders are pulled from Amazon's marketplace through the Amazon Connection. Products and Sales Orders are synchronized sequentially. Prior to synchronizing the sales orders, you must first sync the items.

How to Setup Amazon SP-API Connector?

ERPNext no longer includes Amazon Connector, which is now accessible through a Frappe App on the Frappe Cloud Marketplace.

App Installation * By visiting to your site's Dashboard, you may rapidly install the app if Frappe Cloud is hosting your ERPNext site. The application is offered in the Frappe Cloud Marketplace. * To get the app loaded on your site if Frappe is hosting it, submit a support ticket. * You can use the Frappe bench to install ERPNext if you're self-hosting it. To install Frappe Apps, consult the bench documentation. bench obtain-app ecommerce integrations—main branch

The repository for app is hosted on GitHub: http://github.com/frappe/ecommerce_integrations/

Setting Up Credentials in ERPNext

Once you have registered as a seller on Amazon SP's website, you may ask for the developer credentials. For further details on the same, click here.

1. Setup SP-API Credentials

Input the country, Client ID, Client Secret, Client Secret, AWS Access Key, and IAM ARN.

2. Set up Order Details

Create the following entities: Company, Warehouse, Parent Item Group, Pricing List, Customer Group, Territory, Customer Type, and Account Group. The Account Group is where Amazon keeps track of commissions, taxes, and other fees.

3. Setup Sync Configurations

You can sync products and orders made after a certain date by using the After Date feature. If you are importing a lot of historical data, it is advised to import the data in tiny batches and to begin with the After Date's reverse chronological order.

Once you've finished configuring everything, click Enable Amazon to save your changes. You can use the integration at this point.

4. Sync Products

This button can be clicked to sync products. After this is successful, ERPNext should display your Amazon items as Items.

5. Sync Orders

In order to sync sales orders, click this button. If this works, ERPNext should display your Amazon orders as sales orders. Moreover, you can configure Scheduler to automatically sync orders.

In case your developer account does not have access to personally identifiable information. BuyerName + Order ID> would be combined to form the customer's name in the database.

Note Order cancellation will not be handled by the connection. If you manually cancel any Amazon orders, you must also do so for the corresponding Sales Order and associated documents in ERPNext.