01.software Docs

changeCustomerPassword

Use the SDK for application integration. This read-only reference covers Commerce, Customer Auth, Membership and Events.

All HTTP operations
POST
/api/customers/change-password

Active Customer JWT plus current-password proof. Unchanged password is 400, invalid current password 401, missing account 404. Existing revocation/hooks are unchanged.

Authorization

publishableKeycustomerBearerAuth
headerX-Publishable-Key<token>

Tenant publishable key for authentication (sent via X-Publishable-Key header)

headerAuthorizationBearer <JWT>

Customer JWT for same-tenant authenticated customer actions

Request Body

application/json
  1. body
currentPassword*string
Length1 <= length <= 128
newPassword*string
Length8 <= length <= 128

Response Body

Existing direct customer-auth wire

application/json
  1. response
message*string

Examples may be generated from schemas; they are illustrative, not recorded successful API calls. Example snippets may omit required authentication headers.

Example Request
curl -X POST 'https://api.01.software/api/customers/change-password' \  -H 'Content-Type: application/json' \  -d '{  "currentPassword": "string",  "newPassword": "stringst"}'
Example Response
{  "message": "string"}