Appearance
UpdateShipmentTrackingPayload
Type: Object
Result of a shipment tracking update: the updated shipment, any order it moved as a side effect, or the errors that blocked it.
Fields
| Name | Type | Args | Description | Deprecated |
|---|---|---|---|---|
| errors | [FieldError!]! | Per-field validation errors — an unknown shipmentId, or a status transition the shipment's state machine forbids. Empty on success; when non-empty nothing was written. | ||
| order | OrderState | The linked order, present only when this update marked the shipment DELIVERED and thereby advanced the order to DELIVERED. Null otherwise — including on success for any other status. | ||
| shipment | ShipmentState | The updated shipment, with shippedAt stamped on the first move to PICKED_UP/IN_TRANSIT and deliveredAt stamped on DELIVERED. Null when errors is non-empty. |