Environments
Wino has two environments. Each one has its own URL, its own data and its own API keys.
- Staging:
https://staging.api.v2.wino.fr. Test data, separate from real shops. - Production:
https://production.api.v2.wino.fr. The real data of the shops.
In this documentation, {{baseUrl}} stands for one of these two URLs. Both environments have the same endpoints:
- GraphQL:
{{baseUrl}}/graphql - Webhook subscriptions:
{{baseUrl}}/webhooks/subscriptions
A staging key doesn't work in production, and a production key doesn't work in staging.
- Staging requests timeout: 90 seconds.
- Production requests timeout: 30 seconds.
There's no rate limit on requests yet. Limits will come later: keep your integration's request rate reasonable.
For staging
- Ask for a staging API key: write to wino@isagri.com.
- Build and test your integration on staging. You can create, update and archive data there without touching a real shop.
For production
- Ask for a production API key, write to wino@isagri.com.
- Switch the URL and the key to production. Both environments expose the same API.
- IDs differ between the two environments: shops, devices, taxes, products… everything you mapped on staging must be mapped again in production.