1

I'm trying to integrate with UPS API, but would like to integrate with different UPS accounts based on various different rules that span over multiple portals.

Below mentioned are some of the access information to post ship-confirm-request

<AccessRequest xml:lang="en-US">
    <AccessLicenseNumber>132</AccessLicenseNumber>
    <UserId>XXX</UserId>
    <Password>XXX</Password>
</AccessRequest>

<Shipper>
        <ShipperNumber>xxx</ShipperNumber>
</Shipper>

Reading the UPS documentation, i see that

Shipper's six digit account number. Must be associated with the UserId specified in the AccessRequest XML

My Question To integrate with multiple accounts do i have to request for Shipper account number and info (below), for every single UPS account we have to integrate with?

<AccessRequest xml:lang="en-US">
        <AccessLicenseNumber>132</AccessLicenseNumber>
        <UserId>XXX</UserId>
        <Password>XXX</Password>
    </AccessRequest>

Or is there an easier way to do this?

user1751510
  • 291
  • 2
  • 14
  • Although this doesn't programmatically solve your problem, you're definitely able to have multiple UPS accounts connected to a Shippo account and just define your rules on when to use specific UPS accounts through Shippo's api. https://goshippo.com/docs/carrier-accounts – mootrichard Apr 07 '17 at 21:00

2 Answers2

1

I spoke to the tech support at UPS, There are two ways to handle multiple accounts.

<AccessRequest xml:lang="en-US">
    <AccessLicenseNumber>132</AccessLicenseNumber>
    <UserId>XXX</UserId>
    <Password>XXX</Password>
</AccessRequest>
user1751510
  • 291
  • 2
  • 14
0

You have to request different times for the information. It is quite quick with 4 steps involved (see the guide to request UPS API credentials)

Andrew Chan
  • 61
  • 1
  • 2