# Geschäftspartnergruppe als Bestelldetails auslesen

**URL:** <https://forum.shopware.com/t/geschaeftspartnergruppe-als-bestelldetails-auslesen/87694>\
**Category:** Shopware 6 (German)\
**Created:** [17. Mai 2021 um 06:42 UTC](https://forum.shopware.com/t/geschaeftspartnergruppe-als-bestelldetails-auslesen/87694 "2021-05-17T06:42:11Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![BastianHbner](https://avatars.discourse-cdn.com/v4/letter/b/5f8ce5/32.png) [@BastianHbner](https://forum.shopware.com/u/BastianHbner)\
**Post date:** [17. Mai 2021 um 06:42 UTC](https://forum.shopware.com/t/geschaeftspartnergruppe-als-bestelldetails-auslesen/87694/1 "2021-05-17T06:42:11Z")

</div>

Hallo,

wir haben über die Rest API einen Abruf über alle offenen Bestellungen gemacht. Das funktioniert soweit auch. Nur die Association zu den Geschäftspartner funktioniert nicht und wir können uns nicht erklären wieso. Hat jemand eine Idee? Anbei der Body:

{„associations“:{

```
"deliveries":{"associations":{"shippingOrderAddress":[]}},

```

„transactions“:{„associations“:{„stateMachineState“:}},

„orderCustomer“:{„associations“:{„customer“:}},

„addresses“:{„associations“:{„country“:}},

„lineItems“:{„associations“:{„product“:}},

„salesChannel“:{„associations“:{„paymentMethods“:}},

„stateMachineState“:{}},

„filter“:[{„value“:„open“,„field“:„order.stateMachineState.technicalName“,„type“:„equals“}],

„includes“:

{„order\_transactions“:[„id“,„stateMachineState“],

„order\_customer“:[„id“,„email“,„firstName“,„lastName“,„customerNumber“],

„customer“:[„id“,„groupId“],

„country“:[„iso“,„name“],

„order“:[„id“,„customerId“,„orderNumber“,„lineItems“,„addresses“,„deliveries“,„stateMachineState“,„orderCustomer“,„shippinTotal“],

„order\_line\_item“:[„id“,„position“,„quantity“,„label“,„unitPrice“,„productId“,„payload“,„productNumer“],

„payment\_method“:[„id“,„name“],

„order\_address“:[„id“,„firstName“,„lastName“,„street“,„zipcode“,„city“,„company“,„department“,„country“]}}
