---
title: "Replace the checkout's line items."
method: PUT
path: "/ucp/v1/checkout-sessions/{id}"
tags: ["UcpCheckout"]
---

# Replace the checkout's line items.

`PUT /ucp/v1/checkout-sessions/{id}`

## Request

- Base URL: `https://api2.globalfinreg.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api2.globalfinreg.com/ucp/v1/checkout-sessions/{id}`
- Auth: API key in header `Authorization`

## Path parameters

- `id` string, required

## Headers

- `x-imp-userid` string

## Request body

- UcpCheckoutRequest
  - `lineItems` UcpLineItem[], nullable
    - `item` UcpItem
      - `id` string, nullable
    - `quantity` integer, nullable
  - `currency` string, nullable
  - `payment` UcpPayment
    - `instruments` UcpInstrument[], nullable
      - `id` string, nullable
      - `handlerId` string, nullable
      - `type` string, nullable
      - `credential` UcpCredential
        - `type` string, nullable
        - `token` string, nullable
        - `purchaseOrderNumber` string, nullable

## Response `200`

OK

---

[API](https://skmtc.dev/globalfinreg/apis/registration-agents-api-documentation.md) · [All operations](https://skmtc.dev/globalfinreg/apis/registration-agents-api-documentation/llms.txt) · [OpenAPI document](https://skmtc.dev/globalfinreg/apis/registration-agents-api-documentation/revisions/97e306fd0c82?raw)
