Admin API / Types

ShipmentWhereInput

Input

Shipment filters. Values in one list are alternatives; fields combine with AND. An omitted field or an empty list matches every shipment. An ID list holds at most 100 IDs; more gives a thrown VALIDATION_ERROR.

input ShipmentWhereInput

Input fields

FieldTypeDescription
createdAtDateTimeRangeInputShipments created in this range: from inclusive, to exclusive.
sellerIds[ID!]Shipments of these sellers, inside the shipments that the field reads. An ID outside them matches nothing.
shipmentIds[ID!]Shipments with these IDs.
status[ShipmentStatus!]Shipments with one of these statuses. UNKNOWN matches statuses that the API does not recognize.
updatedAtDateTimeRangeInputShipments whose shipment record changed in this range: from inclusive, to exclusive. A status change, a label, a parcel change and the end of bundling count as a change. A new order that joins the shipment and a change to an order do not count. The recorded time is the start of the write: when you read changes in consecutive ranges, overlap each range with the previous one.