---
title: "Actualizar Complemento"
method: PUT
path: "/complements/{complementID}"
tags: ["Complementos"]
---

# Actualizar Complemento

`PUT /complements/{complementID}`

Actualización de datos de un Complemento

## Path parameters

- `complementID` string, required — ID del complemento que se desea trabajar.

## Headers

- `campusID` string, uuid, required
- `periodID` string, uuid, required — ID del periodo que se desea trabajar.

## Request body

- ComplementsPut
  - `name` string
  - `program_id` string, required
  - `amount` integer
  - `periodicity` 'weekly' | 'monthly' | 'bimonthly' | 'quarterly' | 'semiannual' | 'annual'
  - `frecuency` 'unique' | 'recurrent'
  - `pay_date` string
  - `start_date` string
  - `end_date` string
  - `external_id` string
  - `metadata` object — Campo arbitrario de datos de terceros

## Response `200`

Actualizar Complemento

- Complements
  - `id` string
  - `program_id` string
  - `name` string
  - `amount` integer
  - `frecuency` 'unique' | 'recurrent'
  - `periodicity` 'weekly' | 'monthly' | 'bimonthly' | 'quarterly' | 'semiannual' | 'annual'
  - `start_date` string
  - `end_date` string
  - `external_id` string
  - `metadata` object — Campo arbitrario de datos de terceros
  - `items` object[]
    - `pay_date` string

## Other responses

- `404` — unresolved $ref

---

[API](https://skmtc.net/mattilda-education/apis/mattilda-api.md) · [All operations](https://skmtc.net/mattilda-education/apis/mattilda-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/mattilda-education/mattilda-api/revisions/a7093ab951dc/schema)
