The shipping zones API allows you to view individual or a batch of products.
Returns products back from WooCommerce, include parementers to query data.
// CONFIG FOR WOOSIGNAL
var wsConfig = {
"appKey":"your app key",
"debugMode":true
};
// CREATING AN INSTANCE
WooSignal.getInstance(config: wsConfig).then( (wcStore) {
wcStore.getShippingZones().then( (shippingZones) {
print(shippingZones[0].name); // e.g. first shippingZone name
});
});
List<ShippingZone> instance
Represents the following object - WooCommerce list all shipping zones
Returns a shipping zone back from WooCommerce, include parementers to query data.
int id
// CONFIG FOR WOOSIGNAL
var wsConfig = {
"appKey":"your app key",
"debugMode":true
};
// CREATING AN INSTANCE
WooSignal.getInstance(config: wsConfig).then( (wcStore) {
wcStore.retrieveShippingZone().then( (shippingZone) {
print(shippingZone);
});
});
ShippingZone instance
Represents the following object - WooCommerce retrieve a shipping zone