Endpoint
GET/inventory_stats ( use for yesterday’s stats)
GET/inventory_stats/YYYY ( use for all stats during the year YYYY )
GET/inventory_stats/YYYY/MM ( use for all stats during the month YYYY/MM )
GET/inventory_stats/YYYY/MM/DD ( use for stats for the day YYYY/MM/DD )
GET/inventory_stats/all ( use to retrieve all available stats data )
Description
Get daily inventory statistics
Output
JSON array of inventory stats:
[ {
id: <user id>,
st_date: <stats date>,
total_cost: <total item costs>,
total_qty: <total qty of items listed>,
total_price: <total price of items listed>,
line_items: <number of SKUs>,
active_skus: <number of SKUs with a non-zero quantity>,
no_cond: <number of items with no condition>,
no_price: <number of items with no price>,
num_listed_today: <number of items listed today>,
price_listed_today: <price of items listed today>,
cost_listed_today: <cost of items listed today>,
avg_cost: <average cost of inventory items>,
avg_price: <average price of inventory items>,
avg_price_listed_today: <average price of items listed today>,
avg_cost_listed_today: <average cost of items listed today>
},
...
]
Comments