Reputation: 291
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
Reputation: 291
I spoke to the tech support at UPS, There are two ways to handle multiple accounts.
Create access info at "https://www.ups.com/upsdeveloperkit/" for all accounts. (tedious)
Create access-keys at https://www.ups.com/upsdeveloperkit/ Then
add all your related accounts to this account and you should be able
to use the same info below and just vary your shipper account number.
<AccessRequest xml:lang="en-US"> <AccessLicenseNumber>132</AccessLicenseNumber> <UserId>XXX</UserId> <Password>XXX</Password> </AccessRequest>
Upvotes: 1
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