Update Template Links
Use Popl APIs to update the value of links from a template
PUT /api/pub/members/updateWildCardLink
Description: Updates a templated link for a specific user
Request Body:
{
"memberId": 12345,
"wildcardId": "exampleLinkId",
"value": "Value to use for the link"
}
Example response:
{
"message": "Success",
"data": {
"wasAnyCardUpdated": true
}
}
POST /api/pub/members/bulkUpdateWildCardLink
Description: Set the value of a templated link for mulitple members by their account email
Request Body:
{
"wildcardId": "exampleLinkId",
"membersAndValues": [{
"email": "[email protected]",
"value": "abc"
}, {
"email": "[email protected]",
"value": "123"
}]
}
Response Body:
{
"message": "Success",
"data": {
"result": [
{
"email": "[email protected]",
"updated": true,
"error": ""
},
{
"email": "[email protected]",
"updated": true,
"error": ""
}
]
}
}
Last updated