CollectionSortOrder
enum
Specify the sorting order of products within the collection.
Values
PRICE_ASC
Sorted by price in ascending order (lowest to highest).
ALPHA_DESC
Sorted in descending alphabetical order (Z - A).
BEST_SELLING
Sorted by best-selling products.
OTHER_APP_MANUAL
Sorted by the custom order set within the app.
tip
Currently, it only supports returning data during queries, and does not support writing as input parameters.
OTHER_CONVERSION_RATE_DESC
Sorted by conversion rate in descending order.
CREATED
Sorted by creation date in ascending order (oldest to newest).
OTHER_ADD_TO_CART_DESC
Sorted by number of items added to cart in descending order.
PRICE_DESC
Sorted by price in descending order (highest to lowest).
CREATED_DESC
Sorted by creation date in descending order (newest to oldest).
MANUAL
Sorted by the order manually set by the merchant.
OTHER_UPDATED_ASC
Sorted by update date in ascending order (oldest to newest).
OTHER_UPDATED_DESC
Sorted by update date in descending order (newest to oldest).
ALPHA_ASC
Sorted in ascending alphabetical order (A - Z).
OTHER_VIEW_DESC
Sorted by page views in descending order.
Status and error codes
For detailed information about common codes, see Status and error codes.
Map
Field from
Input field from
CollectionSortOrder
Was this article helpful to you?