MC4WP_API_v3::add_ecommerce_store_product PHP Method

add_ecommerce_store_product() public method

Add a product to a store
public add_ecommerce_store_product ( string $store_id, array $args ) : object
$store_id string
$args array
return object
    public function add_ecommerce_store_product($store_id, array $args)
    {
        $resource = sprintf('/ecommerce/stores/%s/products', $store_id);
        return $this->client->post($resource, $args);
    }