action shipengine_get_label_by_external_shipment_id {
label: "Get Label By External Shipment ID"
description: "Find a label by using the external shipment id that was used during label creation\n"
provider: shipengine
method: GET
path: "/v1/labels/external_shipment_id/{external_shipment_id}"
encoding: json
input: {
type: "object"
properties: {
label_download_type: {
type: "string"
description: "There are two different ways to [download a label](https://www.shipengine.com/docs/labels/downloading/):\n\n|Label Download Type | Description\n|--------------------|------------------------------\n|`url` |You will receive a URL, which you can use to download the label in a separate request. The URL will remain valid for 90 days.
This is the default if `label_download_type` is unspecified.\n|`inline` |You will receive the Base64-encoded label as part of the response. No need for a second request to download the label.\n"
enum: ["url", "inline"]
}
}
additionalProperties: false
}
output: {
type: "object"
description: "A get label by external shipment id response body"
additionalProperties: false
}
}