ENUM

PurposeEnum

The category of the option type. Mostly for validating associated adverts.

link GraphQL Schema definition

  • enum PurposeEnum {
  • # For advert variants that users can select to indicate which product options they
  • # want.
  • VARIANT
  • # Mandatory option types for the given advert type. Fixed for the associated
  • # advert
  • #
  • # (i.e. users cannot select different variants)
  • FEATURE
  • # Similar to PRODUCT_DETAILS_SELECT, except the seller can enter any label
  • #
  • # rather than selecting from a fixed list of values.
  • PRODUCT_DETAILS_TEXT
  • # Similar to FEATURE option types, except not mandatory.
  • PRODUCT_DETAILS_SELECT
  • # Returns OTHER if there is no purpose given
  • OTHER
  • }