Assigns a badge to the specified members. The members inherit the badge's permissions when they receive the badge, if applicable. Badge permissions are added to previous member permissions (they don't replace existing permissions).
You can only call this method when authenticated as a Wix app or Wix user identity.
Badge ID.
List of member IDs to assign to the badge.
List of member IDs assigned to the badge.
curl -X POST \
'https://www.wixapis.com/members/v3/badges/80d5e4aa-0ab2-4bab-b941-a7459239a02e/members' \
-H 'Authorization: <AUTH>'
-d '{
"memberIds": [
"cdd1993d-811e-453d-8a0e-b9e0f7780b96",
"b32b708e-d531-42fb-846b-f23c367d9c92"
]
}'
{
"memberIds": [
"cdd1993d-811e-453d-8a0e-b9e0f7780b96",
"b32b708e-d531-42fb-846b-f23c367d9c92"
]
}
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.