Sets the allowed capabilities—services, packages, and special services - for a subscription and carrier. By default, all carrier-provided capabilities are available. After this call, only the specified capabilities are permitted for Rate Shop and Create Shipment operations. Requests that use capabilities not in this allowlist are rejected with an error.
Note: Support for this capability in other Shipment APIs is under active development. It is targeted for next release.
Subscription capabilities have been updated successfully.
Invalid request.
The request could not be authorized.
The request could not be completed due to an internal error.
{- "originCountryCode": "US",
- "capabilities": {
- "parcelTypes": [
- "LP"
], - "services": [
- "NDA"
], - "specialServices": [
- "INS"
]
}
}[- {
- "errorCode": "validation_error",
- "errorDescription": "Error while getting rates for carrier with carrierAccount eRMnRx4mzPP.",
- "additionalCode": "string",
- "additionalInfo": "string",
- "additionalParameters": [
- "string"
]
}
]