Re: RESTAPI Question to Retrieve Order Details
Thanks for clarification.
Unfortunately, there is no straight-forward way of pulling Company field.
You can achieve this by multiple queries:
1) Make a query to "order/ORDERID" and see the profile_id field in response
2) Make a query to "profile/PROFILE_ID" and see the value in addresses > address_id field in response
3) Finally make a query to "address/ADDRESS_ID" end-point and get the results.
Alternatively, you can extend the REST API module and include the Company info into complex schema.
|