Lookups¶
WooCommerce can be queried from within any transform via the CustomLookup function. This useful to translate/lookups values in WooCommerce for use in any integration such as record Ids.
The CustomLookup function is very similar to the native Lookup function in IMan.
Syntax¶
Arguments¶
systemid¶
The system id value of the Shopify system connector to be used for the lookup.
select¶
The JPATH of the field to be returned.
from¶
This is the WooCommerce resource to be queried e.g. products, variants, customers.
where¶
The query string to pass to WooCommerce.
emptystring¶
This parameter is not used, just pass an empty string.
mustreturnvalue¶
True or False to specify the Lookup query should return one record.
Example¶
To return the id of a product querying by sku.