POST token

Retrieve Authorization token. Used in the Authorization header, required to access protected methods.

Request Information

URI Parameters

None.

Body Parameters

The request.

AuthHelpRequestModel
NameDescriptionTypeAdditional information
grant_type

The grant type

string

None.

client_id

The client id

string

None.

client_secret

The client secret

string

None.

scope

The scope

string

None.

Request Formats

application/json, text/json, application/xml, text/xml

Sample:
N/A

application/x-www-form-urlencoded

Sample:
grant_type=client_credentials&client_id=00000000-0000-0000-0000-000000000000&client_secret=secret&scope=products orders

Response Information

Resource Description

AuthHelpResponseModel

None.

Response Formats

application/json, text/json

Sample:
{
	"access_token":"sample string 2",
	"token_type":"bearer",
	"expires_in":899,
	".issued":"Thu, 19 Apr 2018 14:58:29 GMT",
	".expires":"Thu, 19 Apr 2018 15:13:29 GMT"
}

application/xml, text/xml

Sample:
N/A