Przejdź do głównej zawartości

OrderFilterInput

Dla: Programista

Typ wejściowyOrderFilterInput

Conditions on orders: an order is listed when it meets every condition given. Omitted conditions do not filter.

Pola

PoleTypOpis
archivedBoolean

True: only archived orders; false: only orders outside the archive. Omit for both.

clientIdID

Orders of the client with this identifier.

completionFromString

Orders due to be completed at or after this moment (ISO 8601, like createdFrom).

completionToString

Orders due to be completed at or before this moment (ISO 8601, like createdTo).

createdFromString

Orders created at or after this moment: an ISO 8601 date-time, or a date meaning midnight UTC at its start.

createdToString

Orders created at or before this moment (ISO 8601; a date alone means midnight UTC at its start, so it excludes the rest of that day).

displayIdString

Orders whose number contains this text, ignoring case, for example 1084/ (up to 50 characters).

isDeadlineBoolean

True: orders with a strict completion deadline; false: orders without one.

paymentDueDateFromString

Orders with a payment due date on or after this day (ISO 8601 date).

paymentDueDateToString

Orders with a payment due date on or before this day (ISO 8601 date).

paymentMethodPaymentMethod

Orders paid with this method. Ignored when paymentMethodIn is given.

paymentMethodIn[PaymentMethod!]

Orders paid with any of these methods.

paymentStatusPaymentStatus

Orders with this payment status. Ignored when paymentStatusIn is given.

paymentStatusIn[PaymentStatus!]

Orders with any of these payment statuses.

productHasPackingDateBoolean

True: orders with a product that has a packing date; false: orders with a product without one. Omit for both. It holds for the same product as the other product conditions, so false together with a packing-date range lists nothing.

productIsFscBoolean

True: orders with an FSC-certified product; false: orders with a product that is not FSC-certified.

productNameContainsString

Orders with a product whose name contains this text, ignoring case (up to 200 characters). Product conditions together must hold for the same product.

productPackingDateFromDateTime

Orders with a product planned to be packed at or after this moment (inclusive). Prynt stores a packing date as the start of that day in the print shop's time zone (Europe/Warsaw), possibly with a time of day: pass both bounds as date-times with an offset, e.g. 2026-10-30T00:00:00+01:00 (+02:00 in summer time). Product conditions together must hold for the same product.

productPackingDateToDateTime

Orders with a product planned to be packed at or before this moment (inclusive), e.g. 2026-10-30T23:59:59+01:00 for the whole day.

productStatusProductStatus

Orders with a product in this status. Ignored when productStatusIn is given.

productStatusIn[ProductStatus!]

Orders with a product in any of these statuses.

statusOrderStatus

Orders in this status. Ignored when statusIn is given.

statusIn[OrderStatus!]

Orders in any of these statuses.

transportMethodTransportMethod

Orders with this transport method. Ignored when transportMethodIn is given.

transportMethodIn[TransportMethod!]

Orders with any of these transport methods.

updatedFromDateTime

Orders that changed at or after this moment (inclusive), as Order.updatedAt shows it. For incremental sync: pass the latest updatedAt you have seen, minus a few minutes, and sort by UPDATED_AT. Null or left out: no bound (the first run of a sync reads every order).

Używane w