/** * Delete a product. * * @param GSC_Product $product The product to delete. * Must have rel='edit' set. * @param boolean $warnings A boolean to determine if the warnings should be * included. Defaults to false. * @param boolean $dryRun A boolean to determine if the dry-run should be * included. Defaults to false. * @throws GSC_ClientError if the response code is not 200. * @return void */ public function deleteProduct($product, $warnings = false, $dryRun = false) { $productUri = $this->appendQueryParams($product->getEditLink(), $warnings, $dryRun); $this->deleteFromLink($productUri); }