Is the website default ship method available in th...
# suitecommerce
c
Is the website default ship method available in the commerce api?
p
yup - (ModelsInit - depends on the version.)session.getSiteSettings(['defaultshippingmethod']).defaultshippingmethod
you already have it in the frontend at SC.ENVIRONMENT.siteSettings.defaultshippingmethod
c
awesome, thanks again @PabloZ
p
"application/container".getComponent('Environment').getSiteSetting('defaultshippingmethod') to be Extensibility api compliant frontend side🙂
Otherwise @Steve Goldberg will hit me
🤣 2
s
👮🏻
🤣 1