AlmondTill/G3N API

NewDecorationInput

input type

Create-input for a Decoration.

Fields

FieldTypeRequiredNotes
captionStringnoOptional: when omitted the per-type default applies — the merchant code when given, else 'Decoration'; when supplied it must be non-blank.
purposeString String!yesThe canned purpose key. Immutable after birth.
localeString String!yesThe content locale — canonical BCP-47 core shape (case-canonical, strict).
ordinalIntnoOptional importance position (0..1000000; lower = more important) — defaults to 0.
textString String!yesThe inline text content (1..4096 chars).
attachedToTypeAttachableType AttachableType!yesThe owning construct type (the attachable allowlist).
attachedToIdID ID!yes
codeStringno

Used by