---
title: "PUT /orders/accounts/{id}"
method: PUT
path: "/orders/accounts/{id}"
---

# PUT /orders/accounts/{id}

`PUT /orders/accounts/{id}`

## Request

- Base URL: `https://www.rcac.purdue.edu/api`
- URL: `https://www.rcac.purdue.edu/api/orders/accounts/{id}`
- Auth: none declared
- TypeScript: <https://skmtc.dev/purdue/apis/rcac-api/docs/orders/accounts/:id/put.ts> (a function with typed inputs; its response is checked against the schema)

Update an entry

## Request body `*/*`

- object
  - `amount` string: Amount, formatted or not
  - `purchasefund` string: Purchase fund
  - `purchasecostcenter` string: Purchase cost center
  - `purchaseorder` string: Purchase order
  - `purchaseio` string: Purchase IO
  - `purchasewbse` string: Purchase WBSE
  - `budgetjustification` string: Budget justification
  - `approveruserid` integer: Approver user ID
  - `approved` boolean: Has the payment been approved?
  - `paid` boolean: Has the payment been paid?
  - `denied` boolean: Has the payment been denied?
  - `reset` boolean: Reset paid/denied status?
  - `datetimepaymentdoc` string: Timestamp for the payment doc
  - `paymentdocid` boolean: Payment doc ID
  - `notice` integer: Notice state
  - `deniedreason` string: Denied reason

## Response `202`

Successful entry modification

## Other responses

- `404`: Record not found
- `409`: Invalid data

---

[API](https://skmtc.dev/purdue/apis/rcac-api.md) - [All operations](https://skmtc.dev/purdue/apis/rcac-api/llms.txt) - [OpenAPI document](https://skmtc.dev/purdue/apis/rcac-api/revisions/b6b910de69b0?raw)
