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
  • filter: {"status": {"$ne": "INITIALIZED"}} - other order statuses can be queried, but orders with status: "INITIALIZED" are never returned

For field support for filters and sorting, see Orders: Supported Filters and Sorting.

To learn about working with Search endpoints, see API Query Language, and Sorting and Paging.

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, $exists, $in, $any, $lt, $lte, $gt, $gte
updatedDateSearch: ✗
Sort: ASC, DESC
$eq, $ne, $exists, $in, $any, $lt, $lte, $gt, $gte
balanceSummary.authorized.amountSearch: ✗
Sort: ASC, DESC
$eq, $ne, $exists, $in, $any, $begins, $gt, $lt, $lte, $gte
balanceSummary.pending.amountSearch: ✗
Sort: ASC, DESC
$eq, $ne, $exists, $in, $any, $begins, $gt, $lt, $lte, $gte
balanceSummary.pendingRefund.amountSearch: ✗
Sort: ASC, DESC
$eq, $ne, $exists, $in, $any, $begins, $gt, $lt, $lte, $gte
billingInfo.contactDetails.firstNameSearch: ✗
Sort: ASC, DESC
$eq, $ne, $exists, $in, $any, $begins, $gt, $lt, $lte, $gte
billingInfo.contactDetails.lastNameSearch: ✗
Sort: ASC, DESC
$eq, $ne, $exists, $in, $any, $begins, $gt, $lt, $lte, $gte
businessLocation.idSearch: ✗
Sort: ASC, DESC
$eq, $ne, $exists, $in, $any, $begins, $gt, $lt, $lte, $gte
businessLocation.nameSearch: ✗
Sort: ASC, DESC
$eq, $ne, $exists, $in, $any, $begins, $gt, $lt, $lte, $gte
buyerInfo.emailSearch: ✗
Sort: ASC, DESC
$eq, $ne, $exists, $in, $any, $begins, $gt, $lt, $lte, $gte
numberSearch: ✗
Sort: ASC, DESC
$eq, $ne, $exists, $in, $any, $lt, $lte, $gt, $gte
priceSummary.total.amountSearch: ✗
Sort: ASC, DESC
$eq, $ne, $exists, $in, $any, $begins, $gt, $lt, $lte, $gte
purchasedDateSearch: ✗
Sort: ASC, DESC
$eq, $ne, $exists, $in, $any, $lt, $lte, $gt, $gte
shippingInfo.logistics.deliveryTimeSearch: ✗
Sort: ASC, DESC
$eq, $ne, $exists, $in, $any, $begins, $gt, $lt, $lte, $gte
shippingInfo.logistics.deliveryTimeSlot.fromSearch: ✗
Sort: ASC, DESC
$eq, $ne, $exists, $in, $any, $lt, $lte, $gt, $gte
shippingInfo.logistics.deliveryTimeSlot.toSearch: ✗
Sort: ASC, DESC
$eq, $ne, $exists, $in, $any, $lt, $lte, $gt, $gte
taxInfo.totalExempt.amountSearch: ✗
Sort: ASC, DESC
$eq, $ne, $exists, $in, $any, $begins, $gt, $lt, $lte, $gte
taxInfo.totalTax.amountSearch: ✗
Sort: ASC, DESC
$eq, $ne, $exists, $in, $any, $begins, $gt, $lt, $lte, $gte
archivedSearch: ✗
Sort: ✗
$eq, $ne, $exists, $in, $any
seenByAHumanSearch: ✗
Sort: ✗
$eq, $ne, $exists, $in, $any
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
fulfillmentStatusesAggregate.statusesSearch: ✗
Sort: ASC, DESC
$hasAll, $hasSome
lineItems.productName.originalSearch: ✗
Sort: ASC, DESC
$hasAll, $hasSome
Authentication

You can only call this method when authenticated as a Wix app or Wix user identity.

Permissions
Read Orders
Learn more about app permissions.
Endpoint
POST
https://www.wixapis.com/ecom/v1/orders/search

Errors

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

Did this help?