Files
medusa-store/docs/api/admin/paths/invites_accept.yaml
2022-08-05 14:06:12 +02:00

39 lines
1.1 KiB
YAML

post:
operationId: PostInvitesInviteAccept
summary: Accept an Invite
description: Accepts an Invite and creates a corresponding user
requestBody:
content:
application/json:
schema:
required:
- token
- user
properties:
token:
description: The invite token provided by the admin.
type: string
user:
description: The User to create.
type: object
required:
- first_name
- last_name
- password
properties:
first_name:
type: string
description: the first name of the User
last_name:
type: string
description: the last name of the User
password:
description: The desired password for the User
type: string
format: password
tags:
- Invite
responses:
'200':
description: OK