Authorizations
Access token
Body
application/json
Response
OK
Commerce Engine is now in beta. We're working hard to make it better for you.
curl --request POST \
--url https://staging.api.commercengine.io/api/v1/{store_id}/storefront/auth/reset-password \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"new_password": "<string>",
"confirm_password": "<string>",
"otp_token": "<string>"
}'
{
"message": "<string>",
"success": true,
"content": {
"access_token": "<string>",
"refresh_token": "<string>"
}
}
Reset password
curl --request POST \
--url https://staging.api.commercengine.io/api/v1/{store_id}/storefront/auth/reset-password \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"new_password": "<string>",
"confirm_password": "<string>",
"otp_token": "<string>"
}'
{
"message": "<string>",
"success": true,
"content": {
"access_token": "<string>",
"refresh_token": "<string>"
}
}
Access token
OK
A descriptive message confirming the success or failure of the reset password operation.
Indicates whether the request was successful or failure (true for success, false for failure).
An object containing the response content.
Show child attributes
Was this page helpful?