Products Attribute Terms


Overview

The products attribute terms API allows you to view individual or a batch of products.


List all products

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

getProductAttributeTerms()

Parameters

int page,
int perPage,
String search,
List<int> exclude,
List<int> include,
String order,
String orderBy,
bool hideEmpty,
int parent,
int product,
String slug

API Call

// CONFIG FOR WOOSIGNAL
var wsConfig = {
"appKey":"your app key",
"debugMode":true
};

// CREATING AN INSTANCE
WooSignal.getInstance(config: wsConfig).then( (wcStore) {

    wcStore.getProductAttributeTerms().then( (productAttributeTerms) {
        print(productAttributeTerms);
    });

});

Response

List<ProductAttributeTerm> instance

Represents the following object - WooCommerce list all product attribute terms