Seller Edit User Variable

POST
https://authsecure.com/api/seller/

End/Modify user data and sessions directly securely.

Update an existing variable for a specific user. Variable must already exist.

Endpoint Details

GET /api/seller_edit_user_variable.php

Query Parameters

ParameterRequiredDescription
sellerkeyYesSeller API Key
usernameYesUsername
varYesVariable name
newdataNoNew variable value

Success Response

{
  "success": true,
  "msg": "Variable updated successfully"
}

Failure Response

{
  "success": false,
  "msg": "Variable does not exist"
}

Code Examples

fetch("http://localhost/commen/api/seller_edit_user_variable.php?sellerkey=KEY&username=USER&var=coins&newdata=150")
 .then(r => r.json())
 .then(console.log);
<?php
echo file_get_contents(
 "http://localhost/commen/api/seller_edit_user_variable.php?sellerkey=KEY&username=USER&var=coins&newdata=150"
);
?>
import requests
r = requests.get("http://localhost/commen/api/seller_edit_user_variable.php", params={
 "sellerkey":"KEY",
 "username":"USER",
 "var":"coins",
 "newdata":"150"
})
print(r.text)
var client = new RestClient(
 "http://localhost/commen/api/seller_edit_user_variable.php?sellerkey=KEY&username=USER&var=coins&newdata=150"
);
var res = client.Execute(new RestRequest(Method.GET));
Console.WriteLine(res.Content);