shippingContainerAssignPieces
Put pieces in a sorting container, all or nothing. Pieces in another container are moved.
Arguments
containerIdID!ID of the sorting container.
pieceIds[ID!]!IDs of the shipment pieces, at most 100.
Returns
barcodeStringBarcode of the piece
createdAtDateTimeTz!When the shipment was created.
idID!Unique primary key.
barcodeStringBarcode of the shipment
canceledAtDateTimeWhen the shipment was canceled.
carrierCarrier!Carrier used for the shipment
contentsShipmentContentConnection!Contents of the shipment for customs
createdAtDateTimeTz!When the shipment was created.
customsInvoiceNumberStringInvoice number for customs
customsShipmentTypeCustomsShipmentTypeShipment export type for customs
DOCUMENTSGIFTRETURNED_GOODSSALE_GOODSSAMPLEdeliveryAddressAddressDelivery address of the shipment
eventsEventConnection!Events related to this shipment
Files of the shipment
idID!Unique primary key.
labelTypeStringRequested label type of the shipment
piecesShipmentPieceConnection!Pieces of the shipment
piecesCountIntNumber of pieces
recipientAddressAddressRecipient address of the shipment
referenceStringReference of the shipment
returnAddressAddress!Return address of the shipment
senderAddressAddress!Sender address of the shipment
shippingPhaseShippingPhaseShipping phase of the shipment.
shippingServiceShippingServiceShipping service
shippingServiceMethodShippingServiceMethodShipping service method
shippingStatusShippingStatusLatest carrier shipping status of the shipment.
statusShipmentStatus!Status of the shipment
CANCELEDCREATEDERRORGENERATEDGENERATINGPRINTEDREQUESTEDSHIPPEDtrackingCodeStringTracking code of the shipment
trackingUrlStringTracking url of the shipment
typeString!Type of the shipment
updatedAtDateTimeTz!When the shipment was last updated.
childrenShippingContainerConnection!Sorting containers on this collection pallet.
closedAtDateTimeTzWhen the container was closed.
codeString!Code printed on the label and scanned to address the container.
collectorShippingCollector!Collector that picks the container up.
createdAtDateTimeTz!When the container was created.
departedAtDateTimeTzWhen the container left the warehouse.
departureRemarksStringRemarks entered at departure.
destinationShippingDestinationDestination of a sorting container; empty for a collection pallet.
idID!Unique primary key.
parentShippingContainerCollection pallet this container is on.
piecesShipmentPieceConnection!Shipment pieces in this container.
piecesCountInt!Number of pieces in this container; a collection pallet counts the pieces of its children.
updatedAtDateTimeTz!When the container was last updated.
trackingUrlStringTracking url of the piece
updatedAtDateTimeTz!When the shipment was last updated.
valueFloat!Weight value
A list of ShippingContainer edges.
pageInfoPageInfo!Pagination information about the list of edges.
closedAtDateTimeTzWhen the container was closed.
codeString!Code printed on the label and scanned to address the container.
createdAtDateTimeTz!When the collector was created.
destinationsShippingDestinationConnection!Destinations this collector picks up for.
idID!Unique primary key.
isActiveBoolean!Whether new containers can be created for this collector.
nameString!Name of the collector.
pickupExceptionsShippingPickupExceptionConnection!Exceptions to the weekly pickup moments.
pickupMoments[DateTimeTz!]!Pickup moments of the next days, today included, after exceptions and in the warehouse timezone.
pickupSchedulesShippingPickupScheduleConnection!Weekly pickup moments.
updatedAtDateTimeTz!When the collector was last updated.
waitingContainersCountInt!Top-level open or closed containers with at least one piece, waiting to depart. A pallet counts as one container.
waitingPiecesCountInt!Pieces in the containers counted by waitingContainersCount, including those in a pallet's child containers.
createdAtDateTimeTz!When the container was created.
departedAtDateTimeTzWhen the container left the warehouse.
departureRemarksStringRemarks entered at departure.
collectorShippingCollector!Collector that picks up this destination.
createdAtDateTimeTz!When the destination was created.
idID!Unique primary key.
instructionStringInstruction printed on the container label.
isActiveBoolean!Whether pieces can be sorted to this destination.
logoAvatarLogo printed on the container label.
nameString!Name of the destination.
updatedAtDateTimeTz!When the destination was last updated.
idID!Unique primary key.
parentShippingContainerCollection pallet this container is on.
A list of ShipmentPiece edges.
pageInfoPageInfo!Pagination information about the list of edges.
piecesCountInt!Number of pieces in this container; a collection pallet counts the pieces of its children.
updatedAtDateTimeTz!When the container was last updated.
cursorString!A unique cursor that can be used for pagination.
The ShippingContainer node.
endCursorStringThe cursor to continue paginating forwards.
hasNextPageBoolean!When paginating forwards, are there more items?
hasPreviousPageBoolean!When paginating backwards, are there more items?
startCursorStringThe cursor to continue paginating backwards.
closedAtDateTimeTzWhen the container was closed.
codeString!Code printed on the label and scanned to address the container.
createdAtDateTimeTz!When the collector was created.
A list of ShippingDestination edges.
pageInfoPageInfo!Pagination information about the list of edges.
idID!Unique primary key.
isActiveBoolean!Whether new containers can be created for this collector.
nameString!Name of the collector.
A list of ShippingPickupException edges.
pageInfoPageInfo!Pagination information about the list of edges.
pickupMoments[DateTimeTz!]!Pickup moments of the next days, today included, after exceptions and in the warehouse timezone.
A list of ShippingPickupSchedule edges.
pageInfoPageInfo!Pagination information about the list of edges.
updatedAtDateTimeTz!When the collector was last updated.
waitingContainersCountInt!Top-level open or closed containers with at least one piece, waiting to depart. A pallet counts as one container.
waitingPiecesCountInt!Pieces in the containers counted by waitingContainersCount, including those in a pallet's child containers.
createdAtDateTimeTz!When the container was created.
departedAtDateTimeTzWhen the container left the warehouse.
departureRemarksStringRemarks entered at departure.
createdAtDateTimeTz!When the collector was created.
destinationsShippingDestinationConnection!Destinations this collector picks up for.
idID!Unique primary key.
isActiveBoolean!Whether new containers can be created for this collector.
nameString!Name of the collector.
pickupExceptionsShippingPickupExceptionConnection!Exceptions to the weekly pickup moments.
pickupMoments[DateTimeTz!]!Pickup moments of the next days, today included, after exceptions and in the warehouse timezone.
pickupSchedulesShippingPickupScheduleConnection!Weekly pickup moments.
updatedAtDateTimeTz!When the collector was last updated.
waitingContainersCountInt!Top-level open or closed containers with at least one piece, waiting to depart. A pallet counts as one container.
waitingPiecesCountInt!Pieces in the containers counted by waitingContainersCount, including those in a pallet's child containers.
createdAtDateTimeTz!When the destination was created.
idID!Unique primary key.
instructionStringInstruction printed on the container label.
isActiveBoolean!Whether pieces can be sorted to this destination.
urlString!URL of the avatar.
nameString!Name of the destination.
updatedAtDateTimeTz!When the destination was last updated.
idID!Unique primary key.
parentShippingContainerCollection pallet this container is on.
cursorString!A unique cursor that can be used for pagination.
nodeShipmentPiece!The ShipmentPiece node.
endCursorStringThe cursor to continue paginating forwards.
hasNextPageBoolean!When paginating forwards, are there more items?
hasPreviousPageBoolean!When paginating backwards, are there more items?
startCursorStringThe cursor to continue paginating backwards.
piecesCountInt!Number of pieces in this container; a collection pallet counts the pieces of its children.
updatedAtDateTimeTz!When the container was last updated.
field[String!]messageString!