# Create redemption type (Admin)

Create a new redemption type for system configuration. Replaces POST /redemption/admin/type

Endpoint: POST /redemptions/types
Version: 2.0.62
Security: authJWT

## Security:

  - `authJWT` (unknown)
    http bearer JWT

## Request fields (application/json):

  - `name` (string, required)
    Redemption type name

  - `description` (string)
    Redemption type description

  - `imageUrl` (string)
    Redemption type image url

  - `baseRequiredUserFields` (array)
    Base required user fields for all redemptions of this type. Can include built-in field keys (email, firstName) or custom field definition UUIDs.

  - `bookingRequirement` (object)
    Default booking requirement config for all redemptions of this type. Individual redemptions can override.

  - `bookingRequirement.type` (string, required)
    Type of booking required for eligibility.
    Enum: "active", "future", "past", "active_future", "any"

  - `bookingRequirement.eligibleBusinessIds` (array)
    Specific business IDs where booking must be. `null` = any business allowed, `[]` = no businesses allowed (blocks all). Combined with eligibleBusinessTypeIds via OR.

  - `bookingRequirement.eligibleBusinessTypeIds` (array)
    Business type IDs where booking must be. `null` = any type allowed, `[]` = no types allowed (blocks all). Combined with eligibleBusinessIds via OR.

  - `translations` (object)
    Per-locale translations keyed by locale (e.g. "de", "ar-sa"). Translatable fields: name, description.
    Example: {"de":{"name":"..."},"fr":null}

## Response 200:

  - `200` (unknown)
    Redemption type created successfully

## Response 200 fields (application/json):

  - `name` (string, required)
    Redemption type name

  - `description` (string)
    Redemption type description

  - `imageUrl` (string)
    Redemption type image url

  - `baseRequiredUserFields` (array)
    Base required user fields for all redemptions of this type. Can include built-in field keys (email, firstName) or custom field definition UUIDs.

  - `bookingRequirement` (object)
    Default booking requirement config for all redemptions of this type. Individual redemptions can override.

  - `bookingRequirement.type` (string, required)
    Type of booking required for eligibility.
    Enum: "active", "future", "past", "active_future", "any"

  - `bookingRequirement.eligibleBusinessIds` (array)
    Specific business IDs where booking must be. `null` = any business allowed, `[]` = no businesses allowed (blocks all). Combined with eligibleBusinessTypeIds via OR.

  - `bookingRequirement.eligibleBusinessTypeIds` (array)
    Business type IDs where booking must be. `null` = any type allowed, `[]` = no types allowed (blocks all). Combined with eligibleBusinessIds via OR.

  - `translations` (object)
    Per-locale translations of the translatable fields, keyed by locale. Only returned with include=translations.
    Example: {"de":{"name":"..."},"fr":null}

  - `id` (number, required)
    Redemption type id

  - `localizedFields` (array)
    Fields whose value comes from a stored translation for the request locale (x-locale); absent when none do

  - `availableLocales` (array)
    Locales this entity has stored translations for, independent of the request locale; absent when none

## Response 201 fields (application/json):

  - `name` (string, required)
    Redemption type name

  - `description` (string)
    Redemption type description

  - `imageUrl` (string)
    Redemption type image url

  - `baseRequiredUserFields` (array)
    Base required user fields for all redemptions of this type. Can include built-in field keys (email, firstName) or custom field definition UUIDs.

  - `bookingRequirement` (object)
    Default booking requirement config for all redemptions of this type. Individual redemptions can override.

  - `bookingRequirement.type` (string, required)
    Type of booking required for eligibility.
    Enum: "active", "future", "past", "active_future", "any"

  - `bookingRequirement.eligibleBusinessIds` (array)
    Specific business IDs where booking must be. `null` = any business allowed, `[]` = no businesses allowed (blocks all). Combined with eligibleBusinessTypeIds via OR.

  - `bookingRequirement.eligibleBusinessTypeIds` (array)
    Business type IDs where booking must be. `null` = any type allowed, `[]` = no types allowed (blocks all). Combined with eligibleBusinessIds via OR.

  - `translations` (object)
    Per-locale translations of the translatable fields, keyed by locale. Only returned with include=translations.
    Example: {"de":{"name":"..."},"fr":null}

  - `id` (number, required)
    Redemption type id

  - `localizedFields` (array)
    Fields whose value comes from a stored translation for the request locale (x-locale); absent when none do

  - `availableLocales` (array)
    Locales this entity has stored translations for, independent of the request locale; absent when none

