The Badges API enables site owners to create badges on their website or Wix App, and assign them to site members, either from their site dashboard, or from their live site. Badges are set up by site owners in their site dashboard. Wix does not provide preset badges.
Badges assigned to specific site members help them stand out from other members. You can use badges to create specific categories of members within your site.
With the Badges API, third-party developers can customize how badges are created and assigned, including, for example, automating creation of specific categories of members who will recieve a given badge, or delegating assignment of badges to site members themselves.
For an overview of badges, see About Member Badges.
Badges can grant site members special permissions to access specific pages.
Site owners can set badge permissions in the Site Members area of the dashboard.
Badge permissions can't be set in the API.
Site members receive permissions once a permission-granting badge is assigned to them.
Auto assign badges for the most active members. A third party developer wants to create a loyalty program app that auto assigns badges to members, based on their activities.
Required information
buyerInfo.id
. Retrieving a list of all orders, e.g. with an empty query filter, may include buyers who are site contacts, but not site members.contactId
of each member retrieved from the Site Members API.Steps
Allow site members to assign badges to other members. A third party developer wants to create a community in which members can assign badges to one another and see available badges. For example, a site admin member may want to give certain site members access to a permissioned, "staff only" page on their site.
Required information
Steps
Member permissions themselves cannot be managed via the badges API. They must be set by the site owner in the site's dashboard.