I want use this id's in future to update the docum...
# community-help
p
I want use this id's in future to update the documents
k
Send
return_id=true
to the import API as GET parameter. Every row in the import response will now contain the
id
of the document imported. You can use this for future updates.
p
i am usinmg nodejs typesense client
where should i include this return ids field
Copy code
const ids = await TypesenseClient.collections("listing")
    .documents()
    .import(servicesForTypesense, { action: "create", return_ids: "true" });
k
return_id
(singular) but otherwise correct
1