# Update Delivery Endpoint: PUT /organisations/{orgId}/deliveries/{deliveryId} Version: v2_28 Security: ApiKeyAuth ## Path parameters: - `deliveryId` (string, required) - `orgId` (string, required) The organisation identity ## Header parameters: - `contentType` (string, required) ## Request fields (application/json): - `deliveryId` (string, required) User-assigned unique identifier for the delivery. - `from` (string, required) The URI of the location from which the delivery is being delivered from. - `to` (string, required) The URI of the location to which the delivery is being delivered to. - `status` (string, required) The current status of the delivery. Enum: "DELIVERED", "PENDING", "IN_PROGRESS" - `sent` (string) The date and time of when the delivery has been sent. - `delivered` (string) The date and time of when the delivery has been delivered. - `items` (array) List of items included in the delivery. - `items.item` (string, required) The URI of the item included in the delivery. - `items.quantity` (number, required) The quantity of the item included in the delivery. - `agents` (array) List of agent organisation URIs that are associated with the delivery. - `purchaseOrderNumbers` (array) Associated Purchase Orders ## Response 200 fields (application/json): - `deliveryId` (string, required) User-assigned unique identifier for the delivery. - `from` (string, required) The URI of the location from which the delivery is being delivered from. - `to` (string, required) The URI of the location to which the delivery is being delivered to. - `status` (string, required) The current status of the delivery. Enum: "DELIVERED", "PENDING", "IN_PROGRESS" - `sent` (string) The date and time of when the delivery has been sent. - `delivered` (string) The date and time of when the delivery has been delivered. - `items` (array) List of items included in the delivery. - `items.item` (string, required) The URI of the item included in the delivery. - `items.quantity` (number, required) The quantity of the item included in the delivery. - `agents` (array) List of agent organisation URIs that are associated with the delivery. - `purchaseOrderNumbers` (array) Associated Purchase Orders - `id` (string) System assigned or user defined id field. - `createdBy` (string) User who created the record. - `createdTime` (string) Date & Time that the record was created. - `updatedBy` (string) Last updated by user. - `updatedTime` (string) Date & Time that the record was last updated. ## Response 400 fields ## Response 401 fields ## Response 403 fields ## Response 404 fields ## Response 429 fields ## Response 500 fields