woocommerce rest api error 404
-
After hitting the api curl https://dreammakeup.in/wc-api/v3/orders using postman. We found that the status we are getting is 404 instead of 200. please check and resolve
-
This topic was modified 4 years, 5 months ago by
sahil60789.
The page I need help with: [log in to see the link]
-
This topic was modified 4 years, 5 months ago by
-

-
This reply was modified 4 years, 5 months ago by
sahil60789.
Hi @sahil60789,
I’d like to understand more about your setup.
Could you please send me a copy of your site’s System Status? You can find it via WooCommerce > Status. Select “Get system report” and then “Copy for support”.
Once you’ve done that, you can paste the text in https://gist.github.com/ and feel free to change/remove your site URL in the report for privacy reasons.
Once you do that, you can paste the Gist link here in your reply.
hey thankyou so much for replying. As suggested i am attaching wocommerece status report link below
https://gist.github.com/freefunever/a6814dad4ed39e7bf235551a9ef4b7b2
Please check
Thanks once again
-
This reply was modified 4 years, 5 months ago by
sahil60789.
Hi @sahil60789,
Thanks for sharing your system status.
WooCommerce REST API v3 includes a new endpoint to get product orders. Try with this request, if successful it will return a 200 OK HTTP status.
/wp-json/wc/v3/ordersYou’ll find related info on the latest REST API documentation:
http://woocommerce.github.io/woocommerce-rest-api-docs/#list-all-orders
Thanks.
ok thanks i am getting 200 status using this endpoint but the problem is that i am not able to integrate shiprocket with the woocommerce it is showing wrong credentials when i contacted shiprocket support they said After hitting the api curl https://dreammakeup.in/wc-api/v3/orders using postman. We found that the status we are getting is 404 instead of 200. so can you please tell how to integrate shiprocket with woocommerce using api

Hi @sahil60789,
Have you tried using their plugin instead of the APIs?
yes i have used their plugin but their plugin is for only shipping charges functionality .Oher functionalities are not there. We can integrate woocommerce with shiprocket by their website only not with the plugin. If you want i can provide you the wordpress details so that you can take a closer look what is happening in the website.
Hi @sahil60789,
Make sure there are no spaces at the end in the Consumer Key and Consumer Secret fields. If it still doesn’t work you could generate new API keys in WooCommerce – https://woocommerce.com/document/woocommerce-rest-api/#section-2.
Actually, I’d recommend that you change your API keys since you’ve shared them publicly and that’s not safe.
Cheers.
done everything but still not able to integrate woocommerce with shiprocket. please provide a solution so that i can integrate shiprocket with woocommerce by api.
Have you tried generating new API keys as suggested by Mirko? If the API says “incorrect credentials”, then your credentials are the issue.
yes i already did that but still saying incorrect credentials in shiprocket website panel.
Hi @sahil60789
Here’s a tutorial about how to connect your WooCommerce with the Shiprocket panel:
https://www.shiprocket.in/knowledgebase/woocommerce-channel-integration/
Can you double-check if everything is set as stated? I’d also recommend checking out directly with them to get more details about that integration.
Let us know how it goes,
Thank you!
Checked the tutorial but still not able to integrate woocommerce with shiprocket. I dont know the problem. It is not integrating and showing wrong credentials. Any type of Help will be highly appreciated.
Sorry to hear the issue persists.
I have seen reports of other WordPress plugins interfering with the WooCommerce API connection. As a final troubleshooting step, I suggest you perform a plugin conflict test:
- Temporarily switch your theme to Storefront
- Disable all plugins except for WooCommerce
- Test the API connection again
If you’re not seeing the same problem after completing the conflict test, then you know the problem was with the plugins and/or theme you deactivated. To figure out which plugin is causing the problem, reactivate your other plugins one by one, testing after each, until you find the one causing conflict.
You can find a more detailed explanation on how to do a conflict test here.
i did all of the above
Temporarily switch your theme to Storefront
Disable all plugins except for WooCommerce
Test the API connection againstill shiprocket showing incorrect credentials on integrating woocommerce with shiprocket
-
This reply was modified 4 years, 5 months ago by
The topic ‘woocommerce rest api error 404’ is closed to new replies.