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
-1
votes
1 answer

Add attributs in Product using woocommrece API

when I create the attribute for the product from the API woocommerce , the attribute does not appear on the page of my site wordpress, so I have to refresh the publication for the product manually please any help? enter image description here enter…
-1
votes
1 answer

Obtain object valus in a JSON array with Google Apps Script (WooCommerce Webhook)

I have a WooCommerce webshop, which sends the created orders to a Google Spreadsheet using a webhook. I managed to make it work, except for one (crucial) step: I cannot seem to properly loop through the meta data of the line items. To give a bit…
-1
votes
1 answer

Implement Woocommerce POST Request in android

I am developing Android Application and using woocommerce REST API i am able to fetch products and display them in android app But i am not able to create order and customer using POST method in android. I have gone through documentation and all…
arsal
  • 1
-1
votes
1 answer

how to get custom added variable products attribute and attribute terms using woocommerce rest api v3

I am trying to get custom added attributes and its terms of a variable product using woocommerce rest API here is the value that i want from woocommerce rest api. But i dont find any woocommerce rest api documentation of getting custom attribute and…
-1
votes
1 answer

Adding variations using WooCommerce api

I wanted to add a product with variations using the wordpress/woocommerce api. I can successfully add a product with images and attributes but cannot convert these attributes to variations. Here is the code, i used using JSON format in postman or…
-1
votes
1 answer

How to filter the response from woocommerce rest API?

I need to filter the response of woocommmerce Rest API. It gives more than enough unnecessary response while making http requests. For example. When i need to show the products of specific category. I just need product id, image and slug but m…
-1
votes
1 answer

How to Authorize android app to communicate with woocommerce site using postman

I am trying to build an Android app that connects local users to a WordPress/WooCommerce site and retrive data from it to use them in the app. How could I autorize app to retreive woocomerce data from my site using postman please? Any help would be…
-1
votes
1 answer

Ionic apk showing blank page but showing list of products in browser

I had created a Woo Commerce site and it's in live. And then I convert my site into an ionic app using ionic woo commerce API. I have keys from woo commerce API in my site, I have configured keys into my app. The products and categories are display…
Sathya
  • 3
  • 5
-1
votes
1 answer

WooCommerce + Ionic: Unable to signup and checkout - Fetch API cannot load

I am working on a project that integrates WooCommerce with Ionic 3 and I am having problems with the signup and checkout functionality. I am able to read products and login from my WooCommerce site, but every time I do a post request, I am getting…
-1
votes
1 answer

Iam not getting details from user table

In the below code I am listing the farms using a rest api, and it is getting the data, but the farm profile model has related to the user model, in that fpro_userid. I want the username from the user table that I created a function extrafields by…
Pradeep Deepu
  • 25
  • 1
  • 3
-1
votes
1 answer

RecyclerView:No adapter attached; skipping layou, retrofit

good evening everyone, Ive been searching for a solution to an error android studio's log is sending using RecyclerView to show a JSON "product" list with retrofit. I have already read the questions related to this error but im not able to find the…
-1
votes
1 answer

How to use Woocommerce api in android app with customer key and customer secret keys of woocommerce wordpress website

I am making android application for a wordpress website, website has installed woocommerce, and woocommerce has features like wp rest api, so that we can access data by having it's api's of our website. but is there anyone who can tell me about how…
-1
votes
1 answer

How to import product into wordpress woocommerce from url and get command

I want to import products into word-press from URL. I want to know the product table fully, I mean that I want to map my URL tables with woo commerce table. What are the products and attributes and prices and variables table in woo commerce? For…
MGPM
  • 109
  • 8
-2
votes
2 answers

Order payment status check failing when waiting for payment status through a webhook

I'm building a payment plugin. The way it works is on clicking the pay option on the checkout page, the user gets a link on their mobile phone where they can complete the payment which then triggers a webhook to the WooCommerce site and status gets…
HymnZzy
  • 2,669
  • 1
  • 17
  • 27
-2
votes
1 answer

Change orders status by order number in Woocommerce

I would like to know if there is a way that i can change status of a bunch of orders with a list of order numbers, exemple : Change status of this orders from "In progess" to "Completed" 638 637 636 635 634 Thanks
1 2 3
63
64