Create batch company for parent and children company at once

Currently, what I know to create parent children in batch is in this step

1. Create a batch companies, got all the hubspot id (link)

2. Create a batch associations, using from and to (link)

This one I need to hit endpoint twice, also there is another process needs to be handled between process 1 and 2 to map parent and children object id. Is there a way to create batch of company with association without hubspot ID?

Hey, @MNaufal :waving_hand: Thanks for reaching out!

You are not missing an option — you cannot create a batch of companies and establish the parent-child relationships between them in a single API request. The process you’re describing is the standard approach.

Please let the community know if you have any additional questions.

Best,

Jaycee