We are usually amazed by what our customers build using our APIs. Most commonly built things include reports which look at data from a different persepctive, aggregating across different models (sales, shipment and purchase back orders).
This kitchensink repo is a collection of scripts and flask blueprints that are starting points for you to build your own kitchensink.
git clone [email protected]:fulfilio/kitchensink
cd kitchensink
pip install -r requirements.txt
Login to http://auth.fulfil.io and generate oauth client credentials. For standard installation whitelisted url would be
http://localhost:5000/user/authorized
and app url can be left empty.
Save client id
and client secret
you will need this in next step.
This controls how the app can access your Fulfil.IO account. Ensure that the user generating the API key has access to the models needed by your app features.
export FULFIL_APP_ID=YOUR_APP_ID
export FULFIL_APP_SECRET=YOUR_APP_SECRET
export FULFIL_SUBDOMAIN=YOUR_SUBDOMAIN
export FULFIL_OFFLINE_ACCESS_TOKEN=YOUR_OFFLINE_ACCESS_TOKEN
export ENV=dev
Prerequisite: make sure you have access to YOUR_SUBDOMAIN
, before generating the offline token
python scripts/generate_offline_token.py
python manage.py server
This report displays order items that are waiting to be shipped.
Shows item waiting on a map.
Shows details on when product will be in stock next.
This repo includes a heroku.yml
that can be used to deploy to heroku.
Because this application is using Docker, before pushing any code to Heroku, set the heroku stack to use container instead of runtime.
heroku stack:set container
heroku create
heroku config:set FULFIL_SUBDOMAIN=YOUR_SUBDOMAIN FULFIL_APP_ID=YOUR_APP_ID FULFIL_APP_SECRET=YOUR_APP_SECRET FULFIL_OFFLINE_ACCESS_TOKEN=YOUR_OFFLINE_ACCESS_TOKEN