Update delivery
update_deliveryEdit a delivery's own record (name, rationale, summary, ship date) and add or remove its batches. Only supplied fields change; pass an empty string to clear a text field. addBatchIds puts ready batches that no delivery carries into this one, and removeBatchIds takes batches out of it; every other batch stays. Take a batch out of its current delivery before adding it to another. shippedAt corrects when it shipped (ISO date or date-time, not in the future). The name is a free-form label and must stay non-empty and unique within its project. Returns the delivery's resulting batches. At a workflow run's Delivery stage, adding every ready Batch of the run to one existing Delivery completes the stage instead of create_delivery. In a run of a workflow that starts at Delivery, adding any ready Batch no delivery carries to an existing Delivery completes the stage.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Id of the Delivery. | |
| name | No | New Delivery name, a free-form label. | |
| metrics | No | Optional client measurements, stored on the workflow step this call completes. | |
| summary | No | What shipped; an empty string clears it. | |
| rationale | No | Why the Delivery exists; an empty string clears it. | |
| shippedAt | No | Ship date, as an ISO date or date-time. | |
| addBatchIds | No | Ready Batches to add. | |
| removeBatchIds | No | Batches to take out. |