Admin API / Mutations

updateShipmentParcels

Sets the parcel and, when given, the hazardous-material flag and the insurance of 1 to 100 NOT_STARTED shipments. A null containsHazmat or insurance keeps each shipment's value. One result per input ID, in input order; a failed shipment does not stop the others. A repeat with the same input gives the same state.

Requires a client key with one of these scopes: admin:shipments:writeRequires this member role or higher: SELLER A member below this role, or an inactive member, who has outstanding seller obligations can also call it.
updateShipmentParcels(
  input: UpdateShipmentParcelsInput!
): UpdateShipmentParcelsPayload!

Arguments

ArgumentTypeDescription
inputUpdateShipmentParcelsInput!The shipments and the values to set on each.

Return type

UpdateShipmentParcelsPayload!