Badge Object


Properties
idstringRead-onlyformat GUID

Badge ID.


titlestring

Text displayed on the badge in the Wix UI.


descriptionstring

Badge description.


backgroundColorstringformat COLOR_HEX

Badge background color in hexadecimal RGB format. Uppercase letters only. Example: #FFFFFF.


textColorstringformat COLOR_HEX

Badge text color in hexadecimal RGB format. Uppercase letters only. Example: #C81B53.


iconstring

URL of the badge icon image. Recommended to use SVG image format as it is resolution independent and looks great at any scale.


permissionsEnabledboolean

Whether the badge has special permissions to access specific members-only pages. When true, members with the badge receive special permissions, and site contributors can manage badge permissions in the site dashboard. When false, members with the badge receive no special permissions.


slugstringRead-only

Slugified name. Used to represent the badge in a URL.


createdDatestringRead-onlyformat date-time

Date the badge was created.


updatedDatestringRead-onlyformat date-time

Date the badge was updated.

Was this helpful?
Yes
No