Warehouse Types
Branch / store types (TiendaTipoTienda).
๐๏ธ Get warehouse type by ID
Returns a single warehouse type by its primary key.
๐๏ธ Update warehouse type
Full replacement of an existing warehouse type. Send the `If-Match` header for optimistic concurrency (accepted but ignored รรรถ not versioned).
๐๏ธ Delete warehouse type
Deletes a warehouse type. Send the `If-Match` header with the current ETag (accepted but ignored รรรถ not versioned).
๐๏ธ Merge-patch warehouse type
RFC 7396 merge-patch over `application/merge-patch+json`. Send only the fields you want to change; include a field with value `null` to remove it. Use the `If-Match` header for optimistic concurrency control.
๐๏ธ List warehouse types
Returns a paginated list of warehouse types with envelope `{data, totalCount, skip, limit, hasMore}`. Supports optional RSQL `filter`, `sort` (default `name:asc`), `skip`/`limit` pagination and `modifiedAfter`/`modifiedBefore` bookends.
๐๏ธ Create warehouse type
Creates a new warehouse type. Business logic runs in the legacy WAR via the internal commands gateway.
๐๏ธ Bulk delete warehouse types
Removes every id in `ids` as a single all-or-nothing transaction.
๐๏ธ Prototype warehouse type for a creation form
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.