Shipping Zones


Overview

The shipping zones API allows you to view individual or a batch of products.


List all shipping zones

Returns products back from WooCommerce, include parameters to query data.

getShippingZones()

API Call

// Initialize WooSignal
await WooSignal.instance.init(appKey: "your app key");

// Call API
List<ShippingZone> shippingZones = await WooSignal.instance.getShippingZones();

Response

List<ShippingZone> instance

Represents the following object - WooCommerce list all shipping zones


Retrieve a shipping zone

Returns a shipping zone back from WooCommerce, include parameters to query data.

getShippingZone(id:"product id")

Parameters

    int id

API Call

// Initialize WooSignal
await WooSignal.instance.init(appKey: "your app key");

// Call API
ShippingZone shippingZone = await WooSignal.instance.retrieveShippingZone();

Response

ShippingZone instance

Represents the following object - WooCommerce retrieve a shipping zone