Codexshaper / laravel-woocommerce

WooCommerce Rest API for Laravel
MIT License
194 stars 57 forks source link

I can't update a product? #72

Closed ghost closed 3 years ago

ghost commented 3 years ago

I can't update or delete products only add. Do you know why? it break on ;

` * @param string $endpoint API endpoint.

 * @param array  $data

 *

 * @return array

 */

public function update($endpoint, $data)

{

    try {

        self::__construct();

        return $this->client->put($endpoint, $data);

    } catch (\Exception $e) {

        throw new \Exception($e->getMessage(), 1);

    }

}`

Exception Error: []

ghost commented 3 years ago

Fixed, .htaccess issue.

gusjara commented 7 months ago

Fixed, .htaccess issue.

How do you fixed with .htaccess?

Thank you!