Jump to content

Using the REST API to update custom fields


Go to solution Solved by Craig Gingell,

Recommended Posts

Hello,

I have read the REST API documentation here:

https://invisioncommunity.com/developers/rest-api?endpoint=core/members/POSTitem

I am trying to update a custom field value, but cannot fathom the syntax for the customFields value. The docs state:

customFields   object   Array of custom fields as fieldId => fieldValue

but can someone please provide an example?

Let's say I have a custom field number 10, and I want to set it's value to "XYZ123" what should I be posting in the customFields value?

I tried 

[{'fieldId':'10','fieldValue':'XYZ123'}]

but the field value didn't update.

Any ideas?

 

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...