Receiving of ponsored content for other pages

Impression

Contains data for displaying sponsored content. Can take different forms, depending on the value of acceptContent, that passed in request.

Values of acceptContent:

  • string
  • productIds
  • banners
  • sharedBanners
Path Params
string
required

Identifire of online-store

string
required

Identifier of placement. Requested from Retail Rocket employee.

Query Params
string

ApiKey

json
required
Defaults to sp-577

Pointer to the visitor - the name of the link parameter, from a pair of string-key and string-value (for example, the key is “user session”, the value is “session identifier”), or another identifier

json
required
Defaults to SP4050

Pointer to the visitor - the value of the link parameter, from a pair of string-key and string-value (for example, the key is “user session”, the value is “session identifier”), or another identifier

string
required

Types of content

string

Identifier of the stock to which products belongs

string
Defaults to value

An additional parameter for receiving sponsored content, the parameter name is not case-insensitive, the value is case-sensitive. You can pass any number of arbitrary parameters in the format custom.<name>=<value>, with different values 'name' and 'value'

Response

Language
Request
Click Try It! to start a request and see the response here! Or choose an example:
application/json