Replaces the definition of a field in a data collection.
The field identified by field.key is replaced with the supplied definition.
Properties omitted from that field definition aren't preserved. Other fields in the collection aren't replaced.
To update only specific properties in the array without affecting others, use Patch Data Collection Field.
You can only call this method when authenticated as a Wix app or Wix user identity.
This method doesn't return any custom errors, but may return standard errors. Learn more about standard Wix errors.