updateShipmentItem

Topics: Logistics

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

Returns

UpsertShipmentItemPayload!

Arguments

Shipment item ID to update

Fields to update — only provided fields are changed

Exact field SDL
"""
Update a shipment item. Only provided fields are changed. Requires shipment:write permission.
"""
updateShipmentItem(
  """Shipment item ID to update"""
  id: ShipmentItemID!
  """Fields to update — only provided fields are changed"""
  input: UpdateShipmentItemInput!
): UpsertShipmentItemPayload! @topic(names: ["logistics"])

Declared on Mutation. Access is checked by the platform for each operation.