I am using the below ODATA query to expand the products from salesorderdetails but the query is returning null for all the fields even though the data in present in dynamics.
ODATA query: /salesorders?$expand=order_details($expand=productid,salesorderid),customerid_account
Below is the response after expanding productid.
Response: