Upsert a custom-field value
Writes (insert-or-update) a single custom-field value for a parent
record. Exactly one of value_text / value_number / value_date /
value_datetime / value_boolean / value_json is populated based on
the CustomField.field_type. Note: this is the only PUT verb in the
public API surface today; the unusual verb reflects the strict upsert
semantic. Requires the custom_fields:write scope.
Authorizations
API key issued per entity via Settings > Developers > API Keys.
Each key carries scopes (e.g. orders:read, products:write).
Bearer token format: Authorization: Bearer ark_live_ent_Test keys use ark_test_ent_. Both are issued per entity
via Settings > Developers > API Keys.
Path Parameters
CustomField id.
Parent resource record id.
Body
Response
Upserted value
A custom-field value attached to a parent record (parent_type + parent_id). Exactly ONE of value_text / value_number / value_date / value_datetime / value_boolean / value_json is populated based on the parent CustomField.field_type. Scope: custom_fields:read / custom_fields:write.
"custom_field_value"
Mirrors CustomField.parent_type.
Id of the parent resource record.

