AlmondTill/G3N API

NewSalePriceInput

input type

Create-input for a SalePrice. The tenant (org group) is derived SERVER-SIDE from the principal; inventoryItemId (rides the header) is tenant-scoped server-side and must be NON-doomed; startAt is optional (absent = effective NOW, server-stamped; explicit values must be >= the server now — no past starts) and must precede endAt; the price currency must match the schedule fixed currency (the first record fixes it).

Fields

FieldTypeRequiredNotes
captionStringnoOptional: when omitted the per-type default applies — the window coordinate <currency> <amount> from <startAt>; when supplied it must be non-blank.
inventoryItemIdID ID!yesThe InventoryItem id.
startAtStringnoThe window start (INCLUSIVE; UTC ISO-8601). Optional — absent = effective NOW (server-stamped); explicit values must be >= the server now.
endAtString String!yesThe window end (EXCLUSIVE; UTC ISO-8601). ALWAYS required; must be strictly after startAt.
priceMoneyEntryInput MoneyEntryInput!yesThe selling price — the currency must match the schedule fixed currency.

Used by