Open supre opened 8 years ago
ok, it seems your addCustomer call is a bit buggy, it was able to create a new resource and return a "201 created" response. It would be even better if it returned the generated id in response. But it logs out the currently logged in user. So I need to make sure I re-login after making this call or all my other future calls will result in an unauthorized request.
Do I always need to authenticate with my retailer username and password to connect to api or can I create some kind of api identity that I can securely share.
Also, I didn't really understand on how to add a new customer through API, can you please explain on how to do that?