# Miscellaneous

Additional values, data types and more stuff that was not covered in main objects described.


# Gender values

If you're struggling with setting up gender for a user, here's simple solution. Gender values in User.com are integers as follow:

  • 1 unknown
  • 2 male
  • 3 female

# Attribute types

If you're trying to create new attribute with type, you wanted to know which values are for each type.

  • boolean for boolean attribute
  • integer for integer attribute
  • date for date attribute
  • string for string attribute
  • datetime for date and time attribute
  • fixed for fixed choices attribute
  • float for floating point numbers

# Message source types

These define from where the message was sent:

  • 1 Chat message
  • 2 Email
  • 3 API
  • 4 SMS

# Phone number format

The only format that passes through our validation of phone numbers is E.164 (opens new window) , please refer to that, or if you want to use other format - create custom attribue (opens new window) .

# Deal statuses

These define status of your deal:

  • 0 Abandoned
  • 1 In progress
  • 2 Won
  • 3 Lost
  • 4 Archived

# Deal scopes

These define from where the message was sent:

  • 0 Open
  • 1 Participants

# Activities status choices

These define your activity status:

  • 0 No planned
  • 1 Planned
  • 2 Recently finished
  • 3 Overdue

# Product Event types

If you’re trying to create new product event, you have to pick one of defined event types.

  • add to cart
  • purchase
  • liking
  • add to observation
  • order
  • reservation
  • return
  • view
  • click
  • detail
  • add
  • remove
  • checkout
  • checkout option
  • refund
  • promo click