Amazon SP API Get Products Automatically
Version | Date | Created / Updated | Notes |
---|---|---|---|
v1.0 | 01.05.2025 | Bogomil | First publish |
Please note the Automatic product download extends Amazon SP API Get Products
Get Product Automatically
We also want to have an automatic way of updating products and creating new ones in MCP, and we want to be able to check for product updates on a regular basis. There will be slightly changes in the logic from the manual product download as we want to use the same calls but apply different parameters.
Get Products General Requirements
Get Listings
In order to obtain the whole product data we have to first call all ASINS from the seller account and then call each ASIN separately to obtain the rest of the details. We want to store only the complete product data in Hemi.
API Call: [https://sellingpartnerapi-na.amazon.com/listings/2021-08-01/items/](https://sellingpartnerapi-na.amazon.com/listings/2021-08-01/items/A1MB0QC1GB5DLQ){sellerId}
Seller Id should be obtained for each channel Channel Amazon - Merchant ID
Query Params:
marketplaceIds
-Based on the Amazon Country we want to use the correct Amazon Marketplace Id
includedData
- Hardcoded like “summaries,attributes,issues,offers,fulfillmentAvailability,procurement,relationships,productTypes”
pageSize
- Hardcoded as “20”
lastUpdatedAfter
- We want to use the last_date_run table and get the date of the last cron run with 30 minutes overlap. If there is no record in last date run the cron should look for all products. Example date format - “2025-04-17T15:38:59.483Z”
sortOrder
- Hardcoded as “DESC”
sortBy
- Hardcoded as “lastUpdatedDate”
Mappings are the same as Amazon SP API Get Products
Get Catalog
Get Catalog will allow us to obtain the rest of the product information like attributes, images, etc and we want to use the Amazon taxonomy in order the map the correct values and store the correct attribute names. Thus after we have obtained all the seller SKUs and ASINs we want to call each ASIN individually in order to obtain the whole listing details and store them in Hemi.
API Call: `https://sellingpartnerapi-na.amazon.com/catalog/2020-12-01/items/{asin}`
API Docs: https://developer-docs.amazon.com/sp-api/docs/catalog-items-api-v2020-12-01-reference#getcatalogitem
Query Params:
marketplaceIds
-Based on the Amazon Country we want to use the correct Amazon Marketplace Id
includedData
- Hardcoded like “attributes,identifiers,images,productTypes,salesRanks,summaries,variations”
Mappings are the same as Amazon SP API Get Products
Please note get products automatically should create, update and fill product data in MCP.
Please note we need to be careful with the limits if we have a case where a manual and automatic product import are working!