# Account query not showing all my warehouses

**URL:** <https://community.shiphero.com/t/account-query-not-showing-all-my-warehouses/395>\
**Category:** GraphQL API\
**Created:** [March 12, 2020, 7:50pm UTC](https://community.shiphero.com/t/account-query-not-showing-all-my-warehouses/395 "2020-03-12T19:50:23Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![orlando](https://sea2.discourse-cdn.com/flex020/user_avatar/community.shiphero.com/orlando/32/112_2.png) [@orlando](https://community.shiphero.com/u/orlando)\
**Post date:** [March 12, 2020, 7:50pm UTC](https://community.shiphero.com/t/account-query-not-showing-all-my-warehouses/395/1 "2020-03-12T19:50:23Z")

</div>

I currently have three warehouses added, but when I run the following query:

```
{
      account {
        request_id
        complexity
        data {
          id
          warehouses {
            id
            identifier
            account_id
            legacy_id
            profile
          }
        }
      }
    }

```

I only get back one warehouse, and the legacy\_id returned is not the ID I see in the URL when editing the warehouse (e.g. [https://app.shiphero.com/dashboard/warehouses/edit/12414](https://app.shiphero.com/dashboard/warehouses/edit/12414))

Is there something wrong with my query? Is there another query perhaps that would return the three warehouses I have in my account? Thanks in advance.

 ![Screen Shot 2020-03-12 at 2.53.35 PM](https://us1.discourse-cdn.com/flex020/uploads/shiphero/original/1X/e62f2b8fc6e15597bf6f0a1756ff34b023ebefb0.png)

---

<div class="post-metadata">

**Author:** ![tomasw](https://sea2.discourse-cdn.com/flex020/user_avatar/community.shiphero.com/tomasw/32/248_2.png) [@tomasw](https://community.shiphero.com/u/tomasw)\
**Post date:** [March 13, 2020, 12:38pm UTC](https://community.shiphero.com/t/account-query-not-showing-all-my-warehouses/395/2 "2020-03-13T12:38:47Z")

</div>

Hi @orlando  
This is because the account you are associated to is a 3PL Client Only account, which means you don’t have a warehouse, the warehouse you are seeing is one of your 3PL account, and where you have all of your products.  
Let me know if this sounds confusing and I’ll try to explain better.  
Thanks!  
Tom

---

<div class="post-metadata">

**Author:** ![orlando](https://sea2.discourse-cdn.com/flex020/user_avatar/community.shiphero.com/orlando/32/112_2.png) [@orlando](https://community.shiphero.com/u/orlando)\
**Post date:** [March 13, 2020, 2:25pm UTC](https://community.shiphero.com/t/account-query-not-showing-all-my-warehouses/395/3 "2020-03-13T14:25:32Z")

</div>

Hi Tomasw, thanks so much for your reply.

I think I understand, but I’m not sure how to move forward. Let me give you a very brief outline of what I’m trying to do and maybe you can give me a tip on how to best accomplish it.

In our application, I want to be able to run a query to get a list of all the “profiles” (which you can see in the screenshot I provided) so we can programmatically decide which profile each of our orders should belong to when later submitting a CreateOrderInput mutation. I assumed the account query would have them under the warehouses.

Would this be accomplished if I were to have an account that’s _not_ 3PL Client Only? And how would I go about doing that? (A link to a doc would be awesome)

Thanks again.

---

<div class="post-metadata">

**Author:** ![tomasw](https://sea2.discourse-cdn.com/flex020/user_avatar/community.shiphero.com/tomasw/32/248_2.png) [@tomasw](https://community.shiphero.com/u/tomasw)\
**Post date:** [March 31, 2020, 1:08pm UTC](https://community.shiphero.com/t/account-query-not-showing-all-my-warehouses/395/4 "2020-03-31T13:08:13Z")

</div>

Hi @orlando!  
I apologize for the delay in my response to this.  
Unfortunately, we don’t have a way of displaying _ **profiles** _ right now. But I submitted a request for this to be added.  
I will let you know as soon as I get a response to this.  
Thanks!

---

<div class="post-metadata">

**Author:** ![tomasw](https://sea2.discourse-cdn.com/flex020/user_avatar/community.shiphero.com/tomasw/32/248_2.png) [@tomasw](https://community.shiphero.com/u/tomasw)\
**Post date:** [May 1, 2020, 12:24pm UTC](https://community.shiphero.com/t/account-query-not-showing-all-my-warehouses/395/5 "2020-05-01T12:24:51Z")

</div>

Hi @orlando  
I apologize for the late response about this.  
Unfortunately we will not be able to build a feature for searching profiles, but I will leave this request open in case we get more users needing it.  
Please let me know if I can help you with anything else.  
I appreciate your patience on this,  
Tom
