Overview

The public API is used to modify the a current shopper's state, details and (most importantly) shopping experience.

What You'll Need

Here's what you'll need to use the public API

1. Your Public Key

Your store public key is found in the Store Settings -> API section of your account.

2. Current Shopper ID

The current shopper's ID is a unique, secure token generated by Fera and stored in the current shopper's cookies. It can be found the cookies under the banana_stand_visitor_id or fera_shopper_id, or by simply using the fera.getCurrentShopperId() method described here.

The shopper id looks like a UUID. For example: fc9faae6-cc9a-4393-a677-e54d6f63cc63