Skip to content
pubscout

vendure

7.6.1, released yesterday by zuraffa.com

Typed Dart and Flutter SDK for Vendure GraphQL APIs

$ flutter pub add vendure
Source repository

What it does

Provides a channel-aware client for Vendure commerce APIs, supporting catalog, cart, checkout, payment, and customer domains via GraphQL. Includes both a real HTTP/WebSocket data source and an in-memory implementation for testing.

AI-written summary of version 7.6.1, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You are building an app or service that communicates with a Vendure e-commerce backend
  • You need channel-aware catalog, cart, and order management in Dart
  • You want a structured repository pattern with testable in-memory data sources

Skip it when

  • Your backend is not Vendure
  • You prefer writing raw GraphQL queries and mutations manually without a typed SDK

Strengths

  • Complete coverage of Vendure shop and admin domains
  • Built-in support for multiple auth strategies including native, Firebase, custom, and API keys
  • Includes an in-memory data source for offline development and testing

Weaknesses

  • Tied strictly to the Vendure e-commerce ecosystem
  • Requires build_runner for code generation

Setup

Kind
Pure Dart
Effort
Medium
Code generation
Yes (build_runner)
Direct dependencies
7

Requires running build_runner to generate zorphy and json entities.

final vendure = await Vendure.initialize(
  endpoint: 'https://shop.example.com/shop-api',
  languageCode: 'en',
);
final order = await vendure.order.getActiveOrder();

Alternatives

Packages that do the same job and could replace vendure.

  • dio

    If you prefer a flexible HTTP client for custom REST APIs instead of a dedicated Vendure GraphQL SDK.

Works with

Packages commonly used together with vendure: ones it builds on, ones built on it, and its own family.