curl -X POST \
'https://api.appcharge.com/store/v1/personalization/refresh-specific-active-players' \
-H 'Content-Type: application/json' \
-H 'x-publisher-token: <x-publisher-token>' \
-d '{
"playerIds": ["player123", "player456", "player789"]
}'
{
"message": "Event triggered for publisher 6422d554acc1a482bac4698e7"
}
{
"message": "Schema Validation Error",
"requestUrl": "/store/v1/personalization/refresh-specific-active-players",
"body": "Property playerIds has failed the following validations: each value in playerIds must be a string, playerIds must contain at least 1 elements, playerIds must be an array."
}
Web Store Personalization
Trigger Web Store Personalization By Player ID
Triggers the Personalize Web Store Callback by player ID.
POST
/
refresh-specific-active-players
curl -X POST \
'https://api.appcharge.com/store/v1/personalization/refresh-specific-active-players' \
-H 'Content-Type: application/json' \
-H 'x-publisher-token: <x-publisher-token>' \
-d '{
"playerIds": ["player123", "player456", "player789"]
}'
{
"message": "Event triggered for publisher 6422d554acc1a482bac4698e7"
}
{
"message": "Schema Validation Error",
"requestUrl": "/store/v1/personalization/refresh-specific-active-players",
"body": "Property playerIds has failed the following validations: each value in playerIds must be a string, playerIds must contain at least 1 elements, playerIds must be an array."
}
curl -X POST \
'https://api.appcharge.com/store/v1/personalization/refresh-specific-active-players' \
-H 'Content-Type: application/json' \
-H 'x-publisher-token: <x-publisher-token>' \
-d '{
"playerIds": ["player123", "player456", "player789"]
}'
{
"message": "Event triggered for publisher 6422d554acc1a482bac4698e7"
}
{
"message": "Schema Validation Error",
"requestUrl": "/store/v1/personalization/refresh-specific-active-players",
"body": "Property playerIds has failed the following validations: each value in playerIds must be a string, playerIds must contain at least 1 elements, playerIds must be an array."
}
Headers
Publisher token.
Body
application/json
Player IDs to trigger web store personalization.
Example:
["player123", "player456", "player789"]
Response
OK
Success message.
Example:
"Event triggered for publisher 6422d554acc1a482bac4698e7"
Was this page helpful?
