← API reference
Mutation / logistics

updateShipment

Update a shipment. Only provided fields are changed. Requires shipment:write permission.

Arguments

Shipment ID to update

Fields to update — only provided fields are changed

Returns UpsertShipmentPayload!

Explore in a view

Fulfillment
View exact SDL
"""
Update a shipment. Only provided fields are changed. Requires shipment:write permission.
"""
updateShipment(
  """Shipment ID to update"""
  id: ShipmentID!
  """Fields to update — only provided fields are changed"""
  input: UpdateShipmentInput!
): UpsertShipmentPayload! @topic(names: ["logistics"])

Schema reference describes the API contract. Actual access is checked by the platform for every operation.