Get one redemption type. Requires valid project API key.
Optional BCP 47 locale (e.g. de, de-AT). Translatable fields are returned in this locale, falling back per field to the base text; the fields that came from a translation are listed in localizedFields. Absent or invalid values are ignored. Accept-Language is deliberately not used (browsers send it on every request, and localization must stay opt-in so editing flows keep reading base text) and no Content-Language is sent (a response can mix localized and base text).
- Mock serverhttps://docs.pers.ninja/_mock/swagger/redemptions/types/{id}
- https://api.pers.ninja/v2https://api.pers.ninja/v2/redemptions/types/{id}
curl -i -X GET \
'https://docs.pers.ninja/_mock/swagger/redemptions/types/{id}?include=string' \
-H 'x-locale: de-AT' \
-H 'x-project-key: YOUR_API_KEY_HERE'Redemption type retrieved
Base required user fields for all redemptions of this type. Can include built-in field keys (email, firstName) or custom field definition UUIDs.
Default booking requirement config for all redemptions of this type. Individual redemptions can override.
Per-locale translations of the translatable fields, keyed by locale. Only returned with include=translations.
{ "de": { "name": "..." }, "fr": null }
Fields whose value comes from a stored translation for the request locale (x-locale); absent when none do
{ "name": "string", "description": "string", "imageUrl": "string", "baseRequiredUserFields": [], "bookingRequirement": { "type": "active", "eligibleBusinessIds": [ … ], "eligibleBusinessTypeIds": [ … ] }, "translations": { "de": { … }, "fr": null }, "id": 0, "localizedFields": [ "string" ], "availableLocales": [ "string" ] }