# AffiliateCodeInput

input type

One referral code — normalized (trim + UPPERCASE) server-side; ≤ 64 chars pre-normalization; the strict post-normalization grammar refuses non-printable/spaced codes.

## Fields

| Field | Type | Required | Notes |
| --- | --- | --- | --- |
| `code` | [String](/types/#scalars) `String!` | yes | No further notes. |
| `couponId` | [ID](/types/#scalars) | no | No further notes. |
