Skip to main content

OrderFilterInput

Filtering options for orders

input OrderFilterInput {
b2bOrder: Boolean
brandIds: [ID!] @deprecated
carrierIds: [ID!]
createdById: ID
customerIds: [ID!]
customerLinkStatus: [CustomerLinkStatusEnum!]
customerRefNumber: String
endDate: ISO8601DateTime
endShippingDateFrom: ISO8601DateTime
endShippingDateTo: ISO8601DateTime
fulfillable: Boolean
fulfillmentMethods: [OrderFulfillmentMethodEnum!]
integrationId: ID
keyword: String
linkCustomerId: ID
orderNumber: String
poNumber: String
productIds: [ID!]
quickSearch: String
responsibleId: ID
salesChannelIds: [ID!]
shipmentCreatedAtFrom: ISO8601DateTime
shipmentCreatedAtTo: ISO8601DateTime
shipmentShippedDateFrom: ISO8601DateTime
shipmentShippedDateTo: ISO8601DateTime
sortField: OrderSortFieldEnum
sortType: SortTypeEnum
sourceIntegrationIds: [ID!]
startDate: ISO8601DateTime
startShippingDateFrom: ISO8601DateTime
startShippingDateTo: ISO8601DateTime
status: [OrderStatusEnum!]
statusAlertSeverity: [OrderStatusAlertSeverityEnum!]
tagNames: [String!]
templateId: ID
}

Fields​

OrderFilterInput.b2bOrder ● Boolean scalar common​

Filter by special orders. If true, only special orders will be returned.

OrderFilterInput.brandIds ● [ID!] deprecated list scalar common​

DEPRECATED

This argument will be removed in the future. Brand is becoming a product-only attribute. Use company context instead.

OrderFilterInput.carrierIds ● [ID!] list scalar common​

Carrier IDs to filter orders by.

OrderFilterInput.createdById ● ID scalar common​

OrderFilterInput.customerIds ● [ID!] list scalar common​

Customer IDs to filter orders by, including archived customers.

OrderFilterInput.customerLinkStatus ● [CustomerLinkStatusEnum!] list enum common​

Filter by customer assignment, limited to the V2 orders that support reassignment. Linked and Different Customer are relative to link_customer_id.

OrderFilterInput.customerRefNumber ● String scalar common​

Filter special orders by customer reference number.

OrderFilterInput.endDate ● ISO8601DateTime scalar common​

End date to filter orders by.

OrderFilterInput.endShippingDateFrom ● ISO8601DateTime scalar common​

Filter special orders by end shipping date (from).

OrderFilterInput.endShippingDateTo ● ISO8601DateTime scalar common​

Filter special orders by end shipping date (to).

OrderFilterInput.fulfillable ● Boolean scalar common​

Fulfillability status to filter orders by. If not provided, all fulfillable statuses will be included.

OrderFilterInput.fulfillmentMethods ● [OrderFulfillmentMethodEnum!] list enum orders​

Fulfillment methods to filter orders by.

OrderFilterInput.integrationId ● ID scalar common​

Filter orders by source integration ID.

OrderFilterInput.keyword ● String scalar common​

Keyword to search for in orders. This keyword will be searched in order number, ship to name, ship to email, ship to phone, ship to company, bill to name, bill to email, bill to phone, and bill to company.

OrderFilterInput.linkCustomerId ● ID scalar common​

Customer used to evaluate Linked and Different Customer filters.

OrderFilterInput.orderNumber ● String scalar common​

OrderFilterInput.poNumber ● String scalar common​

Filter special orders by PO number.

OrderFilterInput.productIds ● [ID!] list scalar common​

Product IDs to filter orders by.

OrderFilterInput.quickSearch ● String scalar common​

Fast order search scoped to order number.

OrderFilterInput.responsibleId ● ID scalar common​

OrderFilterInput.salesChannelIds ● [ID!] list scalar common​

Sales channel IDs to filter orders by.

OrderFilterInput.shipmentCreatedAtFrom ● ISO8601DateTime scalar common​

Filter orders by shipment created at date (from).

OrderFilterInput.shipmentCreatedAtTo ● ISO8601DateTime scalar common​

Filter orders by shipment created at date (to).

OrderFilterInput.shipmentShippedDateFrom ● ISO8601DateTime scalar common​

Filter orders by shipment shipped date (from).

OrderFilterInput.shipmentShippedDateTo ● ISO8601DateTime scalar common​

Filter orders by shipment shipped date (to).

OrderFilterInput.sortField ● OrderSortFieldEnum enum orders​

Field to sort orders by.

OrderFilterInput.sortType ● SortTypeEnum enum common​

Sort type for orders.

OrderFilterInput.sourceIntegrationIds ● [ID!] list scalar common​

Source integration IDs to filter orders by.

OrderFilterInput.startDate ● ISO8601DateTime scalar common​

Start date to filter orders by.

OrderFilterInput.startShippingDateFrom ● ISO8601DateTime scalar common​

Filter special orders by start shipping date (from).

OrderFilterInput.startShippingDateTo ● ISO8601DateTime scalar common​

Filter special orders by start shipping date (to).

OrderFilterInput.status ● [OrderStatusEnum!] list enum orders​

OrderFilterInput.statusAlertSeverity ● [OrderStatusAlertSeverityEnum!] list enum orders​

OrderFilterInput.tagNames ● [String!] list scalar common​

Filter orders by tag names. Returns orders that have at least one tag matching the provided names.

OrderFilterInput.templateId ● ID scalar common​

Filter special orders by template ID.

Member Of​

orders query