Actions14
Update Shipments
AI-generatedSummary
Update one or more shipments in a specified Miva store by providing shipment IDs from input data and optionally updating shipment details such as marking as shipped, tracking number, tracking type, cost, and weight.
Inputs
- Store Code (required) — The Miva store code identifier.
- Shipment ID Field (required) — Field in input data that contains the shipment ID for each shipment to update.
- Additional Fields — Optional fields from input data to update shipment details, including 'Mark Shipped Field' (indicates whether to mark shipment as shipped), 'Track Number Field' (tracking number), 'Track Type Field' (tracking type), 'Cost Field' (shipping cost), and 'Weight Field' (weight).
Output shape
a single JSON object summarizing the update outcome for all processed shipments
Output includes success status, count of processed items, number of shipments updated, and the list of shipment IDs updated. If no valid shipment IDs are found or no input data is provided, returns a message indicating this. Errors throw exceptions unless 'Continue On Fail' is enabled, in which case error information is returned as JSON.
Examples
Example 1: Update shipment statuses and add tracking information for shipments identified by shipment IDs in the input
Set 'Store Code' to the target Miva store, specify 'Shipment ID Field' as the input field containing shipment IDs, and optionally provide field names for tracking number, tracking type, cost, weight, or marking as shipped to update those details.