Item Types
Item classification and ledger mappings (TipoArticulo)
ποΈ Get item type by ID
Returns the item type including associatedAccounts. The response carries a strong `ETag` header (always `'0'` ΓΓΓΆ TipoArticulo is not versioned).
ποΈ Update item type
Full replacement. On update, null associatedAccounts leaves existing children untouched; [] clears; non-empty list replaces.
ποΈ Delete item type
Deletes the item type. If-Match is accepted but ignored (TipoArticulo is not versioned).
ποΈ Merge-patch item 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 item types
Paginated list with optional RSQL filter and sort (default lastModifiedAt:desc). Child collections are omitted; use GET /{id} for associatedAccounts.
ποΈ Create item type
Persists via the internal commands gateway. associatedAccounts: null leaves empty; [] clears; list replaces.
ποΈ Prototype an item type for a creation form
Non-persisted defaults: current company, enabled=true. Optional JSON hints: companyId, itemCategory, copyFromId.