Sign in

Batch retrieve inventory counts

documented

Returns current counts for provided catalog objects at locations.

POST /v2/inventory/counts/batch-retrieveInventoryno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://connect.squareup.com/v2/inventory/counts/batch-retrieve" \
  -X POST \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "Square-Version: 2026-01-22" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{"catalog_object_ids": ["{{$catalog_object_id}}"], "location_ids": ["{{$location_id}}"], "updated_after": "{{$updated_after}}", "cursor": "{{$cursor}}", "limit": {{$limit}}, "states": ["{{$state}}"]}'