---
title: "Edit customfield"
method: PUT
path: "/customfields/{endpoint}/{attribute}"
tags: ["CustomFields"]
---

# Edit customfield

`PUT /customfields/{endpoint}/{attribute}`

## Request

- Base URL: `https://api.c1st.com/api`
- URL: `https://api.c1st.com/api/customfields/{endpoint}/{attribute}`
- Auth: HTTP bearer

## Path parameters

- `endpoint` string, required
- `attribute` string, required

## Request body

- CustomFieldRequest
  - `content` CustomField
    - `title` string: The title of the CustomField
    - `endpoint` string: The endpoint of the CustomField
    - `attribute` string: Which CustomField it maps to
    - `required` boolean: Whether or not a customfield is required
    - `activated` boolean: Whether or not a customfield is activated
    - `show_on_variant` boolean: Wheter or not the customfield shows up on variant create/edit UI

## Response `200`

Ok

- CustomFieldResponse
  - `content` CustomField
    - `title` string: The title of the CustomField
    - `endpoint` string: The endpoint of the CustomField
    - `attribute` string: Which CustomField it maps to
    - `required` boolean: Whether or not a customfield is required
    - `activated` boolean: Whether or not a customfield is activated
    - `show_on_variant` boolean: Wheter or not the customfield shows up on variant create/edit UI

## Other responses

- `4XX`: Not found

---

[API](https://skmtc.dev/c1st/apis/customers-1st-api.md) - [All operations](https://skmtc.dev/c1st/apis/customers-1st-api/llms.txt) - [OpenAPI document](https://skmtc.dev/c1st/apis/customers-1st-api/revisions/4250bb326f2a?raw)
