TanqoryDocs

CustomerSortKeys

  • Enum
  • Customers and B2B

Values

ValueDescription
CREATED_AT
ID
LOCATION
NAME
RELEVANCE
TANQORY_EXT_AMOUNT_SPENT

Sort by the amount the customer has spent (amountSpent). Ties by ID.

TANQORY_EXT_FIRST_ORDER_DATE

Orders customers by when they first bought (processedAt of their earliest order). Ascending puts customers who never ordered at the end. Equal dates fall back to ID.

TANQORY_EXT_LAST_ABANDONED_ORDER_DATE

Sort by the date of the customer's most recent abandoned checkout. Customers without one last ascending. Ties by ID.

TANQORY_EXT_LAST_ORDER_DATE

Orders customers by when they last bought (processedAt of their latest order). Ascending puts customers who never ordered at the end. Equal dates fall back to ID.

TANQORY_EXT_NUMBER_OF_ORDERS

Sort by the number of orders the customer has made (numberOfOrders). Ties by ID.

UPDATED_AT

Taken by

Built from commit c0b3fb3fdef7 · API version 2026-10