laravel-google-merchant-api
laravel-google-merchant-api copied to clipboard
Product Delete Failed
ProductApi::merchant([ 'merchant_id' => config('laravel-google-merchant-api.merchants.moirei.merchant_id'), 'client_credentials_path' => config('laravel-google-merchant-api.merchants.moirei.client_credentials_path') ])->delete(function($product){ $product->offerId(2); })->then(function($response){ echo 'Product deleted'; })->otherwise(function($response){ echo 'Delete failed'; })->catch(function($e){ echo($e->getResponse()->getBody()->getContents()); });
this is going on Delete Failed, but it is also deleted product from my merchant account. what is the issue can anybody tells?