Questions tagged [woocommerce-rest-api]

WooCommerce REST API is fully integrated with the WordPress REST API since WC version 2.6+, allows WC data to be created, read, updated, and deleted using requests in JSON format and using **WordPress REST API** Authentication methods and standard HTTP verbs…

WooCommerce (WC) 2.6+ is fully integrated with the WordPress REST API. This allows WC data to be created, read, updated, and deleted using requests in JSON format and using WordPress REST API Authentication methods and standard HTTP verbs which are understood by most HTTP clients.

Requirements: It’s required turn on the WordPress permalinks on Settings > Permalinks.

WooCommerce REST API Documentation

WooCommerce REST API

Prior to 2.6, WooCommerce had it’s own REST API separate from WordPress which is now known as the legacy API. You can find the documentation for the legacy API separately.

The default response format is . Requests with a message-body use plain to set or update resource attributes. Successful requests will return a 200 OK HTTP status...

957 questions
0
votes
1 answer

Woocommerce digital product hosted on Amazon S3 - do I NEED to buy the integration plugin?

Woocommerce is famous for overpriced and semi-useless extensions and S3 has massive configurability. So since I have very little experience both and didn't find any online tutorial I am wondering does woocommerce force you to buy the extension to…
0
votes
1 answer

Woo-Commerce REST API response correct on Postman not in Xcode

I am implementing a "POST" api for creating an order through woo-commerce: POST http://www.url.in/wp-json/wc/v1/orders I am also using external library Oauth1 for it which uses one-legged authentication for it. Now when I run the API on Postman, it…
Tripti Kumar
  • 1,559
  • 14
  • 28
0
votes
1 answer

No product data specified to create product [woocommerce_api_missing_product_data]

I have downloaded latest repository of woocommerce php API. I have been following woocommerce REST API Docs to create a test product. I have copied the sample from their documentation but it is not working. Here is my code. API docs :…
John FG
  • 131
  • 1
  • 1
  • 6
0
votes
1 answer

woocommerce Rest API giving permission error while fetching orders from store

I am using WP Rest API to fetch the orders from store using consumer key and secrete in URL but its giving me error of permission and order not be read. Kindly anyone can suggest the solution for this issue that how i can debug and solve the issue I…
0
votes
1 answer

Woocommerce api - create customer - email notification

I'm using the woocommerce api with https://github.com/kloon/WooCommerce-REST-API-Client-Library. I have enabled customer registration email notification in Woocommerce settings -> Email. I would like to know whether the customer receive the email if…
arun kumar
  • 703
  • 2
  • 13
  • 33
0
votes
1 answer

Woocommerce add to cart error

Am currently working on woocommerce api, Since am new to this, I have some doubts. Am using woocommerce rest API, for retreiving data, the problem is i can able to retrieve data from woocommerce after spending so much time. Now I'm getting problem…
VinoPravin
  • 947
  • 3
  • 17
  • 32
0
votes
1 answer

Woocommerce plugin development

I have a master woocommerce website and there are few slave woocommerce websites. I have copied all the products in into the slave websites. I want to show product stock from master website only. So for example, if there are 4 USB's in stock on…
0
votes
0 answers

Copy code from Postman to Xcode

I'm using a postman software to test the API response. I'm getting a proper response with the following…
Jimmy
  • 93
  • 1
  • 8
0
votes
3 answers

Woocommerce Rest api oAuth1.0a authentication error

I am working on a react native project in which I need to create an app to display the products and orders with the help of woocommerce rest api. I am making my own oauth request to fetch the json data as crypto npm module is not supported in react…
0
votes
0 answers

How to POST reviews using WooCommerce REST API

Please how do one post reviews using WooCommerce REST API? I read the documentation but I couldn't find it. I mean, what format will the URL be for making the post request?
X09
  • 3,827
  • 10
  • 47
  • 92
0
votes
0 answers

Woocommerce save form email and cellphone on cookie and autopopulate email/cellphone on checkout page

After the first product is being added to cart on Woocommerce I'm redriecting the user to a custom page with a form on it where I ask for email and cellphone. FORM ID ---> #smform-28543 email ID ---> #smform-field285431 cellphone ID --->…
sebas
  • 722
  • 1
  • 6
  • 21
0
votes
1 answer

How to authenticate WooCommerce REST API

I have generated the consumer key and consumer secret but I don't know how to aply it to authenticate on Postman. This is the screenshot below: The url looks like this:…
Abdullq
  • 69
  • 1
  • 8
0
votes
1 answer

Unable to run more than 2 webhooks on woocommerce simultaneously

I am trying to use woocommerce webhooks to send product and order data to sync with salesforce. But i notice that at any point only 2 webhooks work, while the others don't. Changing the delivery URL and then testing the other logic works, but only 2…
Gagan
  • 337
  • 3
  • 7
  • 18
0
votes
1 answer

Connecting UWP app to WooCommerce gives authentication error

I trying to connect UWP app to WooCommerce. Found this plugin on GitHub I write my code like this RestAPI rest = new RestAPI("www.simplegames.com.ua/wp-json/wc/v1/", "ck_f03bbd67e26a96604ddb188dbd63be3d252891ab", "…
user6706072
0
votes
0 answers

Issue in POST method with Woocommerce REST API

I'm developing an android app with Woocommerce REST API. I 'm able to access the data's through this REST api using GET method, now i'm facing issue in creating new customer using this REST API. here POST method is not working. my END_POINT is…
Madhan
  • 495
  • 2
  • 10
  • 22