Get merge status
client.merge.getMerge(stringid, RequestOptionsoptions?): MergeGetMergeResponse { id, createdAt, duplicateId, 4 more }
GET/v1/merges/{id}
Returns the status and details of a merge operation by its ID.
Rate limit category: Read
Get merge status
import Lightfield from 'lightfield';
const client = new Lightfield({
apiKey: 'My API Key',
});
const mergeGetMergeResponse = await client.merge.getMerge('id');
console.log(mergeGetMergeResponse.id);{
"id": "id",
"createdAt": "createdAt",
"duplicateId": "duplicateId",
"entityType": "entityType",
"primaryId": "primaryId",
"status": "status",
"updatedAt": "updatedAt"
}Returns Examples
{
"id": "id",
"createdAt": "createdAt",
"duplicateId": "duplicateId",
"entityType": "entityType",
"primaryId": "primaryId",
"status": "status",
"updatedAt": "updatedAt"
}