I want to add buyer contact, seller contact, company title contacts for the same order

I want to add buyer contact, seller contact, company title contacts for the same order. I want to add this from using PHP API from third part. Can you please help me?