A NEW ERA OF INTELLIGENT QUANTITATIVE ECOMMERCE - THAT WORKS FOR YOU ECOMMERCE - THAT WORKS FOR YOU
Knowledge Base
+
Admin Messages (1)
+
Common Tasks (1)
+
Insights (1)
+
Interventions (1)
+
Languages (1)
+
Questions & Answers (1)
+
Reviews (1)
+
Site Scripts (1)
+
Web Services (1)

API - Creating Signatures

API Signatures

NOTE: The Signature is different for all API Methods apart from the Authenticate Method: Authenticate uses the API Key as its hash input whereas all other methods use the AuthenticationToken returned from the Signature method in place of the API Key.

For the Authenticate Method

Before you can authenticate with the API to gain an AuthenticationToken (as described in Authenticate Method), you need to create a Signature and for this you must send the APIKey, the Timestamp and the Shared Secret. You generate the Signature as follows:

  1. Join the APIKey (generated as described in API - API Keys, to the DateTime that you're sending with the request with a full stop between them, for example:

    sbBgu2lEG06LQbP94clrHSDPPHCZPthY.2018-10-16 14:27:31

  2. SHA-1 hash this string.
  3. Append the Shared Secret (as described in API - API Keys, to this hashed string, again separating them with a full stop.
  4. SHA-1 hash the whole string again. You then have the Signature to use with the Authenticate method, as described in Authenticate Method.

For all other Methods

Whereas Authenticate uses the API Key as its hash input, all other methods use the AuthenticationToken returned from the Signature method in place of the API Key. For details about the AuthenticationToken, see Authenticate Method.




Copyright © 2018 IRP Commerce. Use of this website constitutes acceptance of the IRP World Terms of Use, IRP Privacy Policy and IRP Cookie Policy
IRP Commerce is a Trading Name of Export Technologies Limited, a Deloitte Fast 50 Company six times: 2010, 2011, 2012, 2013, 2014 & 2018   Deloitte.