There's no ability to merge tickets through the API. I think it would be useful to add that in there.