📦 ProStarParcel Shipping Label Upload
This action retrieves a shipping label for a specific ProStarParcel shipment and uploads the resulting PDF file. The label file is returned as a downloadable URL, which can be used in emails, workflows, or customer notifications.
You must have already booked the shipment using the Book Shipment endpoint. The label can then be retrieved using the Retrieve Shipping Label endpoint.
Inputs
In order to use the action in your flow you need to provide it with the following inputs:
Input | Type | Description |
---|---|---|
env | String | Environment region to upload the file to (eu or us) |
customerId | String | ProStarParcel customer ID |
bookNumber | String | Book number of the shipment |
prostarToken | String | ProStarParcel API token (Bearer token) |
flowId | String | ID of the DG flow |
external Id | String | External execution ID |
filename | String | (Optional) Custom file name for the PDF label (e.g. label-12345.pdf) |
DG apiKey | String | DG API key for uploading the file |
DG apiSecret | String | DG API secret for uploading the file |
Outputs
Input | Type | Description |
---|---|---|
Success | Boolean | Book number of the shipment |
fileUrl | String | URL of the uploaded label PDF (can be used or shared) |
📘 Example
Input:
{ "customerId": "10000091", "bookNumber": "16137509", "filename": "label-16137509.pdf" }
Output:
{ "success": true, "fileUrl": "https://dg-flow-media.../label-16137509.pdf" }
Updated 1 day ago