AlmondTill/G3N API

EditCategoryInput

input type

Edit-input for a Category. Every field optional, at least ONE required; supplied fields REPLACE, omitted fields are preserved. Restructure is exactly this edit: a supplied treeParent is tenant-scoped server-side, must be ACTIVE, and the merged record is walk-validated (a cycle or a chain deeper than 64 is VALIDATION/INVALID naming the offender); the pointers stay mutually exclusive on the MERGED record — re-pointing a division-carrying root under a parent requires clearing the pointer in the SAME edit (never auto-cleared).

Fields

FieldTypeRequiredNotes
captionStringnoNo further notes.
codeStringnoNo further notes.
treeParentIDnoNo further notes.
merchandiseDivisionIdIDnoNo further notes.

Used by