WooDroid icon indicating copy to clipboard operation
WooDroid copied to clipboard

Unable to create customer, without password

Open rital-naik-adrosonic opened this issue 3 years ago • 0 comments

Hi there, when I try to create customer with follwoing request:

 var customer = Customer()
                            customer.email = "[email protected]
                            customer.firstName = "test"
                            customer.lastName = "test"
                            customer.username = "test test"

It returns "code=400, message=Bad Request"

But when I use

 var customer = Customer()
                            customer.email = "[email protected]
                            customer.firstName = "test"
                            customer.lastName = "test"
                            customer.username = "test test"
                           customer.password = "Pass123"

above object, customer gets created succesfully. However I want to create a customer without passing a password. Please help.

rital-naik-adrosonic avatar Feb 11 '21 12:02 rital-naik-adrosonic