Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

User | Add Create User #18

Open
Tracked by #12
AntoineKM opened this issue Dec 12, 2022 · 0 comments
Open
Tracked by #12

User | Add Create User #18

AntoineKM opened this issue Dec 12, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@AntoineKM
Copy link
Member

AntoineKM commented Dec 12, 2022

Endpoint:

/users/add

Body:

{
  email: string; 
  tel?: string;
  name?: string;
  siret?: string
  vat?: string;
  password?: string;
}

Return:

{
  success: boolean; // <-- If success is false message
  message?: string;
  data?: User;
}

Permission:

admin, sales

Note: It create an user with customer type as default

@AntoineKM AntoineKM mentioned this issue Dec 12, 2022
7 tasks
@AntoineKM AntoineKM added the enhancement New feature or request label Dec 12, 2022
@MaximeCarville MaximeCarville self-assigned this Jan 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants