---
title: "updateCommonCheckoutSetting"
method: PUT
path: "/core/api/v1/common-checkout-setting/{id}"
tags: ["common-checkout-setting-controller"]
---

# updateCommonCheckoutSetting

`PUT /core/api/v1/common-checkout-setting/{id}`

## Request

- Base URL: `https://api.freshlearn.com`
- URL: `https://api.freshlearn.com/core/api/v1/common-checkout-setting/{id}`
- Auth: none declared

## Path parameters

- `id` integer, required

## Headers

- `Authorization` string
- `domain` string
- `api-key` string

## Request body

- CommonCheckoutSettingDTO
  - `allowCouponCode` boolean
  - `collectAddress` boolean
  - `collectAddressRequired` boolean
  - `collectAgreeToTerms` boolean
  - `collectAgreeToTermsRequired` boolean
  - `collectDateOfBirth` boolean
  - `collectLicenseNumber` boolean
  - `collectLicenseNumberRequired` boolean
  - `collectPhoneNumber` boolean
  - `collectPhoneNumberRequired` boolean
  - `confirmPageSetting` object
  - `dateOfBirthRequired` boolean
  - `domainId` integer
  - `headerSetting` object
  - `id` integer
  - `imageUrl` string
  - `lastNameRequired` boolean
  - `privacy` string
  - `sendAsGift` boolean
  - `showHeader` boolean
  - `termsAndConditions` string

## Response `200`

OK

## Other responses

- `201`: Created
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found

---

[API](https://skmtc.dev/freshlearn/apis/freshlearn-api.md) · [All operations](https://skmtc.dev/freshlearn/apis/freshlearn-api/llms.txt) · [OpenAPI document](https://skmtc.dev/freshlearn/apis/freshlearn-api/revisions/8a82ee14b586?raw)
