---
title: "UCP: replace the line item"
method: PUT
path: "/agent/commerce/ucp/checkout-sessions/{id}"
---

# UCP: replace the line item

`PUT /agent/commerce/ucp/checkout-sessions/{id}`

## Request

- Base URL: `https://ace-bl.tech`
- URL: `https://ace-bl.tech/agent/commerce/ucp/checkout-sessions/{id}`
- Auth: none declared

## Path parameters

- `id` string, required

## Request body

- object

## Response `200`

Checkout session

- object

---

[API](https://skmtc.dev/ace-bl/apis/ace-agent-api.md) · [All operations](https://skmtc.dev/ace-bl/apis/ace-agent-api/llms.txt) · [OpenAPI document](https://skmtc.dev/ace-bl/apis/ace-agent-api/revisions/538eebaf1bbd?raw)
