Docs: Amazon API ================ ###### tags: `Odoo` # Amazon Connector Process :::info Test api at https://sandbox.sellingpartnerapi-na.amazon.com Production api at https://sellingpartnerapi-na.amazon.com Vendor central at https://vendorcentral.amazon.com.br/ ::: ## Amazon Vendor Central Integration Setup Guide #### Note : You can also refer the links below : * https://www.amazowl.com/blog/vendor-central-api/ * https://github.com/amzn/selling-partner-api-docs/blob/main/guides/developer-guide/SellingPartnerApiDeveloperGuideForVendors.md#step-1-create-an-aws-account 1. You must have a Vendor Central Account in your country/location : Vendor Central URL's 2. Go to Integration > API Integration 3. Create Developer Profile according to your requirements. 4. Create an AWS Account. 5. Create an IAM User. 6. Create an IAM Policy. 7. Create an IAM Role. 8. Add an AWS Security Token Service Policy to IAM User. 9. Register your Application. 10. View Your Application Information. 11. Authorizing the Application. ## Configure the amazon connector module : 1- Give the user access permission to make amazon odoo connector visible. ![](https://i.imgur.com/imcV5Rj.png) 2- Add the amazon client credentials. ![](https://i.imgur.com/nipkxzM.png) * Add the client id and client secret key url. ![](https://i.imgur.com/9WveWBP.png) 3- Add the fields to generate access token- ARN User Access Key, ARN User Secret Key, Country Region, Amazon email address, Salesteam, Partner. * Note : The Access Token will expire after 1 Hour ##### Refresh token- Atzr|IwEBIAeA9gSspRcTfxWQp8C53zm5IVa6Ldqn6nWKKN98xnMcFTG03do2nzryuO3AVZs5owuPkiXKCxSOjjavq8LMOMJY0wrOL-C5M_9OBMexRXTFcbnhuS_rRHUAeRDN-Fy98iXz0GMRheuRagVdpza1FqLGltG2IavKAVv9PeXQ70uTuqY476Ho5M8Ba7L5WFebHvLVPIfngmIx2dKK_XsmtlLYdZP37A7YW5oBa8Gfm3XT5_ny0rttDaTHH280fzTxtvTXBMlCboWuczkLBJfgYLfGdmP9iw3kA6ctiU4yNf3bzw ![](https://i.imgur.com/X0AYW0B.png) 4- GET the Order from Amazon. ![](https://i.imgur.com/l7EhALn.png) You can get order according to specific date or specific numbers of orders(limit) also. ![](https://i.imgur.com/Lif3MDX.png) ![](https://i.imgur.com/9IrwLt6.png) 5- The logs also created when getting orders or not in Amazon logs menu. ![](https://i.imgur.com/YyWzNzG.png) 6- Now, When Confirm the Sale order it create the pickings. But there are two cases a- Normal picking with amazon order b- Dropship picking wiht amazon order #### a- Normal picking with amazon order: 1- Send POA to amazon. ![](https://i.imgur.com/NmeoNFf.png) Tab for amazon order. ![](https://i.imgur.com/9qGEs3D.png) In normal picking the POA send to amazon after validating the 'pick' picking, and the Acknowledgement Transaction field get update. The Amazon Order End Date field filled when get the order. ![](https://i.imgur.com/n9gc9oT.png) And you can also send POA for a particular order from amazon connector module. ![](https://i.imgur.com/DrrZxgB.png) ![](https://i.imgur.com/NYBJPVC.png) 2- Send ASN to amazon. After sending POA, now send ASN to amazon. After validating 'sipped' picking. And the DS.Amazon Transaction Id field get updated. ![](https://i.imgur.com/rmUOWbh.png) We can also send ASN of particular order from amazon connector module. ![](https://i.imgur.com/hhwVqgk.png) ![](https://i.imgur.com/78uwqkZ.png) #### b- Dropship picking wiht amazon order : 1- Flow of Amazon process with metabrasil. | Meta | Odoo | Amazon | |-----------|---------------------|--------| | PO | SO | POS | | Order Included | DS Status: Waiting | | | In Production | DS Status: Ready | POA | | Produced | DS Status: Done (+Invoice) | ASN | | Shipped | <Email Template> | | | Delivered | PO Status: Locked | | * Send the POA to amazon if vendor PO status is 'In-production'. ![](https://i.imgur.com/sLpjEmI.png) ![](https://i.imgur.com/wzlsndD.png) * Send the ASN and create invoice, if vendor PO status is 'Produced'. ![](https://i.imgur.com/3uw71mR.png) ![](https://i.imgur.com/VXx7nNL.png) ### Exception for amazon order end date Generate exception before x days from security lead time if order not fully invoice till amazon order end date. *warning message* - "You have not validated the invoice and the amazon end date is nearby.This might cause delay in delivering the order to Customer.This might cause delay in delivering the order to Customer." ![](https://i.imgur.com/bvtNMNi.png) ![](https://i.imgur.com/EPLrdFc.png)