user1751510
user1751510

Reputation: 291

UPS API integration- multiple accounts

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?

Upvotes: 1

Views: 1242

Answers (2)

user1751510
user1751510

Reputation: 291

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>

Upvotes: 1

Andrew Chan
Andrew Chan

Reputation: 61

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)

Upvotes: 0

Related Questions