POST

Search Orders


Retrieves a list of orders, given the provided paging, filtering, and sorting.

Search Orders runs with these defaults, which you can override:

  • createdDate is sorted in DESC order.
  • cursorPaging.limit is 100.

Notes:

  • By default, Search Orders doesn't return orders with status: "PENDING" or status: "REJECTED". To retrieve them, filter for the relevant status explicitly. For example, {"filter": {"status": "PENDING"}}.
  • Search Orders never returns orders with status: "INITIALIZED", regardless of the filter applied. To retrieve an order with status: "INITIALIZED", use Get Order.

To learn how to query or search orders, see API Query Language.

PropertyCapabilitiesFilters
channelInfo.typeSearch: ✗
Sort: ASC, DESC
$eq, $in, $ne, $nin
fulfillmentStatusSearch: ✗
Sort: ASC, DESC
$eq, $in, $ne, $nin
paymentStatusSearch: ✗
Sort: ASC, DESC
$eq, $in, $ne, $nin
shippingInfo.region.nameSearch: ✗
Sort: ASC, DESC
$eq, $in, $ne, $nin
shippingInfo.titleSearch: ✗
Sort: ASC, DESC
$eq, $in, $ne, $nin
statusSearch: ✗
Sort: ASC, DESC
$eq, $in, $ne, $nin
_createdDateSearch: ✗
Sort: ASC, DESC
$eq, $ne, $in, $exists, $gt, $gte, $lt, $lte
_updatedDateSearch: ✗
Sort: ASC, DESC
$eq, $ne, $in, $exists, $gt, $gte, $lt, $lte
balanceSummary.authorized.amountSearch: ✗
Sort: ASC, DESC
$eq, $ne, $in, $exists, $gt, $gte, $lt, $lte, $startsWith
balanceSummary.pending.amountSearch: ✗
Sort: ASC, DESC
$eq, $ne, $in, $exists, $gt, $gte, $lt, $lte, $startsWith
balanceSummary.pendingRefund.amountSearch: ✗
Sort: ASC, DESC
$eq, $ne, $in, $exists, $gt, $gte, $lt, $lte, $startsWith
billingInfo.contactDetails.firstNameSearch: ✗
Sort: ASC, DESC
$eq, $ne, $in, $exists, $gt, $gte, $lt, $lte, $startsWith
billingInfo.contactDetails.lastNameSearch: ✗
Sort: ASC, DESC
$eq, $ne, $in, $exists, $gt, $gte, $lt, $lte, $startsWith
businessLocation._idSearch: ✗
Sort: ASC, DESC
$eq, $ne, $in, $exists, $gt, $gte, $lt, $lte, $startsWith
businessLocation.nameSearch: ✗
Sort: ASC, DESC
$eq, $ne, $in, $exists, $gt, $gte, $lt, $lte, $startsWith
buyerInfo.emailSearch: ✗
Sort: ASC, DESC
$eq, $ne, $in, $exists, $gt, $gte, $lt, $lte, $startsWith
numberSearch: ✗
Sort: ASC, DESC
$eq, $ne, $in, $exists, $gt, $gte, $lt, $lte
priceSummary.total.amountSearch: ✗
Sort: ASC, DESC
$eq, $ne, $in, $exists, $gt, $gte, $lt, $lte, $startsWith
purchasedDateSearch: ✗
Sort: ASC, DESC
$eq, $ne, $in, $exists, $gt, $gte, $lt, $lte
shippingInfo.logistics.deliveryTimeSearch: ✗
Sort: ASC, DESC
$eq, $ne, $in, $exists, $gt, $gte, $lt, $lte, $startsWith
shippingInfo.logistics.deliveryTimeSlot.fromSearch: ✗
Sort: ASC, DESC
$eq, $ne, $in, $exists, $gt, $gte, $lt, $lte
shippingInfo.logistics.deliveryTimeSlot.toSearch: ✗
Sort: ASC, DESC
$eq, $ne, $in, $exists, $gt, $gte, $lt, $lte
taxInfo.totalTax.amountSearch: ✗
Sort: ASC, DESC
$eq, $ne, $in, $exists, $gt, $gte, $lt, $lte, $startsWith
archivedSearch: ✗
Sort: ✗
$eq, $ne, $in, $exists
importedSearch: ✗
Sort: ✗
$eq, $ne, $in, $exists
seenByAHumanSearch: ✗
Sort: ✗
$eq, $ne, $in, $exists
_idSearch: ✗
Sort: ✗
$eq, $in, $ne, $nin
buyerInfo.contactIdSearch: ✗
Sort: ✗
$eq, $in, $ne, $nin
buyerInfo.memberIdSearch: ✗
Sort: ✗
$eq, $in, $ne, $nin
channelInfo.externalOrderIdSearch: ✗
Sort: ✗
$eq, $in, $ne, $nin
checkoutIdSearch: ✗
Sort: ✗
$eq, $in, $ne, $nin
createdBy.userIdSearch: ✗
Sort: ✗
$eq, $in, $ne, $nin
lineItems.subscriptionInfo._idSearch: ✗
Sort: ✗
$eq, $in, $ne, $nin
lineItems.catalogReference.appIdSearch: ✗
Sort: ✗
$hasAll, $hasSome
lineItems.catalogReference.catalogItemIdSearch: ✗
Sort: ✗
$hasAll, $hasSome
lineItems.locations._idSearch: ✗
Sort: ✗
$hasAll, $hasSome
lineItems.productName.originalSearch: ✗
Sort: ASC, DESC
$hasAll, $hasSome
Authentication

This method may require higher-level permissions than the caller has, based on their identity and roles and permissions. In these cases, you can ensure the method is called with the required level of authorization by using one of the following:

Permissions
Read Orders
Learn more about app permissions.
Method Declaration
Copy
Errors

This method doesn't return any custom errors, but may return standard errors. Learn more about standard Wix errors.

Did this help?