WordPress Rest API active for main domain but not working for sub-domain
-
Hi! I am working on a dropshipping website built on the sub-domain annonceme.com/store and the dropshipping suppliers require WordPress Rest API to be active. I do not have any knowledge about WordPress Rest API and I need help with it.
The website shows JSON data for the main domain https://annonceme.com/wp-json but it does not show JSON data for the sub-domain https://annonceme.com/store/wp-json.
Please guide me on how can I make the WordPress Rest API active for the sub-domain and make the JSON data for it available.
Thank You!WP.com: Unknown
Jetpack: Unknown
Correct account: UnknownThe blog I need help with is: (visible only to logged in users)
-
Hi there,
You’re posting in the support forum for the hosting provider, WordPress.com, but you’re using the open source software made by the community on WordPress.org.
You can find the REST API documentation for that software here:
https://developer.wordpress.org/rest-api/
But for your store data you’ll likely need to use the WooCommerce REST API, as I see that’s the plugin you’re using for the ecommerce features on your site. You can find their documentation here:
https://woocommerce.github.io/woocommerce-rest-api-docs/#introduction
For more help with this, please ask in the WordPress.org community forums, or else contact WooCommerce support directly:
https://wordpress.org/support/forums/
https://wordpress.org/support/plugin/woocommerce/
But this isn’t something we’re able to help with here on WordPress.com, as we don’t have any control over your site, nor over either of those APIs :)
-
- The topic ‘WordPress Rest API active for main domain but not working for sub-domain’ is closed to new replies.