customer_password_resets
Update a customer password reset
Changed onUpdate a customer password reset
patch/customer_password_resets/{customerPasswordResetId}
Request
- Base URLhttps://{your_organization_slug}.commercelayer.io/api
- URLhttps://{your_organization_slug}.commercelayer.io/api/customer_password_resets/{customerPasswordResetId}
- AuthHTTP bearer
Path parameters
customerPasswordResetIdstring required
The resource's id
Request body
Example request
{
"data": {
"id": "XAyRWNUzyN",
"attributes": {
"customer_password": "secret",
"_reset_password_token": "xhFfkmfybsLxzaAP6xcs",
"reference": "ANY-EXTERNAL-REFEFERNCE",
"reference_origin": "ANY-EXTERNAL-REFEFERNCE-ORIGIN",
"metadata": {
"foo": "bar"
}
}
}
}Response
The updated customer password reset object
Changes
- breaking
request property
/was restricted to a list of enum values - info
the request property
//became nullable - info
the request property
//became nullable - info
the request property
//became nullable - info
the
request property default valuecustomer_password_resetswas removed - info
added the new
customer_password_resetsenum value to the request property/ - info
added the media type
application/vnd.api+jsonfor the response with the status
- breaking