> ## Documentation Index
> Fetch the complete documentation index at: https://docs.kintra.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Update a reward

> Revises a reward in place through the Portal API.

See the [Gateway API entry](/api-reference/gateway/rewards/update-a-reward) for the full description.



## OpenAPI

````yaml /openapi/kintra-app.json put /tenant/{tenantId}/rewards/{rewardId}
openapi: 3.0.0
info:
  description: >-
    Tenant portal API for the Kintra loyalty platform. Requests are
    authenticated with an Auth0 bearer token and address a tenant by id in the
    path.
  title: Kintra Portal API
  version: 1.0.0
servers:
  - description: Production environment
    url: https://api.kintra.io/api/v1
security: []
paths:
  /tenant/{tenantId}/rewards/{rewardId}:
    put:
      tags:
        - Rewards
      summary: Update a reward
      description: >-
        Revises a reward in place through the Portal API.


        See the [Gateway API
        entry](/api-reference/gateway/rewards/update-a-reward) for the full
        description.
      operationId: UpdateReward
      parameters:
        - in: path
          name: tenantId
          required: true
          schema:
            type: string
        - in: path
          name: rewardId
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/IRewardUpdateDto'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiResponse__success-boolean__'
          description: ''
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiResponse_null_'
          description: Unauthorized
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiResponse_null_'
          description: Tenant not found
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiResponse_null_'
          description: Internal server error
      security:
        - auth0_jwt: []
components:
  schemas:
    IRewardUpdateDto:
      additionalProperties: false
      properties:
        description:
          type: string
        is_active:
          description: >-
            Visibility/redeemability flag. This is the only reward field mutable
            after publish.
          type: boolean
        metadata:
          $ref: '#/components/schemas/Record_string.unknown_'
          description: >-
            Freeform reward metadata (full-replace of the jsonb on update). May
            carry a tenant-scoped

            `image_key`; any client-supplied `image_url` is rejected — the URL
            is derived on read.
        min_tier_id:
          description: >-
            Tier gate — UUID of the minimum tier, or `''`/`null` to clear (all
            tiers).
          nullable: true
          type: string
        status:
          $ref: '#/components/schemas/RewardStatus'
        title:
          type: string
        xp_cost:
          format: double
          type: number
      type: object
    ApiResponse__success-boolean__:
      additionalProperties: false
      properties:
        data:
          properties:
            success:
              type: boolean
          required:
            - success
          type: object
        errors:
          items:
            properties:
              message:
                type: string
              path:
                type: string
            required:
              - path
              - message
            type: object
          type: array
        message:
          type: string
        success:
          type: boolean
      required:
        - success
      type: object
    ApiResponse_null_:
      additionalProperties: false
      properties:
        data:
          enum:
            - null
          nullable: true
          type: number
        errors:
          items:
            properties:
              message:
                type: string
              path:
                type: string
            required:
              - path
              - message
            type: object
          type: array
        message:
          type: string
        success:
          type: boolean
      required:
        - success
      type: object
    Record_string.unknown_:
      additionalProperties: {}
      description: Construct a type with a set of properties K of type T
      properties: {}
      type: object
    RewardStatus:
      enum:
        - initialized
        - published
      type: string
  securitySchemes:
    auth0_jwt:
      bearerFormat: JWT
      description: Auth0 access token
      scheme: bearer
      type: http

````