Skip to content

katana_public_api_client.models.custom_field_value

katana_public_api_client.models.custom_field_value

Classes

CustomFieldValue

A single custom field value in the legacy {field_name, field_value} shape used by Variant / Product / Material / Service resources. These fields are configured via the /custom_fields_collections surface and attached as an array of name/value pairs.

This is distinct from — and must not be unified with — the newer sales-order custom-fields surface, where custom_fields is a dict keyed by custom field definition id (UUID) registered through /custom_field_definitions (see CustomFieldDefinition and the custom_fields property on SalesOrder / SalesOrderRow). The two surfaces coexist intentionally; Katana has not migrated items/variants to the dict shape.

Example:
    {'field_name': 'quality_grade', 'field_value': 'A'}