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...

796 questions
-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…
sachinmaharjan
  • 439
  • 3
  • 6
-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

WooCommerce REST API endpoints don't exist

After installing a fresh Wordpress 4.8 instance and the latest version of WooCommerce 3.0.8, we are trying to understand how to use the WooCommerce REST API. From their documentation, it seems to be pretty straightforward, but we just get 404s on…
-1
votes
2 answers

is there any woocommerce API for add To cart

Is there any woocommerce API for add to cart So that I can add product to cart via mobile app. Please help me.
-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…
-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
  • 7
-2
votes
1 answer

Woocommerce rest api: set id

using the Rest API, I would need to manually set the id of the category or product that I need to enter, is there any way to do this?
-2
votes
1 answer

In WooCommerce, Is it possible to display specific country only if cart total is over 100?

I have tried to do it using a filter hook called "woocommerce_countries". I tried getting the cart total in this hook but it's not working. Is anyone have any idea on this OR suggest any hook?
-2
votes
2 answers

Woocommerce create and use the product for a one-time purchase via programming

I would like to add a product programmed into the cart, but I don't want to add that into the Database to the other products. Is it possible to do that? And how I can control the information for the invoice? The reason why i want to do that is - I…
angUHLALA
  • 17
  • 1
  • 6
1 2 3
53
54