---
title: "Update the value of a Product Custom Field."
method: PUT
path: "/products/{id}/fields/{field_id}.json"
tags: ["Product Custom Fields"]
---

# Update the value of a Product Custom Field.

`PUT /products/{id}/fields/{field_id}.json`

## Request

- Base URL: `https://api.jumpseller.com/v1`
- URL: `https://api.jumpseller.com/v1/products/{id}/fields/{field_id}.json`
- Auth: one of:
  - HTTP basic
  - API key in query parameter `login` and API key in query parameter `authtoken`
  - OAuth 2
    - Authorization code: `https://accounts.jumpseller.com/oauth/authorize`
    - Token URL: `https://accounts.jumpseller.com/oauth/token` scopes: `write_products`

## Path parameters

- `id` integer, required
- `field_id` integer, required

## Request body

- UpdateProductCustomField
  - `field` UpdateProductCustomFieldFields, required
    - `value` string, required: The value for the ProductCustomField

## Response `200`

OK

- ProductCustomField
  - `field` ProductCustomFieldFields
    - `id` integer: Unique identifier of the ProductCustomField value
    - `custom_field_id` integer: Unique identifier of the ProductCustomField
    - `type` string: The type of the ProductCustomField
    - `label` string: The label for the ProductCustomField
    - `value` string: The value for the ProductCustomField
    - `value_id` integer, nullable: Id of the selected option. Only for custom fields of type selection
    - `variant_id` integer, nullable: Unique identifier of the Product Variant
    - `google_attribute_id` string, nullable: Google attribute mapped to the Custom Field

## Other responses

- `400`: No value provided.
- `404`: Product or Custom Field Value Not Found.

---

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