Correction of promo points
This endpoint is deprecated.
POST
/api/RPC.common.Api.PromoCards.editPoints?token=<TOKEN>Parameters
| Field | Type | Description |
|---|---|---|
card_numrequired | String | Card number |
pointsrequired | String | Points |
Request example
Edit Points:
{
"data" : [
{
"points" : 34,
"card_num" : 234599973214
}
]
}cURL
Edit Points:
curl -X POST -H 'Content-Type: application/json; charset=utf-8' -d '{ "data" : [ { "points" : 34, "card_num" : 234599973214 } ]}' "https://<DOMAIN_NAME>/api/RPC.common.Api.PromoCards.editPoints?token=<TOKEN>"Response example
HTTP/1.1 200 OK
{
"count" : 1,
"result" : [
{
"points" : 55,
"card_num" : 234599973214,
"last_update_date" : "2025-05-01 18:00:00"
}
]
}