Update Entries

💡 Manage entries using this function.

This function allows you to modify multiple entries of a record. Here's an example of how to configure and use the update entries function:

async function script(C) {

    const response = await C.updateEntries({
        updates: [
            {
                value: {
                    text: 'testing 2',
                    number: '2',
                    multiselect: ['459292'],
                    select: [1151],
                    'radio-button-2': [1150],
                    'file-bucket': [
                        {
                            key:
                                'a10e4d44-6ba3-49ed-8b6a-fd59887c4348_image003 (2).png',
                            name: 'image003 (2).png',
                            size: 51246,
                            type: 'image/png',
                            uploadedAt: '2022-07-19T05:42:11.635Z',
                            uploadedBy: {
                                id: 367,
                                email: '[email protected]',
                                fullName: 'Lez Yeoh',
                                lastName: 'Yeoh',
                                firstName: 'Lez',
                            },
                            uploaderIP: '159.196.77.88',
                        },
                    ],
                },
                entryId: 655975,
                recordInternalId: 'all-fields',
            },
        ],
        options: {
            returnRecordInfo: true,
        },
    });
    console.log('response: ', JSON.stringify(response, null, 2));
    const entry = await C.getEntry({
        entryId: 655975,
        recordInternalId: 'all-fields',
    });
    console.log('entry: ', JSON.stringify(entry, null, 2));
}

Output

The output of updating entries will provide information about the updated entries, including the changes made.

📌 Need Help?

If you require assistance or encounter any issues, please don't hesitate to contact us for further support.