commercetools icon

commercetools

Interact with the commercetools API. Operations are auto-generated from the official Postman collection.

Actions671

Store Customer → Change password of Customer in Store

AI-generated

Summary

Change the password of a Customer in a specific Store within commercetools by providing the Customer's ID, current version, current password, and new password.

Inputs

  • Store Customer Key (required) — The unique key identifying the Store Customer resource.
  • Store Key (required) — The key of the Store where the Customer exists.
  • Id (required) — The unique identifier of the Customer whose password will be changed.
  • Version (required) — The current version number of the Customer resource for concurrency control.
  • Current Password (required) — The Customer's current password for verification.
  • New Password (required) — The new password to set for the Customer.

Output shape

a single record

Returns the updated Customer resource JSON object after successfully changing the password. Throws an error if the current password is incorrect or if version conflicts occur.

Links

Discussion