The process for using the API functionality involves the following steps:
- Use IRP Admin to:
- Enable API Request Handling
- Generate a secure API Key-Shared Secret pair
- Enable JavaScript access
- Add IP Address Restrictions
For details, see API - API Keys.
- Create a Signature:
- One Signature for use with the Authenticate Method
- Another Signature for use with all other Methods
For details, see API - Creating Signatures.
- Authenticate with the API to gain an AuthenticationToken. For details, see API - Authenticate Method.
- Use the AuthenticationToken to call other API methods. For example the Baskets API uses the following methods:
- AddItem
- AddItemTrade
- If necessary, understand API error codes for troubleshooting purposes. For details, see API - Error Messages.