I want to create a company/company admin-user in Magento 2 (as what it does from the front-end/back-end panel) via a single API call.

Right now am doing with two API calls

First is creating a customer, then creating a company by giving superuser_id=" " the customer_id I created earlier.

New contributor
Magento Dev is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.

Your Answer

Magento Dev is a new contributor. Be nice, and check out our Code of Conduct.

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.