Skip to main content

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​

  1. Ask for a staging API key: write to wino@isagri.com.
  2. Build and test your integration on staging. You can create, update and archive data there without touching a real shop.

For production​

  1. Ask for a production API key, write to wino@isagri.com.
  2. Switch the URL and the key to production. Both environments expose the same API.
  3. IDs differ between the two environments: shops, devices, taxes, products… everything you mapped on staging must be mapped again in production.

Next​