I'm working on a headless project using Magento 2.1.x as our BACKEND system. Reviewing all the customer APIs when we trying to found the ADDRESS Repository endpoints we not see a save functionality for the address directly.
The only way to save a Address is when you directly call the PUT for CustomerRepository.
We are OK to create that endpoint for our project, I'm just curios Why this not possible OOTB REST APIs?
Best,
Alejandro,
Hi @Jalogut1 sorry for the delay,
We created our own endpoint in order to save the address from REST APIs. I wish can share the code but we have an agreement with the client we can't share anything.
I remember looking for the best solution here, another option is to send the address information when you create/edit a customer, as Address is an a Extensible OBJ, I know is not the better solution but still a possibility.
I hope you can find a solution regarding this.
Best,
Alejandro.