# How do I retrieve a shipper\_id for API calls?

**URL:** <https://forums.ordoro.com/t/how-do-i-retrieve-a-shipper-id-for-api-calls/324>\
**Category:** Uncategorized\
**Created:** [September 19, 2018, 11:23pm UTC](https://forums.ordoro.com/t/how-do-i-retrieve-a-shipper-id-for-api-calls/324 "2018-09-19T23:23:35Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![richstratton](https://avatars.discourse-cdn.com/v4/letter/r/da6949/32.png) [@richstratton](https://forums.ordoro.com/u/richstratton)\
**Post date:** [September 19, 2018, 11:23pm UTC](https://forums.ordoro.com/t/how-do-i-retrieve-a-shipper-id-for-api-calls/324/1 "2018-09-19T23:23:35Z")

</div>

I’m using V3 of the API.

Trying to assign weight and shipping method to an order via the API. It seems that I need to assign a “shipper\_id” value to the body content, but I don’t know what the shipper\_id corresponds to is or how to retrieve it.

Ultimate goal is to be able to use the API to create orders, then set a shipper and shipping method in order to generate labels (all via the API). I’m trying to do this for a UPS order initially, but will eventually need to do this for FedEx and Endicia as well.

Any help is greatly appreciated.

---

<div class="post-metadata">

**Author:** ![savanna](https://avatars.discourse-cdn.com/v4/letter/s/e56c9b/32.png) [@savanna](https://forums.ordoro.com/u/savanna)\
**Post date:** [September 20, 2018, 12:18pm UTC](https://forums.ordoro.com/t/how-do-i-retrieve-a-shipper-id-for-api-calls/324/2 "2018-09-20T12:18:57Z")

</div>

If you use the endpoint found at [https://ordoro.docs.apiary.io/#reference/shipper/shipper/get](https://ordoro.docs.apiary.io/#reference/shipper/shipper/get), it will return all of the shippers for the account with their carrier type as “vendor” and the shipper\_id as “id” per shipper.

---

<div class="post-metadata">

**Author:** ![richstratton](https://avatars.discourse-cdn.com/v4/letter/r/da6949/32.png) [@richstratton](https://forums.ordoro.com/u/richstratton)\
**Post date:** [September 20, 2018, 12:56pm UTC](https://forums.ordoro.com/t/how-do-i-retrieve-a-shipper-id-for-api-calls/324/3 "2018-09-20T12:56:35Z")

</div>

> [@savanna](#):
>
> e account with their carrier type as “vendor” and the shipper\_

Thank you - that worked.

However, that endpoint is (I believe) a V2 endpoint (not identified in the V3 documentation I was told to use). How do I know when to use the V2 documentation (and end points) and when to use the V3 documentation (and end points)?

---

<div class="post-metadata">

**Author:** ![savanna](https://avatars.discourse-cdn.com/v4/letter/s/e56c9b/32.png) [@savanna](https://forums.ordoro.com/u/savanna)\
**Post date:** [September 20, 2018, 3:16pm UTC](https://forums.ordoro.com/t/how-do-i-retrieve-a-shipper-id-for-api-calls/324/4 "2018-09-20T15:16:45Z")

</div>

Yes, the clarification between the two is that you will use v3 for all order related calls, and v2 for everything else such as products and settings.
