Userbase

Docs : SDK : updateItem

updateItem lets you modify an existing item in a user's database. This API will return a promise that gets resolved once the item has been durably updated in the database.

    
      userbase.updateItem({
        databaseName: 'example-database-name',
        item: { example: 'Updated Sample Item A' },
        itemId: '0001'
      }).then(() => {
        // item updated
      }).catch((e) => console.error(e))
    
  

Parameters

Advanced Parameters

Errors