Skip to content
Select language:English

/api/v1/reports/inventory

POST
/api/v1/reports/inventory
curl --request POST \
--url https://example.com/api/v1/reports/inventory \
--header 'Content-Type: application/json' \
--data '{ "scope": { "locationId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0" }, "filters": { "placeIds": [ "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0" ], "typeIds": [ "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0" ], "tagIds": [ "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0" ], "thingIds": [ "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0" ], "includeEnded": true, "includeTrashed": true }, "include": { "photos": true, "qr": true, "money": true }, "locale": "ar", "digits": "western", "region": "419", "email": true }'
Media typeapplication/json
object
scope
required
Any of:
object
locationId
required
string format: uuid
/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/
filters
object
placeIds
Array<string>
<= 100 items
typeIds
Array<string>
<= 100 items
tagIds
Array<string>
<= 100 items
thingIds
Array<string>
<= 2000 items
includeEnded
boolean
includeTrashed
boolean
include
object
photos
boolean
qr
boolean
money
boolean
locale
string
Allowed values: ar de en es fr it uk vi zh
digits
string
Allowed values: western eastern
region
Any of:
string
Allowed values: 419 AE AR AT AU BE BG BH BO BR CA CH CL CN CO CR CU CY CZ DE DK DO DZ EC EE EG ES FI FR GB GR GT HK HN HR HU ID IE IL IN IQ IS IT JO JP KE KR KW LB LT LU LV LY MA MT MX MY NG NI NL NO NZ OM PA PE PH PK PL PR PS PT PY QA RO RS SA SE SG SI SK SV SY TH TN TR TW UA US UY VE VN YE ZA
email
boolean

Default Response

Media typeapplication/json
object
id
required
string format: uuid
/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/
status
required
string
Allowed values: queued
expiresAt
required
string
Example
{
"status": "queued"
}