api details merging