Skip to content

Commit f744ca8

Browse files
Updated: log in user profile update api
1 parent 0a9793a commit f744ca8

File tree

2 files changed

+16
-34
lines changed

2 files changed

+16
-34
lines changed

public/vaahstore-api/customers/update.yaml

Lines changed: 9 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@ get:
4848
put:
4949
tags:
5050
- Customers
51-
summary: Update an existing record
52-
description: Update a customer record with the specified ID using the provided details.
51+
summary: Update an customer account profile
52+
description: Update the details of a customer account by providing the customer ID and the updated information.
5353
operationId: updateBrand
5454
parameters:
5555
- '$ref': '../vaahstore.yaml#/components/parameters/id'
@@ -72,22 +72,14 @@ put:
7272
username:
7373
type: string
7474
description: "User username"
75-
password:
75+
last_name:
7676
type: string
77-
description: "The user's password."
78-
status:
79-
type: string
80-
description: "The user's status."
81-
is_active:
82-
type: integer
83-
description: "Indicates whether the user is active or not."
84-
required:
85-
- email
86-
- first_name
87-
- status
88-
- is_active
89-
- password
90-
- username
77+
description: "The user's last name."
78+
phone:
79+
type: number
80+
description: "The user's phone number."
81+
82+
9183
responses:
9284
'200':
9385
description: Saved Successfully

public/vaahstore-apis.yaml

Lines changed: 7 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -19126,8 +19126,8 @@ paths:
1912619126
put:
1912719127
tags:
1912819128
- Customers
19129-
summary: Update an existing record
19130-
description: Update a customer record with the specified ID using the provided details.
19129+
summary: Update an customer account profile
19130+
description: Update the details of a customer account by providing the customer ID and the updated information.
1913119131
operationId: updateBrand
1913219132
parameters:
1913319133
- $ref: '#/components/parameters/id'
@@ -19150,22 +19150,12 @@ paths:
1915019150
username:
1915119151
type: string
1915219152
description: User username
19153-
password:
19154-
type: string
19155-
description: The user's password.
19156-
status:
19153+
last_name:
1915719154
type: string
19158-
description: The user's status.
19159-
is_active:
19160-
type: integer
19161-
description: Indicates whether the user is active or not.
19162-
required:
19163-
- email
19164-
- first_name
19165-
- status
19166-
- is_active
19167-
- password
19168-
- username
19155+
description: The user's last name.
19156+
phone:
19157+
type: number
19158+
description: The user's phone number.
1916919159
responses:
1917019160
'200':
1917119161
description: Saved Successfully

0 commit comments

Comments
 (0)