Codexshaper / laravel-woocommerce

WooCommerce Rest API for Laravel
MIT License
189 stars 59 forks source link

Support for additional API client configuration options #98

Open ChrisHardie opened 1 year ago

ChrisHardie commented 1 year ago

Feature request: it would be nice to support passing through additional configuration options to the underlying Automattic\WooCommerce\Client instance. For example, specifying a custom user agent.

Maybe it could be done via the config file or as an argument when constructing the API client? Here's the list of supported options: https://github.com/woocommerce/wc-api-php

Thanks for considering it.

maab16 commented 1 year ago

Hello @ChrisHardie,

Thanks for your suggestion. I'll check this and try to implement it asap.