Skip to main content

Check Warehouses Deletable

POST 

/api/warehouses/deletable

Checks whether the given warehouses can be deleted. Provide ids (array of warehouse IDs), or scope="all" to check every warehouse matching the current listing filters.

Required scope: warehouses:write

Grant this scope to your token under Settings → Developer → Personal Access Tokens.

Each result includes deletable (boolean), reason (why deletion is blocked, or null) and reason_details (linked record breakdown, or null).

Authentication: Requires Bearer token.

Request

Responses

OK

Response Headers
    Content-Type