Creates a RETURN-direction Shipment, buying its Label in the same request unless generateLabel is false. Carriers whose integration cannot express a return are refused rather than allowed to emit an outbound label from the reversed parties. Separate from shipmentCreateWorkflow because the input differs, not the flow — it runs the same workflow underneath. Parties and cartons come from the quoted Root, never from the outbound shipment: re-deriving either would let a parcel ship against addresses or dimensions that were not the ones priced.
Mutation.
shipmentReturnCreateWorkflow
Creates a
RETURN-directionShipment, buying itsLabelin the same request unlessgenerateLabelis false. Carriers whose integration cannot express a return are refused rather than allowed to emit an outbound label from the reversed parties. Separate fromshipmentCreateWorkflowbecause the input differs, not the flow — it runs the same workflow underneath. Parties and cartons come from the quotedRoot, never from the outbound shipment: re-deriving either would let a parcel ship against addresses or dimensions that were not the ones priced.Arguments
input
ShipmentReturnCreateWorkflowInput!
Required
Returns:
Shipment!
type Mutation { shipmentReturnCreateWorkflow(input: ShipmentReturnCreateWorkflowInput!): Shipment! }