Skip to content

Server SDK

The server SDK runs on your backend, with the site’s secret key. It keeps your catalogue in sync with Rankrake and can send purchases straight from your order system.

TODO docs: loginRankrakeServerClient, and restoreRankrakeServerClient to reuse a client without logging in on every request.

TODO docs: upserting entities in batches (at most 500, all or nothing), entity ids derived from your own ids so the same item always gets the same id, and marking items inactive or deleted.

TODO docs: sending a whole order from the server, with the visitor’s identity taken from the cart.