Is it possible to create customer via API and set default billing and shipping address at once ?

I know that in customerCustomerRepositoryV1 and customerAccountManagementV1 are fields like default_billing and default_shipping but there is required to set addressId.
In case when we are creating customer there is no id for sending addresses.

I am using Magento 2.3.1

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.