# Get all 3PL customers

**URL:** <https://community.shiphero.com/t/get-all-3pl-customers/758>\
**Category:** GraphQL API\
**Created:** [September 8, 2020, 7:41am UTC](https://community.shiphero.com/t/get-all-3pl-customers/758 "2020-09-08T07:41:44Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![saif\_storage](https://avatars.discourse-cdn.com/v4/letter/s/3ab097/32.png) [@saif\_storage](https://community.shiphero.com/u/saif_storage)\
**Post date:** [September 8, 2020, 7:41am UTC](https://community.shiphero.com/t/get-all-3pl-customers/758/1 "2020-09-08T07:41:44Z")

</div>

I am trying to create an order for 3PL Customers using the API and it will be done for different users. I understand that we need to pass the customer\_account\_id value.  
I can not find how can we get this customer account id for all our 3PL customers.

---

<div class="post-metadata">

**Author:** ![Tommy\_VikingC](https://avatars.discourse-cdn.com/v4/letter/t/8baadc/32.png) [@Tommy\_VikingC](https://community.shiphero.com/u/Tommy_VikingC)\
**Post date:** [September 8, 2020, 5:19pm UTC](https://community.shiphero.com/t/get-all-3pl-customers/758/2 "2020-09-08T17:19:18Z")

</div>

Hey saif\_storage -

You should be able to get this from: [https://app.shiphero.com/3pl](https://app.shiphero.com/3pl)  
Not sure if you are able to get this thru the API - But at least there you will have it to put into your development 🙂

---

<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:** [September 8, 2020, 5:28pm UTC](https://community.shiphero.com/t/get-all-3pl-customers/758/3 "2020-09-08T17:28:20Z")

</div>

Hi @saif_storage!

That is perfect, it should be at [https://app.shiphero.com/3pl](https://app.shiphero.com/3pl) as mentioned by @Tommy_VikingC  
You could also get them listed using this Query:

```
query {
  account {
    request_id
    complexity
    data {
      id
      legacy_id
      email
      customers {
        edges {
          node {
            id
            legacy_id
          }
        }
      }
    }
  }
} 

```

`legacy_id` should match the ones seen at [https://app.shiphero.com/3pl](https://app.shiphero.com/3pl) and the id is the UUID

---

<div class="post-metadata">

**Author:** ![saif\_storage](https://avatars.discourse-cdn.com/v4/letter/s/3ab097/32.png) [@saif\_storage](https://community.shiphero.com/u/saif_storage)\
**Post date:** [September 8, 2020, 6:26pm UTC](https://community.shiphero.com/t/get-all-3pl-customers/758/4 "2020-09-08T18:26:46Z")

</div>

> [@tomasw](#):
>
> ```auto
> query {
> account {
> request_id
> complexity
> data {
> id
> legacy_id
> email
> customers {
> edges {
> node {
> id
> legacy_id
> }
> }
> }
> }
> }
> } 
> 
> ```

Thanks this seems to do the work… is this mentioned in the documentation? and apart from the id and legacy\_id what are the customer attributes that we can access? Thank you once again, it was really helpful

---

<div class="post-metadata">

**Author:** ![saif\_storage](https://avatars.discourse-cdn.com/v4/letter/s/3ab097/32.png) [@saif\_storage](https://community.shiphero.com/u/saif_storage)\
**Post date:** [September 8, 2020, 6:27pm UTC](https://community.shiphero.com/t/get-all-3pl-customers/758/5 "2020-09-08T18:27:51Z")

</div>

Thank you @Tommy_VikingC for the help. I actually had to do it with the API. @tomasw solution seems to working fine and this is what I was looking for

---

<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:** [September 8, 2020, 6:38pm UTC](https://community.shiphero.com/t/get-all-3pl-customers/758/6 "2020-09-08T18:38:21Z")

</div>

sure @saif_storage!  
The fields available should be on the schema, but here is a list of ones that might help

```
query {
  account {
    request_id
    complexity
    data {
      id
      legacy_id
      email
      customers {
        edges {
          node {
            id
            legacy_id
            email
            username
            status
            dynamic_slotting
            is_multi_warehouse
            is_3pl
            cycle_count_enabled
            ship_backorders
          }
        }
      }
    }
  }
}

```

I’m currently working on a section for 3PL accounts useful tips on our [Flows](https://developer.shiphero.com/flows/) section, to bring some advice on managing 3PL accounts using the Public API, I will let you know as soon as it is published so if there is something I could add you can let me know

---

<div class="post-metadata">

**Author:** ![saif\_storage](https://avatars.discourse-cdn.com/v4/letter/s/3ab097/32.png) [@saif\_storage](https://community.shiphero.com/u/saif_storage)\
**Post date:** [September 9, 2020, 12:36pm UTC](https://community.shiphero.com/t/get-all-3pl-customers/758/7 "2020-09-09T12:36:04Z")

</div>

Thank you very much @tomasw

---

<div class="post-metadata">

**Author:** ![arpita.rath](https://avatars.discourse-cdn.com/v4/letter/a/4da419/32.png) [@arpita.rath](https://community.shiphero.com/u/arpita.rath)\
**Post date:** [July 15, 2021, 9:00am UTC](https://community.shiphero.com/t/get-all-3pl-customers/758/8 "2021-07-15T09:00:36Z")

</div>

From which field i’ll get the 3PL name ?

---

<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:** [July 16, 2021, 1:33pm UTC](https://community.shiphero.com/t/get-all-3pl-customers/758/9 "2021-07-16T13:33:25Z")

</div>

Hi @arpita.rath!

Are you registered to a Customer account or to a 3PL account?  
If you are on a 3PL try this Query:

```auto
query {
  account {
    request_id
    complexity
    data {
      id
      legacy_id
      email
      username
      status
      dynamic_slotting
      is_multi_warehouse
      is_3pl
      cycle_count_enabled
      ship_backorders
      warehouses {
        id
        legacy_id
        account_id
        identifier
        dynamic_slotting
        invoice_email
        phone_number
        profile
      }
    }
  }
}

```

If you are on a Customer account, you won’t be able to Query for information on the 3PL.

Please let us know if that doesn’t help.  
Thanks in advance!  
Tom

---

<div class="post-metadata">

**Author:** ![kevchcm](https://avatars.discourse-cdn.com/v4/letter/k/3da27b/32.png) [@kevchcm](https://community.shiphero.com/u/kevchcm)\
**Post date:** [December 2, 2025, 6:11pm UTC](https://community.shiphero.com/t/get-all-3pl-customers/758/10 "2025-12-02T18:11:45Z")

</div>

> [@tomasw](#):
>
> ```auto
> query {
> account {
> request_id
> complexity
> data {
> id
> legacy_id
> email
> username
> status
> dynamic_slotting
> is_multi_warehouse
> is_3pl
> cycle_count_enabled
> ship_backorders
> warehouses {
> id
> legacy_id
> account_id
> identifier
> dynamic_slotting
> invoice_email
> phone_number
> profile
> }
> }
> }
> }
> 
> ```

I’m logged in as a user, but why is it so hard to see the 3PL Client’s name? This query doesn’t show that, nor do all of the queries in this thread
