Retrieve OAuth Authorization

When the preceding steps are complete, run the SFDC OAuth Username Password API from the API collection. This step must be performed every time you start a new session or when the token expires.

The API executes a script that auto-populates a unique session token {{InitAccessToken}} in the environment variable. After executing, each call uses the token. If the token expires, simply rerun the API call.

To run the SFDC OAuth Username Password API:

  1. If necessary, start Postman on your computer.

  2. If necessary, load the Digital Commerce APIs collection.

  3. Select SFDC OAuth Username Password and click Send.