Panelr

Change Customer Password

POST ?action=set_customer_password

Change the password on a customer's login. Every outstanding reset link stops working at the same moment. Send current_password when your form insists on it — it is checked first (401 when wrong); your site has already signed the customer in, so that is your choice, not the API's.

Request Parameters

FieldTypeRequiredDescription
customer_idintegerRequiredone of these twoThe customer
customer_emailstringRequiredone of these twoTheir address
passwordstringRequiredThe new password (min 8)
current_passwordstringOptionalChecked first when sent

Response Fields

FieldTypeDescription
customer_idintegerThe customer
changedbooleanAlways true on success