Syncing

Infinity needs an up to date description of your product catalog in order to provide correct results. Have a look at the product feed guide for more details on how to export the product catalog. After the initial data import Infinity needs to be continuously updated by regularly syncing the feed. This sync will be scheduled to run at regular time intervalls by your Infinity Customer Success Manager. In addition to the scheduled syncs you can also trigger a sync job by calling the API.

Sync Call

//create a client with a null client info provider (because we don't need user context when syncing)
IInfinityClient client = new InfinityClient(new RequestManager(new InfinitySettings("https://helloworld.54proxy.com", "TestApiKey")),
    new NullClientInfoProvider());

Response response = client.Sync();

The sync() call is also available via the API.

C# source code on Github: SyncController.cs

// Set up a InfinityClient with an Api key and a null client info (we don't need metadata about the user here)
InfinitySettings settings = new InfinitySettings("https://helloworld.54proxy.com", "TestApiKey");
IInfinityClient client = new InfinityClient(new RequestManager(settings), () -> new NullClientInfo());

Response response = client.sync();

The sync() call is also available via the API.

C# source code on Github: SyncController.java

var client = Infinity.getClient("http://helloworld.54proxy.com", null, "TestApiKey");
var response = client.sync();

The sync() call is also available via the API.

C# source code on Github: Sync.js

var client = Infinity.getClient("http://helloworld.54proxy.com", null, "TestApiKey");
var response = client.sync();

The sync() call is also available via the API.

C# source code on Github: Simple.php