SP-API Update Inventory Quantity using JSON_LISTINGS_FEED
Migrating from the XML feed POST_INVENTORY_AVAILABILITY_DATA to JSON_LISTINGS_FEED. I am able to create/send the feed and get a response (using operationType of PARTIAL_UPDATE)
But I don't understand two things:
1. Why on earth is the response GZIP format? Is there a way I can get just a simple JSON response??
2. Why is the "productType" required?? I have no idea what these are, nor do I wish to change them when doing a "PARTIAL_UPDATE"
Any help would be appreciated.
JSON Example:
{
"header": {
"sellerId": "AXXXXXXXXXXXX",
"version": "2.0",
"issueLocale": "en_US"
},
"messages": [
{
"messageId": 1,
"sku": "My-SKU-B",
"operationType": "PARTIAL_UPDATE",
"productType": "LUGGAGE",
"attributes": {
"fulfillment_availability": [
{
"fulfillment_channel_code": "DEFAULT",
"quantity": 10,
"lead_time_to_ship_max_days": 2
}
]
}
}
]
}
SP-API Update Inventory Quantity using JSON_LISTINGS_FEED
Migrating from the XML feed POST_INVENTORY_AVAILABILITY_DATA to JSON_LISTINGS_FEED. I am able to create/send the feed and get a response (using operationType of PARTIAL_UPDATE)
But I don't understand two things:
1. Why on earth is the response GZIP format? Is there a way I can get just a simple JSON response??
2. Why is the "productType" required?? I have no idea what these are, nor do I wish to change them when doing a "PARTIAL_UPDATE"
Any help would be appreciated.
JSON Example:
{
"header": {
"sellerId": "AXXXXXXXXXXXX",
"version": "2.0",
"issueLocale": "en_US"
},
"messages": [
{
"messageId": 1,
"sku": "My-SKU-B",
"operationType": "PARTIAL_UPDATE",
"productType": "LUGGAGE",
"attributes": {
"fulfillment_availability": [
{
"fulfillment_channel_code": "DEFAULT",
"quantity": 10,
"lead_time_to_ship_max_days": 2
}
]
}
}
]
}
1 Antwort
Manny_Amazon
Hello @Seller_ccr8r4YC587GA,
For API issues I recommend that you contact Amazon Selling Partner Developer Support for assistance.
Regards,
- Manny