# Admin-Api und Asscociations – nur bestimmte Felder ausgeben

**URL:** <https://forum.shopware.com/t/admin-api-und-asscociations-nur-bestimmte-felder-ausgeben/68063>\
**Category:** Shopware Playground - API first Sandbox\
**Created:** [1. Juli 2020 um 14:23 UTC](https://forum.shopware.com/t/admin-api-und-asscociations-nur-bestimmte-felder-ausgeben/68063 "2020-07-01T14:23:24Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![Krispin](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/krispin/32/12849_2.png) [@Krispin](https://forum.shopware.com/u/Krispin)\
**Post date:** [2. Juli 2020 um 12:41 UTC](https://forum.shopware.com/t/admin-api-und-asscociations-nur-bestimmte-felder-ausgeben/68063/5 "2020-07-02T12:41:38Z")

</div>

Hi Liverson,

du musst auch noch die Salutation ins include mitnehmen, sonst wird es nicht mit geladen:

```
{
    "ids": [
        "7a7c4add99cf49edad7eccc950e93563"
    ],
    "associations": {
        "lineItems": {},
        "addresses": {
          "associations": { 
          	"salutation": {}
          }
        }
    },
    "includes": { 
        "order_line_item": ["id", "label", "quantity"],
        "order_address": ["id", "company", "salutationId", "firstName", "lastName", "street", "zipcode", "city", "countryId", "salutation"]
    }
}

```

Btw. die Entitäts-Bezeichnung für die includes wird auch in der Doku erklärt:

> The&nbsp;`includes`&nbsp;parameter is defined as an object. The key is always defined as the api alias of an object. The alias of an object is unique in the system. For entities, this is the entity name:&nbsp;`product`,&nbsp;`product_manufacturer`,&nbsp;`order_line_item`, …&nbsp;

Gruß

Krispin

---

_[View the full topic](https://forum.shopware.com/t/admin-api-und-asscociations-nur-bestimmte-felder-ausgeben/68063)._
