Loading...
Area: Optimizely Product Recommendations
Applies to versions: 1.0 and higher (Personalization API)

Header information

Recommended reading 

Place authentication information (such as site and siteToken, and channel)  in the request header (rather than the JSON payload defined in the subsequent sections).

Parameters Description
site

Optimizely client site code. This name is the site code provided by Optimizely that identifies the retailer's site. For example:

site: streamlycool
siteToken

Authentication token for the client. Optimizely provides this token to the client. You must include the token as part of the JSON data in every API call. For example:

siteToken: 1234abcd5678

A separate siteToken is issued for each channel. Ensure that you use the correct token for your channel.

channel

Access channel. It should be one of the following: store, mobileapp, tv, callcentre. For example:

channel : store

Contact Optimizely if more channels are needed. A separate siteToken is issued for each channel. Ensure that you use the correct token for your channel.

Content-Type

The MIME type for JSON text:

Content-Type: application/json
Do you find this information helpful? Please log in to provide feedback.

Last updated: Nov 06, 2017

Recommended reading