printful 0.0.3
printful: ^0.0.3 copied to clipboard
A Flutter plugin for seamless integration with the Printful API. Manage products, orders, shipping rates, and tracking directly in your Flutter apps with native Android & iOS support. Perfect for buil [...]
📦 Printful Flutter Plugin #
A Flutter plugin for integrating with the Printful API.
Easily manage products, orders, and shipping in your Flutter app with native Android/iOS support.
🚀 Features #
- 🔑 Authentication — Connect with your Printful account via API Key.
- 📦 Product Management — Fetch product catalog, variants, and details.
- 🛒 Order Handling — Create and manage orders directly from your app.
- 🚚 Shipping Rates — Retrieve live shipping estimates.
- 📊 Order Tracking — Get real-time shipment tracking updates.
📥 Installation #
Add this line to your pubspec.yaml:
dependencies:
printful: ^latest
Run flutter pub get to install the plugin into your app.
📝 Usage #
Import the package:
import 'package:printful/printful.dart';
Use Private key:
Printful.instance.setBearerToken({required String token});
Public App authorization:
Printful.instance.OAUTH_API.authorize;
Printful.instance.setHeaderStoreId({required String storeId});
Printful.instance.OAUTH_API;
Printful.instance.ORDER_API;
Printful.instance.CATALOG_API;
Printful.instance.PRODUCT_API;
Printful.instance.PRODUCT_TEMPLATE_API;
Printful.instance.FILE_LIBRARY_API;
Printful.instance.SHIPPING_RATE_API;
Printful.instance.COUNTRY_API;
Printful.instance.TAX_RATE_API;
📄 License #
This project is licensed under the MIT License - see the LICENSE file for details.
💡 Contributing #
Contributions are welcome!
Feel free to open an issue or submit a pull request.