Skip to content

Member Custom Field Associations

This model represents a custom field associated to a member with a certain value.

Representative Model Class Update Model Class Create Model Class
MemberCustomField MemberCustomFieldUpdate MemberCustomFieldCreate

As the exact spec differs depending on the usage context of custom fields, this model only applies to custom fields used with members.

Note that the way to change a value of custom field X on member Y depends on the current state:

  • If the MemberCustomField association already exists (that is, if the user had a value assigned to this custom field before), you have to PATCH / update the existing object In this case you need to reference the ID of the MemberCustomField object itself
  • If the association doesn't exist yet, you have to create it with a POST request. If this is the case, you need to reference the related custom field.

customField class-attribute instance-attribute

customField: EasyVereinReference | CustomField | None = None

requestedValue class-attribute instance-attribute

requestedValue: str | None = None

userObject class-attribute instance-attribute

userObject: EasyVereinReference | Member | None = None

value class-attribute instance-attribute

value: str | None = None