EN-80: Fixing public endpoints

EN-83: Removing company_type from register process
This commit is contained in:
2023-11-09 20:17:08 -06:00
parent 2bb4ae89c1
commit f5d4194c4e
5 changed files with 55 additions and 17 deletions

View File

@@ -119,14 +119,13 @@ There is no timeout to confirm the email, but it is expected that the Fron End r
If the checksum matches but the user is already registered, then this request will be rejected.
Expects a body with the same data as the POST request, but adding the OTP received in the email, the company type decided by the user and the checksum generated by the POST request. It is important to noticed that company_type is case sensitive, the only options are either `Shipper` or `Carrier`. Here is an example:
Expects a body with the same data as the POST request, but adding the OTP received in the email, the company type decided by the user and the checksum generated by the POST request. Here is an example:
```{.json}
{
"email":"testing@etaviaporte.com",
"password":"PasswordExample",
"otp":"OTP string",
"company_type":"Shipper or Carrier",
"checksum":"Checksum generated in the POST request"
}
```