VUZDevelopers

Get variance summary

GET
/inventory/counts/{id}/variance-summary

Get summary of variances (surpluses and shortages)

X-Api-Key<token>

Business API key, e.g. vuz_ab12cdef... Created via Settings → Integrations → API Keys. Unlike partner keys, a public API key's STRING does not encode its environment — isolation instead comes from a completely separate sandbox database: a key minted on the Sandbox server (above) only ever reads/writes sandbox data and can never see or affect production, regardless of what the key looks like.

In: header

Path Parameters

id*string

Count ID

Header Parameters

x-business-id*string

Business ID

Response Body

application/json

curl -X GET "https://example.com/inventory/counts/string/variance-summary" \  -H "x-business-id: string"
{  "totalItems": 0,  "itemsWithSurplus": 0,  "itemsWithShortage": 0,  "itemsMatching": 0,  "totalSurplusQuantity": 0,  "totalShortageQuantity": 0,  "totalSurplusValue": 0,  "totalShortageValue": 0,  "netVarianceValue": 0}