Skip to main content
GET
/
inventory
/
stats
Aggregate inventory counts
curl --request GET \
  --url https://api.autoprintfarm.com/public/v1/inventory/stats \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "data": {
    "total_items": 123,
    "total_stock": 123,
    "in_stock_count": 123,
    "low_stock_count": 123,
    "out_of_stock_count": 123,
    "needs_assembly_count": 123
  }
}

Authorizations

Authorization
string
header
required

API keys are minted in the AutoPrintFarm web app under Settings → API Keys. Send as Authorization: Bearer apf_live_.... Keys are shown exactly once at creation and can be revoked at any time.

Response

Inventory statistics

success
enum<boolean>
required
Available options:
true
data
object
required