i would like to have the proper curl command for getting all pending orders with custom attributes in Magento 2 rest api.
I use this, but there are no custom attributes in the result.
curl -X GET -H "Authorization: Bearer xxxxxxxxxxxxxxxxxxxx" -H "Cache-Control: no-cache" 'http://xxxxxx.xxx/index.php/rest/V1/orders?searchCriteria[filter_groups][filters][field]=statu...'
What do i wrong? I get everything but not the product attributes and the custom product attributes.