woosignal 1.5.1
woosignal: ^1.5.1 copied to clipboard
WooCommerce REST API for dart, connect a WooCommerce store and start developing with our interface for their API endpoints.
WooCommerce API Dart plugin #
Official WooSignal WooCommerce package
Build apps for WooCommerce easier with our new package. Our API provides many requests types e.g. getProducts, getOrders, getCustomers and many more. Free to get started, see the simple examples below.
For help getting started with WooSignal, view our online documentation, which offers a more detail guide.
Getting Started #
In your flutter project add the dependency:
dependencies:
...
woosignal: ^1.5.0
Usage example #
Import woosignal.dart
import 'package:woosignal/woosignal.dart';
Example using WooSignal API for WooCommerce #
import 'package:woosignal/woosignal.dart';
...
// EXAMPLE GET PRODUCTS
_getProducts() async {
// CONFIG FOR WOOSIGNAL
var wsConfig = {
"appKey":"your app key",
"debugMode":true
};
// CREATING AN INSTANCE
WooSignal.getInstance(config: wsConfig).then( (wcStore) {
wcStore.getProducts().then( (products) {
print(products[0].name);
});
});
}
Available API Requests #
WooCommerce - Products
- Get Products
- Retrieve a Product by id
- Update a Product by id
- Delete a Product by id
- Create a Product
- Create, Delete and Update Product Multiple Time.
WooCommerce - Product Variations
- Get Product Variations
- Retrieve a Product Variation by id
WooCommerce - Product Attributes
- Get Product Attributes
WooCommerce - Products Attribute Terms
- Get Products Attribute Terms
See Products Attribute Terms API
WooCommerce - Product Categories
- Get Product Categories
WooCommerce - Products Shipping Classes
- Get Products Shipping Classes
See Products Shipping Classes API
WooCommerce - Product Reviews
- Get Product Reviews
WooCommerce - Tax Rates
- Get Tax Rates
WooCommerce - Tax Classes
- Get Tax Classes
WooCommerce - Shipping Zones
- Get Shipping Zones
- Retrieve a Shipping Zone by id
WooCommerce - Shipping Zone Locations
- Get Shipping Zone Locations
- Retrieve a Shipping Zone Location by id
See Shipping Zone Locations API
WooCommerce - Shipping Methods
- Get Shipping Methods
WooCommerce - Orders
- Get Orders
- Retrieve a Order by id
- Create an Order
- Update an Order
- Create, Delete and Update Order Multiple Time.
WooCommerce - Customers
- Get Customers
- Create a Customer
- Delete a Customer
- Update a Customer
- Create, Delete and Update Product Multiple Time.
WooCommerce - API Orders Notes
- List all Orders Notes
- Retrieve a Orders Notes by id
- Delete a Orders Notes by id
- Create a Orders Notes
WooCommerce - Refunds
- List all all the refunds from an order.
- Retrieve a retrieve and view a specific refund from an order
- Delete a delete an order refund.
- Create a new refund for an order.
WooCommerce - Coupons
- List all the coupons that have been created.
- Retrieve and view a specific coupon by ID
- This API lets you make changes or update to a coupon.
- Delete a delete a coupon.
- Create, Delete and Update Coupons Multiple Time.
WooCommerce - Reports
- List all the Reports that have been created.
- API lets you retrieve and view a sales report.
- API lets you retrieve and view a list of top sellers report.
- API lets you retrieve and view coupons totals report.
- API lets you retrieve and view customers totals report.
- API lets you retrieve and view orders totals report.
- API lets you retrieve and view products totals report
- API lets you retrieve and view reviews totals report.
WooCommerce - Data
- Retrieve and view a simple list of available data endpoints.
- API helps you to view all the continents..
- API lets you retrieve and view a continent data.
- API helps you to view all the countries..
- API lets you retrieve and view a country data.
- API helps you to view all the currencies.
- API lets you retrieve and view a currency data.
- API lets you retrieve and view store's current currency data.
WooCommerce - System Status
- API helps you to view all the system status items.
WooCommerce - Payment gateways
- API lets you retrieve and view a specific payment gateway.
- API helps you to view all the payment gateways.
- API lets you make changes to a payment gateway.
WooCommerce - Setting options
- API lets you retrieve and view a specific setting option.
- API helps you to view all the setting options.
- API lets you make changes to a setting option.
- Create, Delete and Update Setting options Multiple Time.
Disclaimer: This plugin is not affiliated with or supported by Automattic, Inc. All logos and trademarks are the property of their respective owners.