Proposals
Proposal Login
Registers the proposal customer with the issuing location and signs them in when the link may, or with an emailed code.
PUT
Proposal Login
Proposal Login
Called when the customer chooses to accept a proposal. It registers the proposal’s customer with the location that issued it and answers a sign-in token in these cases only:- this visit created the customer’s account (a new customer: the first and only time the link proves anything about who holds it);
- the proposal’s own customer is already signed in;
- the body carries the code that Send Proposal Sign-in Code emailed them.
mustSignIn: true. The proposal GUID travels in emails, so on its own it is not a sign-in credential. The portal then emails a code and asks for it in the same dialog (see Sign-in Codes), or sends the customer to the sign-in page.
Authentication
Optional. A signed-in request from the proposal’s own customer is answered with a token.Path Parameters
string
required
The unique string identifier (GUID) of the proposal.
Request Body
Optional. Without it (or with{}) the answer is as described above.
string
The six-digit code from the SignInCode email. A right code signs the customer in and is spent.
Response
string | null
A one-minute token to exchange for a session with
exchangeToken(), or null when the customer must sign in.boolean
true when no token was handed out.Errors
A proposal issued by another location answers
404.