---
title: "Update a Redemption Key by Code"
method: PATCH
path: "/redemption-keys-by-code/{client_id}/{code}/"
---

# Update a Redemption Key by Code

`PATCH /redemption-keys-by-code/{client_id}/{code}/`

This endpoint can be used by a backend integrator to patch the redemption key resource, or used to redeem a code using a user level access token.

## Path parameters

- `client_id` string, required
- `code` string, required

## Request body

- object
  - `status` string — valid values are "active", "inactive", "redeemed"

## Response `200`

200

- object
  - `id` string
  - `client_id` string
  - `name` string
  - `description` string
  - `code` string
  - `status` string
  - `created_at` string
  - `redeemed_at` string
  - `redeemed_by` string

---

[API](https://skmtc.net/livelike/apis/engagement-suite.md) · [All operations](https://skmtc.net/livelike/apis/engagement-suite/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/livelike/engagement-suite/revisions/f3171d1c30f7/schema)
