Admin API / Types

DiscountCodeSortField

Enum

Fields to sort discount codes by.

enum DiscountCodeSortField

Values

  • CODE: The code text.
  • CREATED_AT: The creation time.
  • EXPIRES_AT: The expiry time. Codes with no expiry sort last in both directions.
  • USAGE_COUNT: usageCount.