Closed striderxfossility closed 5 years ago
I ran into the same issue. Somebody know a solution?
Create the custom field in the moneybird webinterface, fill it for at least one item, then download the API response to get the unique identifier number. Use this Unique ID as the key of the key/value pair you insert into the array, and it will work.
That's a huge workaround, since you have to manually add and find the ID's for it to work, but is manageable if you develop for your own administration.
This issue was never fixed, the Entities/CustomFields class does not contain the "value" field as fillable. For this reason adding a custom field to a new contact as described by @tss68nl does not work.
After manually adding the "value" field to the CustomFields class everything works as intended.
I want to give a value to a custom field.
But it doesnt work.