# warehouseSize on POST /v1/batch-query is deprecated

Zuora API deprecated POST /v1/batch-query, body parameter warehouseSize without giving a shutdown date yet.

Zuora deprecated the body parameter warehouseSize on POST /v1/batch-query without a shutdown date. Zuora API announced on April 5, 2024, that it deprecated the warehouseSize field. Requests using this parameter will eventually fail once the removal takes effect.

## What to use instead

Stop sending warehouseSize and sourceData WAREHOUSE when submitting an aggregate query job.

- API: Zuora API (rest.zuora.com)
- Kind: Parameter removal
- Announced: April 5, 2024
- Takes effect: no date given yet
- Calls after that day: fail
- Calls it hits: `POST /v1/batch-query`, `body parameter warehouseSize`
- Source: [Announcement](https://developer.zuora.com/docs/get-started/changelogs/v1-api-changelog)
- Verified: November 6, 2026, against Zuora API's own pages
- Page: https://www.okapi.bot/providers/zuora-api/breaking-changes/warehousesize-on-post-v1-batch-query-is-deprecated/

## Zuora API's words

> deprecated the following field and field value: - The warehouseSize field

Okapi finds the calls this change hits in your repo and opens the pull request with the fix: https://github.com/apps/okapi-agent
