rpt_get_afn_inventory_data
Seller reports (SP-API) · GET_AFN_INVENTORY_DATA · Every 6 hours, on the hour (marketplace local time)
How fresh is it?
Several times a day
Every 6 hours, on the hour (marketplace local time)
| Family | Seller reports (SP-API) |
|---|---|
| Report type | GET_AFN_INVENTORY_DATA |
| Grain | account |
| Sync | snapshot |
| Business date | snapshot_date |
Columns (10)
| Column | Type | Key |
|---|---|---|
id | INTEGER | |
store_id | VARCHAR(36) | 🔑 key |
snapshot_date | DATE | 🔑 key |
seller_sku | VARCHAR(200) | |
fnsku | VARCHAR(200) | 🔑 key |
asin | VARCHAR(20) | |
condition_type | VARCHAR(50) | 🔑 key |
warehouse_condition_code | VARCHAR(50) | 🔑 key |
quantity_available | INTEGER | |
extra | JSON |
Query it
In an AI client (MCP)
{
"name": "query_report_data",
"arguments": {
"store": "myStore-US",
"tables": [
"rpt_get_afn_inventory_data"
],
"columns": [
"rpt_get_afn_inventory_data.snapshot_date",
"rpt_get_afn_inventory_data.fnsku",
"rpt_get_afn_inventory_data.condition_type",
"rpt_get_afn_inventory_data.warehouse_condition_code"
],
"order_by": [
{
"column": "rpt_get_afn_inventory_data.snapshot_date",
"dir": "desc"
}
],
"limit": 100
}
}From code (Tool API)
curl -X POST https://api.sellersheetai.com/api/v1/tools/query_report_data \
-H "Authorization: Bearer $SELLERSHEET_API_KEY" \
-H "Content-Type: application/json" \
-d '{"store":"myStore-US","tables":["rpt_get_afn_inventory_data"],"columns":["rpt_get_afn_inventory_data.snapshot_date","rpt_get_afn_inventory_data.fnsku","rpt_get_afn_inventory_data.condition_type","rpt_get_afn_inventory_data.warehouse_condition_code"],"order_by":[{"column":"rpt_get_afn_inventory_data.snapshot_date","dir":"desc"}],"limit":100}'Early access — the Tool API is open on request, contact us.