---
title: "Update User Enrollment Operation"
method: POST
path: "/userEnrollments/{enrollmentId}/operations"
---

# Update User Enrollment Operation

`POST /userEnrollments/{enrollmentId}/operations`

Update User Enrollment Operation

## Path parameters

- `enrollmentId` string, required

## Request body

- object
  - `merchantId` string, required — MerchantID in Kalixa system
  - `clientSystemUserEnrollmentId` string, required — UserEnrollmentID in the client system
  - `type` string, required — Type of the operation that should be executed on Enrollment. Eg. MoveToEnrolled or MoveToEnrollmentFailed
  - `userId` string, required — External User ID
  - `details` object — Additional details for the User Enrollment

## Response `200`

Successful operation

- object
  - `id` string — The server generated ID of the user Enrollment
  - `state` string — Name of the last state

## Other responses

- `400` — Invalid data supplied

---

[API](https://skmtc.net/kalixa/apis/payment-service-v3.md) · [All operations](https://skmtc.net/kalixa/apis/payment-service-v3/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/kalixa/payment-service-v3/revisions/0efbe1f72b35/schema)
