AlmondTill/G3N API

OrderEmployee

object type

The employee-discount attach. The position-5 evaluation converts it to source=employee LINE entries (the LAST pre-tax reduction); the percent is caller-supplied v1 under the LIVE discount.apply authority gate. EVERY orderType may carry it (the coupon posture); the User re-validates FRESH at PLACE.

Fields

FieldTypeNotes
userIdID ID!The verified employee User.
percentPpmInt Int!The discount percent in integer ppm ((0, 1000000] — the SaleDiscount grammar; 20% = 200000).