DF 2.0 /JS SDK/ replaceRecord and returned fields

Hi all
Working with DF 2.0 and javascript SDK
i’m trying to get all fields in the return response during a replaceRecords
for example

function devis2commande() {

var item = [
{ “_id”: My_id,"$inc": { “lastcommandenumber”: 1 }}


var params= JSON.stringify(item)
var callback = function(response) {
// getlastcommandnumber()

$.api.replaceRecord(‘users’, params, token, callback);


it’s ok with createrecors
but here in update records, where can i put = > fields=*

thanks for your help