The shipping zones API allows you to view individual or a batch of products.
Returns products back from WooCommerce, include parameters to query data.
// Initialize WooSignal
await WooSignal.instance.init(appKey: "your app key");
// Call API
List<ShippingZone> shippingZones = await WooSignal.instance.getShippingZones();
List<ShippingZone> instance
Represents the following object - WooCommerce list all shipping zones
Returns a shipping zone back from WooCommerce, include parameters to query data.
int id
// Initialize WooSignal
await WooSignal.instance.init(appKey: "your app key");
// Call API
ShippingZone shippingZone = await WooSignal.instance.retrieveShippingZone();
ShippingZone instance
Represents the following object - WooCommerce retrieve a shipping zone