carrier-selection
Cancel an existing carrier selection.
Changed ondelete/api/v1/deliveryexperience/shipment/{shipmentId}/carrierSelection/{carrierSelectionId}
Request
- Base URLhttps://api.shipium.com
- AuthOAuth 2PasswordToken URLhttps://auth.shipium.com/oauth/tokenScopesdelivery-experience-service
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
shipmentIdstring required
The shipiumShipmentId or partnerShipmentId.
carrierSelectionIdstring required
The Shipium carrierSelectionId.
Query parameters
cancellationDateTimestring date-time
The date that this carrier selection was cancelled. Defaults to now.
Response
CarrierSelection successfully cancelled.
Example response
{
"carrierDecision": {
"injectionDetails": {
"injectionCostDetails": {
"injectionLineItemRate": 2.3,
"injectionLineItemCurrencyCode": "usd"
}
},
"currencyCode": "USD"
},
"laneMatch": {
"laneId": "asdqwdq-qwd123ds-123asdwd-123asd",
"partnerLaneId": "custom partner provided id"
},
"cancellationDateTime": "2024-10-31T10:50:11.123456Z",
"currencyCode": "USD"
}Changes
- warning
deleted the
headerrequest parameterX-DELEGATED-PARTNER-ID
- warning