/
POST /oauth/token

POST /oauth/token

Generate new access token

Resource URL

Parameters

Name

Type

Name

Type

password

string

username

string

grant_type

“password”

scope

“write“

client_secret

string

client_id

string

reseller_id

number

Authorization

  • Basic Auth (Required)

Responses

HTTP Code

Description

Schema

HTTP Code

Description

Schema

200

OK

OAuth2AccessToken

201

Created

No Content

401

Unauthorized

No Content

403

Forbidden

No Content

404

Not Found

No Content

 


Definitions

mykey

Type: apiKey

Name: Authorization

In: HEADER

OAuth2AccessToken

Name

Schema

Name

Schema

expiration

optional

string (date-time)

expired

optional

boolean

expiresIn

optional

integer (int32)

refreshToken

optional

OAuth2RefreshToken

scope

optional

< string > array

tokenType

optional

string

value

optional

string

OAuth2RfreshToken

Name

Schema

Name

Schema

value

optional

string

 

Related content

GET /address
GET /address
Read with this
POST /office
POST /office
More like this
PUT /shipment/label
PUT /shipment/label
Read with this
POST /address
POST /address
More like this
Additional References
Additional References
Read with this
POST /manifest
POST /manifest
More like this