Paths
/oauth2/authorize
FedEx Supply Chain OAuth 2.0 Authorization endpoint, which brings the FedEx Fulfillment Login page to the user
description
The client ID you received when you first registered an app in FedEx Supply Chain API Developer Portal.
The response_type has to be “code” to indicate to the Authorization Server to receive the authorization code.
{
"enum": [
"code",
"token"
]
}
One or more scope values to indicate which part of user’s account data you want to access. E.g: Fulfillment_Returns
Indicates the URI to return the user to after authorization is complete.
A unique ID generated by your application that you can verify later. This will be returned by Authorization Server unmodified.
Partner or organization name.
An HTML form for authentication or authorization of this request.
Redirect to the clients redirect_uri
Submit approval to authorization code or access token
Submit resource owners approval (or rejection) for the OAuth2 Server to issue an authorization code or access token to the application.
The client ID you received when you first registered an app in FedEx Supply Chain API Developer Portal.
One or more scope values to indicate which part of user’s account data you want to access. E.g: Fulfillment_Returns
Resource owners user name
URI the application is requesting this code or token to be redirected to
URL of the original authorization request
Cool
/oauth2/token
Request Access Tokens and Refresh Token
This endpoint allows requesting an access token following one of the flows below:- Authorization Code (exchange code for access token) - Refresh Token (exchange refresh token for a new access code)
Indicates the grant type for the API call. Valid Values: • “authorization_code”: this is used to retrieve the initial access token. The code parameter must be passed with the authorization code retrieved from the authorize API call. • “refresh_token”: this is used to refresh the access token. The code parameter must be passed with the refresh_token value from the initial token API call.
{
"enum": [
"authorization_code",
"password",
"client_credentials",
"refresh_token"
]
}
The client ID you received when you first registered an app in FedEx Supply Chain API Developer Portal.
The client secret you received when you first registered an app in Fulfillment Platform Developer Portal.
The code is either the value of the authorization code or the refresh token, depending on the grant_type.
Indicates the URI to return the user to after authorization is complete.
Resource owner username
Resource owner password
One or more scope values to indicate which part of user’s account data you want to access. If it is provided, the default is used based on the settings in your Developer Portal. NOTE: The scope is space delimited list of scope values. Default scope FulFillment_Returns
The refresh token that the client wants to exchange for a new access token (refresh_token grant_type)
Partner or organization name.
text/json
json document containing token, etc.
json document that may contain additional details about the failure
/oauth2/introspect
The client ID you received when you first registered an app in FedEx Supply Chain API Developer Portal.
String value of the access_token to be introspected
This must contain 'access_token' to indicate the token type
200 OK
Definitions
{
"type": "object",
"additionalProperties": false,
"required": [
"token_type",
"access_token",
"expires_in"
],
"properties": {
"token_type": {
"enum": [
"bearer"
]
},
"access_token": {
"type": "string"
},
"expires_in": {
"type": "integer"
},
"scope": {
"type": "string"
},
"refresh_token": {
"type": "string"
}
}
}