# How to get all vendors list in Graphql?

**URL:** <https://community.shiphero.com/t/how-to-get-all-vendors-list-in-graphql/2532>\
**Category:** GraphQL API\
**Created:** [July 11, 2023, 5:03pm UTC](https://community.shiphero.com/t/how-to-get-all-vendors-list-in-graphql/2532 "2023-07-11T17:03:04Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Santhoshas](https://avatars.discourse-cdn.com/v4/letter/s/ea666f/32.png) [@Santhoshas](https://community.shiphero.com/u/Santhoshas)\
**Post date:** [July 11, 2023, 5:03pm UTC](https://community.shiphero.com/t/how-to-get-all-vendors-list-in-graphql/2532/1 "2023-07-11T17:03:04Z")

</div>

I am trying to get all vendors from the ShipHero created, but I getting only few vendors, could I know the reason is there any filter applicable? I am using the below code to get the list. $gql = (new Query(‘vendors’))  
-\>setSelectionSet(  
[  
‘request\_id’,  
‘data(first: 100) {  
edges {  
node {  
id  
legacy\_id  
name  
email  
account\_number  
partner\_vendor\_id  
}  
}  
}’  
]  
);

---

<div class="post-metadata">

**Author:** ![sh-agent](https://avatars.discourse-cdn.com/v4/letter/s/e47774/32.png) [@sh-agent](https://community.shiphero.com/u/sh-agent)\
**Post date:** [July 11, 2023, 6:57pm UTC](https://community.shiphero.com/t/how-to-get-all-vendors-list-in-graphql/2532/2 "2023-07-11T18:57:05Z")

</div>

Hey @Santhoshas,

Thanks for reaching out and welcome to our Developer Community!  
Would you mind proving a request id for this instance, so I can further inspect what happened?

Please let me know if you have any questions or concerns.

Best,  
RayanP

---

<div class="post-metadata">

**Author:** ![Santhoshas](https://avatars.discourse-cdn.com/v4/letter/s/ea666f/32.png) [@Santhoshas](https://community.shiphero.com/u/Santhoshas)\
**Post date:** [July 13, 2023, 6:59am UTC](https://community.shiphero.com/t/how-to-get-all-vendors-list-in-graphql/2532/3 "2023-07-13T06:59:41Z")

</div>

[https://shipmagic.linksoul.us/en/admin/orders/vendors](https://shipmagic.linksoul.us/en/admin/orders/vendors)

---

<div class="post-metadata">

**Author:** ![sh-agent](https://avatars.discourse-cdn.com/v4/letter/s/e47774/32.png) [@sh-agent](https://community.shiphero.com/u/sh-agent)\
**Post date:** [July 13, 2023, 12:16pm UTC](https://community.shiphero.com/t/how-to-get-all-vendors-list-in-graphql/2532/4 "2023-07-13T12:16:25Z")

</div>

Hey @Santhoshas,

Thanks for hanging in there!

The `request_id` I’m looking for is returned after successful calls to the Public API. I can see that it is being returned in your query, due to your initial post.

An example request id, would look something like this:

```auto
"request_id": "64a6e2c0c0fbc0a45e7e324e"

```

Please let me know if you have any questions or concerns.

Best,  
RayanP
