---
title: "Duyệt đơn hàng đăng ký khóa học"
method: PUT
path: "/academy/{enrollmentId}"
tags: ["Academy"]
---

# Duyệt đơn hàng đăng ký khóa học

`PUT /academy/{enrollmentId}`

## Path parameters

- `enrollmentId` integer, required

## Request body

- FireAntApiModelsAcademyEnrollmentChangeRequest — Yêu cầu đăng ký khóa học
  - `userName` string — Tên đăng nhập
  - `courseId` integer — ID khóa học
  - `email` string — Email
  - `name` string — Họ và tên
  - `phone` string — Điện thoại
  - `address` string — Địa chỉ
  - `paymentMethod` 0 | 1 | 2 | 3 | 4 | 5 | 6 — Phương thức thanh toán (0 = None, 1 = BankTransfer, 2 = Cash, 3 = Card, 4 = ScratchCard, 5 = Internet, 6 = Mobile)
  - `note` string — Ghi chú

## Response `200`

Thành công

- FireAntApiModelsAcademyEnrollment
  - `enrollmentId` integer
  - `enrollmentDate` string, date-time
  - `email` string
  - `userName` string
  - `name` string
  - `phone` string
  - `courseId` integer
  - `courseName` string
  - `courseFee` number, double
  - `address` string
  - `note` string
  - `isPaid` boolean
  - `paymentMethod` 0 | 1 | 2 | 3 | 4 | 5 | 6 — (0 = None, 1 = BankTransfer, 2 = Cash, 3 = Card, 4 = ScratchCard, 5 = Internet, 6 = Mobile)

## Other responses

- `400` — Có lỗi khi thực hiện thao tác

---

[API](https://skmtc.dev/fireant/apis/fireant-restful-api.md) · [All operations](https://skmtc.dev/fireant/apis/fireant-restful-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/fireant/fireant-restful-api/revisions/12bfdf99ab50/schema)
