Disable Customer Account
Disable or enable a specific user_id
GET or POST Request
Disable or enable a specific customer
HTTP Post Variables Supported
Argument
Required
Type
user_id
yes
5 digits
status
yes
active or inactive
key
yes
api key
curl https://v1.api19.com/account/customer/change_status \
-d 'key=api_token' \
-d 'user_id=1111' \
-d 'status=active'curl https://v1.api19.com/account/customer/change_status?key=apikey&user_id=1111&status=active{"status": "ok"}
OR
{"status": "Missing user_id"}
OR
{"status": "You do not own user_id"}Last updated