CouponBatchCodeFace
object type
One batch child code's face — the code + its single-use story. Codes are distribution artifacts (listable), not secrets.
Fields
| Field | Type | Notes |
|---|---|---|
id | ID ID! | No further notes. |
code | String String! | The generated code (<prefix>-<tail>) — present a child code exactly like a parent code (applyOrderCoupon resolves both). |
status | String String! | unredeemed · redeemed (single-use spent — attach refuses) · clawed_back (a cancelled order reversed the use — redeemable again). |
redeemedAt | String | Stamped at PLACE with the redeeming order; absent while unredeemed. |
orderId | ID | No further notes. |