How to configure Postman to use iCommerce API - nthieu29/icommerce GitHub Wiki

  • Access iCommerce API Documentation
  • Click "Run in Postman" to import Postman Collection to your Postman on your local machine.
  • Right click to "iCommerce" in your Collections and choose Edit.
  • Choose Authorization tab, choose OAuth 2.0 for Type and click Get New Access Token.
  • In the new dialog, input following:

Postman Config

 - Callback URL: http://localhost:8080/
 - Auth URL: https://dev-773085.okta.com/oauth2/default/v1/authorize
 - Access Token URL: https://dev-773085.okta.com/oauth2/default/v1/token
 - Client ID: 0oajcrkz7RBysKlr84x6
 - Client Secret: mxpwz_sbeVcAcKpYBv0O0u1T1_AdITHCT0oZYboQ
 - Scope: openid
 - State: 123456
 - Client Authentication: Send client credentials in body
  • Click Request Token, enter credentials (we provided 2 demo users in <username>: <password> format):
  • After you successfully signed in, you will get Access Token, then click Use Token in Postman.
  • Now you could use all prepared request in iCommerce Collection to use iCommerce API.
⚠️ **GitHub.com Fallback** ⚠️