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" ] } }