Is there any way to get CommerceApi.order.getShipp...
# suitecommerce
l
Is there any way to get CommerceApi.order.getShippingAddress(), on Shopping domain? It's working for checkout, but not supported for Logged in Shopping domain, Is there any alternative way to do so?
s
Normally, if you want the customer's address you can just use Profile.Model
l
Thanks, I am able to get the addresses using CommerceApi.customer.getAddressBook(); Actually, I need this addressee on sublist changed event, it is good idea to set in Object and get it in sublist changed event? I have Scriptbale cart on. Also, It is possible for SS2 to include 'SC.Models.Init' as dependency?
s
The method the profile model and the commerce API uses will probably by the same, so if that's a valid commerce API method then you should be fine. I can't answer your second question. And no, to your third question. That file is SS1 and you can't mix SS1 and SS2
l
Thanks Much..