The Update Carrier operation enables you to update a carrier account and specifies its usable capabilities. By default, all available services, parcel types, and special services provided by the carrier are accessible. With this API, you can specify only the capabilities (services, parcel types, special services) that should be available for Rate Shop and Create Shipment operations. If a shipment request attempts to use a capability not enabled through this API, an error will be returned.
Note: Support for this capability in the Create and Rate Shipment APIs is under active development. It is targeted for next release, but availability may change before GA..
Carrier Added Successfully
Invalid request.
The request could not be authorized.
{- "accountNumber": "123338",
- "carrierID": "FEDEX",
- "description": "FedEx Account",
- "parameters": {
- "username": "abcjsk",
- "password": "*******",
- "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",
- "hostName": "gppprt2ftp-ext.test.com",
- "manifestUserId": "testuser",
- "manifestPassword": "testpassword",
- "manifestPath": "/in",
- "capabilities": {
- "services": [
- "NDA"
], - "packages": [
- "LTR"
], - "specialServices": [
- "INS"
]
}
}
}{- "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",
- "capabilities": {
- "services": [
- "NDA"
], - "packages": [
- "LTR"
], - "specialServices": [
- "INS"
]
}
}, - "permission": {
- "permissionByEntity": "ORG",
- "permissionByValue": "12345"
}
}