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.
  • Orders don't include payment method details. To retrieve them, specify the order IDs in List Transactions For Multiple Orders.

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.totalExempt.amountSearch: ✗
Sort: ASC, DESC
$eq, $ne, $in, $exists, $gt, $gte, $lt, $lte, $startsWith
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
fulfillmentStatusesAggregate.statusesSearch: ✗
Sort: ASC, DESC
$hasAll, $hasSome
lineItems.productName.originalSearch: ✗
Sort: ASC, DESC
$hasAll, $hasSome
appliedDiscounts.coupon.idSearch: ✗
Sort: ✗
$hasAll, $hasSome
Authentication

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

Permission Scopes
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?