Logo
maya API Documentation

Change customer's password

PUT {{baseUrl}}/account/password

Service urls:
http://yourdomain.com/api/rest/account/password
OR
http://yourdomain.com/index.php?route=rest/account/password

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 
X-Oc-Session
string (Required) User session id
Content-Type
string
Accept
string




RESPONSES

status OK

{ "success": 1, "error": [ "Error description", "Error description" ], "data": {} }



Curl
curl -X PUT 'https://api.opencart-api.com/api/rest/account/password' -H 'X-Oc-Session: voluptate' -H 'Content-Type: application/json' -H 'Accept: application/json' -d '{"password":"demopass","confirm":"demopass"}'

ENDPOINTS