Initiates OAuth authorization code grant flow per https://www.rfc-editor.org/rfc/rfc6749#section-1.3.1.
The flow involves an interactive login. On successful login and authorization you receive a call back with a code that can only be used once.
Using the TokenExchange endpoint the code can be exchanged for an access token that does not expire.
Access token can be used to access Logistics API by passing the "Authorization: Bearer" header per https://www.rfc-editor.org/rfc/rfc6750#section-2.1
Redirect
Bad Request
{- "property1": "string",
- "property2": "string"
}
Exchanges the one-time code your callback received from AuthorizationRedirect endpoint for a permanent access token.
grant_type=authorization_code&code=string&redirect_uri=string
{- "access_token": "string",
- "logisticsAccountId": "string"
}