Edit relationships using App API

Hi everyone,

I’m wondering if there is a way to edit a relationship between two collections using the App API, for example:
Collection one is connected to collection 2 using a many to many relationship
Would it be possible to connect an element from collection 1 to multiple elements from collection 2 using the API.
My initial approach was to fetch an element from collection 1, retrieve the relationship list, and append the ID’s of the collection 2 elements to it, then update the collection 1 element, but I keep getting a 400 response.

Anyone got an idea as to how to do this

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.