Shipping APIs
/Carrier
//Get Carrier
Get Carrier Account details API
Security
bearerAuth
- https://api-sandbox.sendpro360.pitneybowes.com/carrieraccountmgmthttps://api-sandbox.sendpro360.pitneybowes.com/carrieraccountmgmt/api/v1/carrierAccounts/{carrierAccountID}
- Sandbox Server for Carrier Accounthttps://api-sandbox.sendpro360.pitneybowes.com/carrieraccountmgmt/api/v1/carrierAccounts/{carrierAccountID}
- Sandbox Server for Hub APIhttps://api-sandbox.sendpro360.pitneybowes.com/metadata/api/v1/carrierAccounts/{carrierAccountID}
- Production Server for Carrier Account (uses live data)https://api.sendpro360.pitneybowes.com/carrieraccountmgmt/api/v1/carrierAccounts/{carrierAccountID}
- Production Server for Hub API (uses live data)https://api.sendpro360.pitneybowes.com/metadata/api/v1/carrierAccounts/{carrierAccountID}
- Sandbox Server for Canadahttps://api-ppd.shipping360.pitneybowes.com/ca/shipping/api/v1/carrierAccounts/{carrierAccountID}
- Production Server for Canadahttps://api.shipping360.pitneybowes.com/ca/shipping/api/v1/carrierAccounts/{carrierAccountID}
curl -i -X GET \
'https://api-sandbox.sendpro360.pitneybowes.com/carrieraccountmgmt/api/v1/carrierAccounts/{carrierAccountID}' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'X-PB-Developer-Partner-ID: string'Carrier Added Successfully
It defines the carrier ID, can be get from Get Carriers API
Enum:"FEDEX""UPS""DHLEXP"
Example:"FEDEX"
Response
{ "carrierAccountID": "abc3849", "accountNumber": "123338", "carrierID": "FEDEX", "description": "FedEx Account", "carrierAccountType": "Shipping", "provisioningType": "API", "parameters": { "username": "abcjsk", "accountAddress": { "addressLine1": "27 Watervw Dr", "city": "shelton", "state": "CT", "postalCode": "06484", "countryCode": "US", "email": "", "company": "", "name": "", "phone": "" }, "contactAddress": { "addressLine1": "27 Watervw Dr", "city": "shelton", "state": "CT", "postalCode": "06484", "countryCode": "US", "email": "", "company": "", "name": "", "phone": "" }, "hubID": "1544", "invoiceAmount": "2121", "invoiceControlID": "123D", "invoiceDate": "20201203", "invoiceNumber": "saas212121" } }