Class Products
- WC_API_Resource
- WC_POS\API\Products
Methods summary
public
|
|
public
array
|
|
public
array
|
#
product_response( array $data, $product, $fields, $server )
Filter each product response from WC REST API for easier handling by the POS - use the thumbnails rather than fullsize - add barcode field - unset unnecessary data |
public
|
|
public
string
|
|
public
array|
|
Properties summary
protected
string
|
$base
$base the route base |
#
'/products'
|
public
|
$barcode_meta_key
|