Actions2
Add Delivery
AI-generatedSummary
Adds a new delivery to Parcel App for tracking by sending a POST request to the Parcel API's /add-delivery/ endpoint with the tracking number, carrier code and description.
Inputs
- Tracking Number (required) — Tracking number of the delivery. Sent as tracking_number.
- Carrier Code (required) — Internal Parcel carrier code such as "ups", "fedex" or "dhl". Use "pholder" for a placeholder delivery. The supported list is at https://api.parcel.app/external/supported_carriers.json. Sent as carrier_code.
- Description (required) — Description or label for the delivery.
- Additional Fields — Optional collection. Language is a two-letter ISO 639-1 code for delivery information (default "en"). Send Push Confirmation is a boolean that sends a push notification when the delivery is added (default false).
- Request Options — Node settings for the HTTP request: batching (items per batch, batch interval in ms), ignore SSL issues, proxy URL, and timeout in ms (default 10000).
Output shape
The JSON response from the Parcel App API for the add-delivery request, returned as the node's output item(s).
The node uses declarative routing, so the response fields come from the API and aren't defined in the node. Requires the parcelAppApi credential. Each input item triggers one request, and batching can throttle them.
Examples
Example 1: Track a UPS package from an order confirmation and get a push notification on success.
Tracking Number = {{$json.tracking}}, Carrier Code = ups, Description = "Order #1234", Additional Fields: Send Push Confirmation = true.
Example 2: Create a placeholder delivery before a tracking number is available.
Carrier Code = pholder, Tracking Number = a reference string, Description = "Pending shipment".