Retrieves badges assigned to the requested members.
Members are typically associated with a contact, each having a distinct member and contact ID. When passing the ID as a parameter, avoid presuming the IDs are identical since they represent separate entities.
List of members.
List of members and the badges they're assigned to.
Retrieving badge ids assigned to members
curl -X POST \
'https://www.wixapis.com/members/v3/badges/members' \
-H 'Authorization: <AUTH>'
-d '{
"memberIds": [
"cdd1993d-811e-453d-8a0e-b9e0f7780b96",
"b32b708e-d531-42fb-846b-f23c367d9c92"
]
}'
{
"memberBadgeIds": [
{
"memberId": "cdd1993d-811e-453d-8a0e-b9e0f7780b96",
"badgeIds": [
"ce700e2e-ded6-4e30-9638-6be7a9eec91b",
"ffdc5c7d-d080-4c7c-869e-a8c4478532c0"
]
},
{
"memberId": "b32b708e-d531-42fb-846b-f23c367d9c92",
"badgeIds": ["ce700e2e-ded6-4e30-9638-6be7a9eec91b"]
}
]
}
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.