-
Notifications
You must be signed in to change notification settings - Fork 1
Home
David Cook edited this page Feb 16, 2026
·
1 revision
Welcome to the vine wiki!
The API is documented in code comments, and compiled to a browsable page here: https://vine.openfoodnetwork.org.au/api-documentation
Not yet written. Here are some notes that David took:
To create a voucher set I think you need a merchant, service provider and admin team.
You can only be active/current on one team at a time. To switch teams, go to user menu and choose team.
After creating the voucher set, I think the vouchers are generated by an async job and will become available in a little while.
To redeem vouchers on external system (OFN), you need:
- Voucher set with vouchers
- Choose/create a merchant user, or set your user to be active on the merchant team.
- Go to Admin Users and find the user, select all "redemption app" settings and and create a PAT
To be able to redeem a voucher in OFN, we need:
- Enable connected_apps feature toggle
- set env var VINE_API_URL="https://vine-staging.openfoodnetwork.org.au/api/v1"
- Enable VINE in OFN instance config
- go to shop admin > connected apps and enter PAT key and secret