# Includes in search/order

**URL:** <https://forum.shopware.com/t/includes-in-search-order/100051>\
**Category:** Shopware 6 (English)\
**Created:** [12. Juni 2023 um 07:44 UTC](https://forum.shopware.com/t/includes-in-search-order/100051 "2023-06-12T07:44:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![crakter](https://avatars.discourse-cdn.com/v4/letter/c/3bc359/32.png) [@crakter](https://forum.shopware.com/u/crakter)\
**Post date:** [12. Juni 2023 um 07:44 UTC](https://forum.shopware.com/t/includes-in-search-order/100051/1 "2023-06-12T07:44:07Z")

</div>

I’m trying to get orders from the API and get only some fields returned from the api, so using the includes i get most working.  
The problem is that the sales\_channel customFields is not returning in the result.  
Does anyone have any tips?

` { "associations": { "billingAddress": { "limit": 1, "associations": { "country": { "limit": 1 } } }, "deliveries": { "associations": { "shippingOrderAddress": { "total-count-mode": 1 } } }, "lineItems": { "associations": { "product": { "limit": 100 } } }, "salesChannel": { "limit": 5 }, "transactions": { "associations": { "paymentMethod": { "total-count-mode": 1 } } } }, "includes": { "order": ["orderDateTime", "orderNumber", "lineItems", "billingAddress", "price", "shippingCosts", "id"], "order_line_item": ["label", "totalPrice", "product"], "product": ["productNumber", "ean"], "order_address": ["country"], "country": ["name"], "cart_price": ["netPrice", "totalPrice", "calculatedTaxes"], "cart_tax_calculated": ["tax"], "calculated_price": ["totalPrice"], "sales_channel": ["customFields"] } }`
