Can I retrieve a product by SKU when using the PHP SDK?

Currently, it is not possible to retrieve products directly by SKU using either the new PHP SDK or Keap’s REST APIs (v1 or v2).

The only way to search products by SKU is using the legacy PHP SDK with XML-RPC(which is not recomended to use because its deprecated ), for example:

$product = $infusionsoft->data()->query(
    'Product',           // Table
    5,                   // Limit
    0,                   // Page
    ['Sku' => 'prd-299'],// Query data (search by SKU)
    ['Id','ProductName'],// Fields to return
    'Id',                // Order by
    true                 // Ascending
);

This would return something like:

Array
(
    [0] => Array
            [ProductName] => TestProduct
            [Id] => 4
        )
)

IMPORTANT: this approach is not recommended, as XML-RPC is deprecated.