Skip to content
SoulFire LogoSoulFire

Count inventory items

POST
/v1/inventory:count

Authorization

headerAuthorizationBearer <JWT>

Preferred API authentication. Use a JWT with the api audience.

Request Body

application/json
  1. body
scope?
selector?
areas?array<>

Response Body

Successful response.

application/json
  1. response
count?string
Match^-?(0|[1-9][0-9]*)$
Example Request
curl -X POST 'http://127.0.0.1:38765/v1/inventory:count' \
  -H 'Content-Type: application/json' \
  -d '{
  "areas": []
}'
Example Response
{
  "count": "string"
}

Was this page helpful?