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:
-
If necessary, start Postman on your computer.
-
If necessary, load the Digital Commerce APIs collection.
-
Select SFDC OAuth Username Password and click Send.