データが準備され、ペイロードとして送信されるループのサイドで useMutation を呼び出す必要がある場合でも、同じ機能が必要です。
aDeleteVariantData.forEach((oDeleteItem, nIndex) => {
oDeleteVariants.mutate(oDeleteItem);
// We are able to delete with axios directly but not using the mutate functionality.
// how should achive this.
// delete(`/varient varientId= ${(oDeleteItem.id)}`)
//For Each delete we have different url parameters which is not possible with the mutate
// Is there anything like useQuries for useMutate
});