---
title: "Patch fields on an in-progress checkout"
method: PATCH
path: "/update-checkout/{checkoutId}"
tags: ["Checkout"]
---

# Patch fields on an in-progress checkout

`PATCH /update-checkout/{checkoutId}`

## Request

- Base URL: `https://ps.shoppable.com`
- URL: `https://ps.shoppable.com/update-checkout/{checkoutId}`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/shoppable/apis/shoppable-checkout-api/docs/update-checkout/:checkoutId/patch.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `checkoutId` string, required

## Headers

- `Idempotency-Key` string

## Request body

- object

## Response `200`

Updated checkout

- Checkout
  - `_id` string, required
  - `state` string
  - `type` string
  - `email` string
  - `total` number
  - `coupons` object[]
  - `merchants` Merchant[]
    - `merchantId` string
    - `name` string
    - `logo` string
    - `freeShippingThreshold` number
    - `shippingCost` number
    - `minimumOrderAmount` number

## Other responses

- `401`: Session token expired or invalid
- `409`: A request with this Idempotency-Key is already in progress
- `422`: Idempotency-Key reused with different request parameters

---

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