Update a product customisation field

Updates an existing product customisation field.

put/products/{product_id}/customization-fields/{id}

Request

  • Base URL
    https://api.ecommerceapi.uk/v1
  • URL
    https://api.ecommerceapi.uk/v1/products/{product_id}/customization-fields/{id}
  • Auth
    HTTP basic

Path parameters

product_idinteger required

ID of the product which the customisation field is assigned to.

idinteger required

ID of the product customisation field to update.

Request body

labelstring

The updated field label.

type1 | 2

The updated type of the customisation field.

max_lengthinteger

The updated maximum allowed length for the customisation field. Defaults to 0 (no limit).

Response

Product customisation field updated successfully.

idinteger

Unique identifier for the customisation field.

labelstring

The label of the customisation field.

type1 | 2

The type of the customisation field (1 for text input, 2 for text area).

max_lengthinteger

The maximum allowed length for the customisation field. Defaults to 0 (no limit).

Changes

No recorded changes to this operation across all 1 revision of this API.