Parameters
JSON body
Request body
application/jsonproductCodestringRequiredProduct code to add the custom field to.
Example
my-productkeystringRequiredCustom field key (unique per product).
Length: 1–32
Example
materialvaluestringOptionalCustom field value.
Example
cottonactivebooleanOptionalWhether the field is active. Defaults to false.