Timeline for How to update customer address using custom Api in magento2?
Current License: CC BY-SA 4.0
8 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Dec 6, 2018 at 12:44 | comment | added | Jafar Pinjar | hi @Murtuza, setRegion($region); is not working for me | |
Sep 1, 2018 at 9:14 | comment | added | Jafar Pinjar | somehow i managed to create address, but setRegion is throwing error. | |
Aug 31, 2018 at 14:00 | comment | added | Jafar Pinjar | hi @Murtuza, i think you didn't get my point, Please read my above comment, if address id passed in request, i need to update address for that id, else i need to check for customerId and fetch his addressId and update else create new address for that customerId, your code will work only if we pass proper addressId, if invalid address id or empty value passed , that time its not work i guess | |
Aug 31, 2018 at 13:54 | comment | added | Murtuza Zabuawala♦ | @jafarpinjar I have updated the code with addressId | |
Aug 31, 2018 at 13:54 | history | edited | Murtuza Zabuawala♦ | CC BY-SA 4.0 |
deleted 1 character in body
|
Aug 31, 2018 at 13:31 | comment | added | Jafar Pinjar | in my request customerId and AddressId both are there, if addressId is passed, should check that address id and update, else using customerId, i need to check if he has addressId, update with that id , else create new address for customer, This is my full requirement | |
Aug 31, 2018 at 13:29 | comment | added | Jafar Pinjar | $addressId = $resultSet['Entity_Attributes']['CustomerId']; this line is not valid. why you are passing customerId to AddressId | |
Aug 31, 2018 at 13:12 | history | answered | Murtuza Zabuawala♦ | CC BY-SA 4.0 |