# Customers data is null in backend listing(Shopware 6)

**URL:** https://forum.shopware.com/t/customers-data-is-null-in-backend-listing-shopware-6/63734
**Category:** Programmierung
**Created:** [30. Dezember 2019 um 06:43 UTC](https://forum.shopware.com/t/customers-data-is-null-in-backend-listing-shopware-6/63734 "2019-12-30T06:43:04Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![abinjohnedamana](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/abinjohnedamana/32/17378_2.png) [@abinjohnedamana](https://forum.shopware.com/u/abinjohnedamana)
#### Post date: [30. Dezember 2019 um 06:43 UTC](https://forum.shopware.com/t/customers-data-is-null-in-backend-listing-shopware-6/63734/1 "2019-12-30T06:43:04Z")

</div>

I am developing a plugin for shopware 6

I have created a table with the name “hatslogic\_abandoned\_cart\_items”. Then I have created the definition, entity, and collection classes for the table.

I need a backend listing for this table. so I created the backend Vuejs files and my listing is working fine. (Backend listing API URL is [http://localhost:8000/api/v1/search/hatslogic-abandoned-cart-items](http://localhost:8000/api/v1/search/hatslogic-abandoned-cart-items)). But in the response the relationships.customer.data is null. I want to show the customer name in the listing. I have added&nbsp;

```
new ManyToOneAssociationField('customer', 'customer_id', CustomerDefinition::class, 'id', false),

```

This code in my definition class.

Do I need anything else? I have checked the table the customer id is present in both “hatslogic\_abandoned\_cart\_items” table and “customers” table

what I have to do?
