AlmondTill/G3N API

CouponBatchCodeFace

object type

One batch child code's face — the code + its single-use story. Codes are distribution artifacts (listable), not secrets.

Fields

FieldTypeNotes
idID ID!No further notes.
codeString String!The generated code (<prefix>-<tail>) — present a child code exactly like a parent code (applyOrderCoupon resolves both).
statusString String!unredeemed · redeemed (single-use spent — attach refuses) · clawed_back (a cancelled order reversed the use — redeemable again).
redeemedAtStringStamped at PLACE with the redeeming order; absent while unredeemed.
orderIdIDNo further notes.