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

got error on customer create #73

Open
winnie80 opened this issue Jul 27, 2023 · 0 comments
Open

got error on customer create #73

winnie80 opened this issue Jul 27, 2023 · 0 comments

Comments

@winnie80
Copy link

Description
Got error 500 on using /api/v1/customers/create , method POST
This is the result

{
    "status": false,
    "message": "An unexpected error occurred. Please try again later."
}

At this point I'm not sure what did I do wrong.
I tried to trace back inside api-bundle but could not even find proper customers.yaml within routes

How to reproduce
Use route /api/v1/customers/create.
Use method POST
Send as JSON the following parameters : firstName, lastName, email, contactNumber and isActive (boolean)
For example

{
    "firstName": "first",
    "lastName": "last",
    "email": "[email protected]",
    "contactNumber": "",
    "isActive": true
}

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant