Shopify API Dart plugin
Official WooSignal Shopify package
Build apps for Shopify easier with our new package. Free to get started, see the simple examples below.
Getting Started
In your flutter project add the dependency:
dependencies:
...
woosignal_shopify_api: ^1.3.12
Usage example
Import woosignal_shopify_api.dart
import 'package:shopify_woosignal/woosignal_shopify_api.dart';
Example using WooSignal API for Shopify
import 'woosignal_shopify_api/woosignal_shopify_api.dart';
...
// EXAMPLE GET PRODUCT
_getProducts() async {
// Step 1 - Initialize WooSignal
await WooSignalShopify.instance.init(appKey: "your app key");
// Step 2 - Call an API
ShopifyProductResponse? shopifyProductResponse = await WooSignalShopify.instance.getProducts();
print(shopifyProductResponse?.products?[0].name); // prints a product name
});
}
Available API Requests
Coming soon
Disclaimer: This plugin is not affiliated with or supported by Shopify. All logos and trademarks are the property of their respective owners.
Libraries
- enums/tax_values
- models/app_tax
- models/discount_code
- models/product
- models/product_image
- models/response/app_shopify_collection
- models/response/auth/auth_customer_address_updated
- models/response/auth/auth_customer_info
- models/response/auth/auth_customer_order
- models/response/auth/auth_customer_updated_response
- models/response/auth/auth_user
- models/response/auth/customer_access_token_response
- models/response/collection_item_response
- models/response/count_response
- models/response/countries_response
- models/response/order_created_response
- models/response/order_response
- models/response/page_info
- models/response/policies_response
- models/response/price_rule_response
- models/response/product_image_count_response
- models/response/product_image_response
- models/response/product_images_response
- models/response/product_search
- models/response/product_variants_response
- models/response/products_by_collection_id_response
- models/response/products_response
- models/response/provinces_response
- models/response/shipping_zones_response
- models/response/shop_response
- models/response/shopify_category
- models/response/shopify_country_response
- models/response/shopify_error
- models/response/shopify_product_response
- models/response/shopify_product_search_response
- models/response/smart_collection_response
- models/response/woosignal_app
- models/shopify_cart_product
- models/shopify_order
- models/shopify_shipping_method
- models/shopify_shipping_zone
- networking/api_provider
- woosignal_shopify_api