Innoshop Frontend API
HomeInnoShop
Source Code
  • Github
  • Gitee
  • GitCode
HomeInnoShop
Source Code
  • Github
  • Gitee
  • GitCode
  1. Account
  • Account
    • Me
      GET
    • Update Profile
      PUT
    • Set Password
      POST
    • Update Password
      PUT
  • Address
    • Address List
      GET
    • Address Create
      POST
    • Address Update
      PUT
    • Address Delete
      DELETE
    • Address Detail
      GET
  • Authorization
    • Login
      POST
    • Register
      POST
  • Brand
    • Brands
      GET
    • Grouped
      GET
  • Cart
    • Cart List
      GET
    • Cart Create
      POST
    • Cart Update
      PUT
    • Cart Delete
      DELETE
    • Batch Select
      POST
    • Batch Unselect
      POST
  • Category
    • Category Tree
      GET
    • Category List
      GET
  • Checkout
    • Get Checkout
      GET
    • Update Checkout
      PUT
    • Confirm
      POST
  • Favorite
    • Favorite Create
    • Favorite List
    • Favorite Cancel
  • Order
    • Order List
    • Order Detail
    • Number Detail
    • Order Pay
  • Product
    • Product List
    • Product Detail
    • Product Reviews
  • Review
    • Review List
    • Create Review
    • Delete Review
  • Upload
    • Upload Images
  • Home
    GET
  • Setting
    GET
  1. Account

Set Password

Developing
POST
/account/password

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Query Params
new_password
string 
required
Example:
123456
new_password_confirmation
string 
required
Example:
123456
Body Params application/json
new_password
string 
required
新密码
new_password_confirmation
string 
required
确认新密码
Example
{
    "new_password": "123456",
    "new_password_confirmation": "123456"
}

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.innoshop.net/api/account/password?new_password=123456&new_password_confirmation=123456' \
--header 'Content-Type: application/json' \
--data-raw '{
    "new_password": "123456",
    "new_password_confirmation": "123456"
}'

Responses

🟢200OK
application/json
Body
object {0}
Example
{}
Modified at 2024-08-19 07:48:33
Previous
Update Profile
Next
Update Password
Built with