fetch_code_stats
Count the codes of a sweepstakes: total, assigned, unassigned, redeemed, voided and available. Read-only and cheap — call this before fetch_codes when the user asks "how many codes do I have left", instead of paging through the list. Read-only and NOT gated by the Codes & Coupons module: only the writes of this category document a module-not-enabled 403. If this call returns 403, look for another cause before telling the user the module is off.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sweepstakes_token | Yes | The sweepstakes token (UUID v4) of a sweepstakes of your account |