Is there is an API to add new customer address without admin token?

  • You can look at my previous answer in another question: magento.stackexchange.com/a/189570/42656
    – PY Yick
    Aug 21, 2017 at 7:29
  • Thanks, But this works for update Address only, He can't add another new address. what i want to do is enable customer to add new addresses for shipping and billing addresses.
    – Jsparo30
    Aug 21, 2017 at 8:31
  • You can. Just fill in the "address" field is OK
    – PY Yick
    Aug 21, 2017 at 8:37
  • Firstly, I added one address, then added another one in new call. It removed the old one and have only one address. Secondly, I added two addresses on one call, then added another new one in second call, It removed the all addresses and have the last one address only in my address book. !
    – Jsparo30
    Aug 21, 2017 at 8:56
  • So you need to keep the address if you intend to keep it
    – PY Yick
    Aug 21, 2017 at 8:57

1 Answer 1


@jsparo30 We have only one default shipping address and one default billing address, when you hit api first it sets to default shipping/billing address because you send a parameter

"default_shipping": true ,

"default_billing": true,

When you call it second time , i think you forget to make it false, that's why it deleted you previous address.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.