Amazon SP API Get Products Update
Version | Date | Created / Updated | Notes |
---|---|---|---|
v1.0 | 02.06.2025 | Bogomil | First publish |
v1.1 | 09.06.2025 | Bogomil | Add logic to avoid loop and update Product status Product published |
We want to add additional cron for obtaining the product type from Amazon as these details are mandatory for our stock and price flow. We want this to be as an extra layer of scraping info from Amazon on top of the Get Products and Get Products Automatically.
We want to call all listings which does NOT have (Listing > Primary Category Id
or Listing > Channel Item ID
)and Listing > Product Status
= Awaiting Creation
<v1.1>
If the listing does NOT exist on Amazon we want to set Listing > Product Status
= Product Not Created
If the listing exist on Amazon we want to set Listing > Product Status
= Product Published
</v1.1>
Get Catalog
API DOC: https://developer-docs.amazon.com/sp-api/reference/searchlistingsitems
API Docs:
Query Params:
marketplaceIds
-Based on the Amazon Country we want to use the correct Amazon Marketplace Id
identifiers
- We want to add up to 20 SKUs
identifiersType
- Hardcoded like “SKU”
pageSize
- Hardcoded like “20”
Sample Request:
Sample Response:
{
"numberOfResults": 6,
"items": [
{
"sku": "AE-M-319F-5XBIG",
"summaries": [
{
"marketplaceId": "ATVPDKIKX0DER",
"asin": "B0DYF8X9RZ",
"productType": "PANTS",
"conditionType": "new_new",
"status": [],
"fnSku": "X004PF1ROF",
"itemName": "Ultra Performance UP Mens 3PK LT. Weight PJ Joggers",
"createdDate": "2025-05-30T21:45:05.195Z",
"lastUpdatedDate": "2025-05-30T21:51:37.173Z"
}
]
},
{
"sku": "AE-M-319F-4XBIG",
"summaries": [
{
"marketplaceId": "ATVPDKIKX0DER",
"asin": "B0DYF8VT7M",
"productType": "PANTS",
"conditionType": "new_new",
"status": [],
"fnSku": "X004PF875H",
"itemName": "Ultra Performance UP Mens 3PK LT. Weight PJ Joggers",
"createdDate": "2025-05-30T21:44:12.309Z",
"lastUpdatedDate": "2025-05-30T21:51:37.141Z"
}
]
},
{
"sku": "AE-M-319F-3XBIG",
"summaries": [
{
"marketplaceId": "ATVPDKIKX0DER",
"asin": "B0DYF9NT45",
"productType": "PANTS",
"conditionType": "new_new",
"status": [],
"fnSku": "X004PF8707",
"itemName": "Ultra Performance UP Mens 3PK LT. Weight PJ Joggers",
"createdDate": "2025-05-30T21:43:22.710Z",
"lastUpdatedDate": "2025-05-30T21:51:36.319Z"
}
]
},
{
"sku": "AEM-319F-4XBIG",
"summaries": [
{
"marketplaceId": "ATVPDKIKX0DER",
"asin": "B0DYF8VT7M",
"productType": "PANTS",
"conditionType": "new_new",
"status": [],
"fnSku": "X004L4LQGT",
"itemName": "Ultra Performance UP Mens 3PK LT. Weight PJ Joggers",
"createdDate": "2025-02-25T15:39:59.586Z",
"lastUpdatedDate": "2025-04-28T19:55:39.703Z"
}
]
},
{
"sku": "AEM-319F-5XBIG",
"summaries": [
{
"marketplaceId": "ATVPDKIKX0DER",
"asin": "B0DYF8X9RZ",
"productType": "PANTS",
"conditionType": "new_new",
"status": [],
"fnSku": "X004L4KUMZ",
"itemName": "Ultra Performance UP Mens 3PK LT. Weight PJ Joggers",
"createdDate": "2025-02-25T15:31:27.104Z",
"lastUpdatedDate": "2025-03-11T14:52:43.638Z"
}
]
},
{
"sku": "AEM-319F-3XBIG",
"summaries": [
{
"marketplaceId": "ATVPDKIKX0DER",
"asin": "B0DYF9NT45",
"productType": "PANTS",
"conditionType": "new_new",
"status": [],
"fnSku": "X004L4O157",
"itemName": "Ultra Performance UP Mens 3PK LT. Weight PJ Joggers",
"createdDate": "2025-02-25T15:31:19.609Z",
"lastUpdatedDate": "2025-03-10T22:32:12.435Z"
}
]
}
]
}
Response Mapping:
Amazon FIeld | Hemi FIeld | Comment | |
---|---|---|---|
sku |
|||
summaries |
|||
marketplaceId |
N/A | ||
productType |
Listing > Primary Category Id | ||
asin |
Listing > Channel Item Id | ||
conditionType |
N/A | ||
fnSku |
N/A | ||
status |
N/A | ||
itemName |
N/A | ||
createdDate |
N/A | ||
lastUpdatedDate |
N/A |
<v1.1>Part of the update we want to also set Listing > Product status
= Product published if we receive the SKU.</v1.1>
Please note we need to be careful with the limits if we have a case where a manual and automatic product import are working! Thus we are adding a priority as follows
Product Automatic
Product Manual
Product Update
Which means if we have Product Automatic running the other two are waiting and so on.