Create a custom carrier code that represents a specific combination of carrier, carrier account,
parcel type, service, and special services.
This custom carrier code can then be used in the Create Shipment API, so users don't need to manually
re-enter these parameters each time.
Once generated, the code can be reused across multiple shipments to reduce effort in shipping requests.
Custom Carrier Code successfully created.
Invalid request.
The request could not be authorized.
The request could not be completed due to an internal error.
{- "code": "FEDEX-custom-code1",
- "carrier": "FEDEX",
- "carrierAccountId": "xxxxxxxxxxx",
- "parcelType": "PKG",
- "parcelName": "Package",
- "serviceId": "GRD",
- "serviceName": "Ground",
- "specialServices": [
- {
- "specialServiceId": "INS",
- "inputParameters": [
- {
- "name": "INPUT_VALUE",
- "value": "101"
}
], - "fee": 0
}
]
}
{- "code": "FEDEX-custom-code1"
}