Replaces references in a specified field of a specified data item.
This endpoint replaces the existing reference or references contained in the field specified in referringItemFieldName
within the data item specified in referringItemId
.
The endpoint removes existing references and in their place it adds references to the items specified in newReferencedItemIds
.
Note: If you pass an empty array in newReferencedItemIds
, all existing references are removed.
You can only call this method when authenticated as a Wix app or Wix user identity.