I can't seem to find a way to get the shipping address for an order though the REST API. Does anyone have an idea?
Magento2 – How to Get Shipping Address for Order in REST API
apimagento2ordersrestshipping-address
apimagento2ordersrestshipping-address
I can't seem to find a way to get the shipping address for an order though the REST API. Does anyone have an idea?
Best Answer
Looks like methods for retrieval of order addresses are not exposed via web API for some reason. You can expose them in you module simply by declaring in
VendorName/ModuleName/etc/webapi.xml
:Then use search criteria to specify filter by
parent_id
(as for any other list operation)