Update Rows

Update existing collection rows.

The request JSON must provide the id of the row. You must send the full data of the object back to Duda (of all existing fields), as Duda will simply overwrite all values in the column with the new value added. More than one row can be updated at a time. See example JSON below.

[
    {
            "id": "144",
            "data": {
                "date": "01/10/2019",
                "entry-price": "$50",
                "event-image": "https://irt-cdn.multiscreensite.com/md/dmip/dms3rep/multi/young-woman-portrait-blue-eyes.jpg",
                "location": "San Francisco"
            }
        },
        {
            "id": "145",
            "data": {
                "date": "01/12/2019",
                "entry-price": "$55",
                "event-image": "https://irt-cdn.multiscreensite.com/md/dmip/dms3rep/multi/young-woman-portrait-blue-eyes.jpg",
                "location": "Boston"
            }
        }
  ]

📘

For internal collections, you are able to update the dynamic page URL by passing a page_item_url property. For image collections, the page_item_url property will be ignored.

Language