---
title: "Put Cost Item"
method: PUT
path: "/platform/cost-items/{item_id}"
tags: ["platform"]
---

# Put Cost Item

`PUT /platform/cost-items/{item_id}`

## Request

- Base URL: `https://api-docs.session-exchange.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api-docs.session-exchange.com/platform/cost-items/{item_id}`
- Auth: none declared

Create an item, or change one from a month on (global admin). Body: the item, plus optional
`from` (YYYY-MM, default the current Berlin month, never earlier: 422 `from_in_past`) — the first
month the new figures apply; earlier months keep the old ones. The one way to change a past
month is an explicit correction: `correction: true` + `reason` (recorded on the event). A `credential` link must name a fleet credential that
carries a cost (422 `unknown_credential`). 201 on create, 200 on change.

## Path parameters

- `item_id` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/session-exchange/apis/a4sx.md) · [All operations](https://skmtc.dev/session-exchange/apis/a4sx/llms.txt) · [OpenAPI document](https://skmtc.dev/session-exchange/apis/a4sx/revisions/abaefc33dfc7?raw)
