Add Image to CMS Item via Beta API

I’m having trouble getting the new beta API to accept image URLs for photo fields. In the old API, I could just have a field like this photo: "http://photourl.com" but in the new one, I can’t crack the right format. I’ve tried:

fieldData: {
   photo: "http://photourl.com"
}

And also:

fieldData: {
   photo: {
      url: "http://photourl.com"
   }
}

Any ideas?

Hey @heyitsnoah, welcome back to the forum!

It should work similar to v2, have you confirmed that the field slug for the photo is “photo”? You could do a Get Collection Details call to confirm the slug of that field.

You will also likely need to structure it like this:

"fieldData": {
"photo": "https://photourl..." 
}

What’s the response you’re getting back from the API? Is there any errors returning?