We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In the REST API Documentation under Authentication over HTTPS, the sample code given for ruby is:
require "woocommerce_api" woocommerce = WooCommerce::API.new( "https://example.com", "consumer_key", "consumer_secret", { wp_json: true, version: "wc/v3" } )
When using this sample code, my attempts to access the index with woocommerce.get("") returned -1.
woocommerce.get("")
-1
The problem seems to be that this code shows a non-existent wp_json option. The correct name of this option is wp_api.
wp_json
wp_api
The text was updated successfully, but these errors were encountered:
No branches or pull requests
In the REST API Documentation under Authentication over HTTPS, the sample code given for ruby is:
When using this sample code, my attempts to access the index with
woocommerce.get("")
returned-1
.The problem seems to be that this code shows a non-existent
wp_json
option. The correct name of this option iswp_api
.The text was updated successfully, but these errors were encountered: