Making request
Last updated
Last updated
To run a request against TCP eStreaming API you should make a proper GET request against on of the API methods, providing all required params.
To authorize you against the API we use AuthToken
header, which should be passed with each and every request. You always receive one, when you register in TCP.
Typical request URL looks like that:
Request URL consists of the following elements:
Common eStreaming API request has following required params:
URL part
Description
API endpoint
/v1
API version
/cache
API application (cache stands here for eStreaming API)
/shopping
API method
?searchPhrase=...&...
API query params
Query param name
Description
pointOfSale
Country ISO code where shopping request was generated. Further details can be found in Point of Sale Section.
ptc
Comma separated list of PTC (e.g "ADT,CNN", "ADT" or "ITX")