Update the cost of a previously generated shipment label.
| Time | Status | User Agent | |
|---|---|---|---|
| Make a request to see history. |
URL Expired
The URL for this request expired after 30 days.
Fields
shipiumShipmentId
Type: string
Required: truecarrierSelectionId
Type: string
Required: trueshipiumLabelId
Type: string
Required: truecarrierLabelCurrencyCode
Type: string
Description: Currency code which the price of the label is in.carrierLabelPrice
Type: float
Description: Cost charged by the carrier for shipping the package at the chosen service level.labelCostLineItems
Type: array of objects
Description: Breakdown of the costs of the label as communicated by the carrier.labelCostDetails
Type: array of objects
Description: Details about the interactions with the carrier label cost APIs.X-DELEGATED-PARTNER-ID
Type: string
Responses
200
Updated carrier label.400
Invalid currency code, cost, or line item.404
Unable to find Carrier Label.
Example Curl Request
curl --request PUT \
--url https://api.shipium.com/api/v1/deliveryexperience/shipment/shipiumShipmentId/carrierSelection/carrierSelectionId/label/shipiumLabelId/cost \
--header 'accept: application/json' \
--header 'content-type: application/json'
Responses
application/json
- 200
- 400
- 404
Updated 26 days ago