Skip to content

Single Rate for UPS and USPS

Alexey Busygin edited this page Jul 24, 2024 · 1 revision

ShippingRates supports requesting a single rate from UPS and USPS. To do so, include the rate description as a parameter of the provider constructor.

rateManager.AddProvider(new UPSProvider(upsLicenseNumber, upsUserId, upsPassword, "UPS Ground"));
rateManager.AddProvider(new USPSProvider(uspsUserId, "Priority Mail"));

A list of valid shipping methods for UPS can be found here. And a list of valid shipping methods for USPS can be found here.

Clone this wiki locally