Prototype warehouse type for a creation form
POST/api/v2/warehouse-types/new
Returns a non-persisted warehouse type pre-populated with backend defaults (enabled=true, current company, next sequential code, empty name). Optional JSON hints: companyId, copyFromId. Call POST /api/v2/warehouse-types afterwards to persist.
Request
Responses
- 200
- 400
- 401
- 403
- 500
Warehouse type prototype with defaults
Invalid prepare-create hints
Missing or invalid JWT (Bearer token).
Authenticated user is missing the CREAR_TIENDATIPOTIENDA permission
Unexpected server error. Includes legacy WAR failures that are not classified as 502 / 503 / 504.