Chameleoon MAX · Types
ProductSortKey enum
How products are sorted. The id breaks a tie.
Values
CODE
By code.
UPDATED_AT
By updatedAt, oldest first. Use it with updatedFrom and includeArchived: true for an
incremental sync: archiving a product moves its updatedAt, and archivedAt tells you that
the product is gone.
updatedAt is the start time of the transaction that wrote the change, so a change committed
later can sort before one you already read. Resume from the last updatedAt you saw minus 10
minutes, and remove duplicates by id.
Used by
products(query)