1

Below is the REST API called on Checkout Page, when you have multiple address & u click on "Ship here"

magento/rest/default/V1/carts/mine/estimate-shipping-methods-by-address-id

It passes addressId variable as a POST

How to get that variable in Model?

magento\vendor\magento\module-dhl\Model\Carrier.php

protected function _buildQuotesRequestXml() {
    // Need to get addressId variable here
}

I need it because for Hong Kong it's not passing City for Saved Address.

https://github.com/magento/magento2/issues/7928

0

Your Answer

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

Browse other questions tagged or ask your own question.