# Project E-Commerce connected with WooCommerce

**URL:** <https://community.thunkable.com/t/project-e-commerce-connected-with-woocommerce/3280390>\
**Category:** Web API's\
**Tags:** beginner\
**Created:** [October 18, 2024, 7:01am UTC](https://community.thunkable.com/t/project-e-commerce-connected-with-woocommerce/3280390 "2024-10-18T07:01:02Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![modiga.paul2845ra8a](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/modiga.paul2845ra8a/32/179600_2.png) [@modiga.paul2845ra8a](https://community.thunkable.com/u/modiga.paul2845ra8a)\
**Post date:** [October 18, 2024, 7:01am UTC](https://community.thunkable.com/t/project-e-commerce-connected-with-woocommerce/3280390/1 "2024-10-18T07:01:02Z")

</div>

**Hello Guys,**

I am encountering an issue. I am trying to extract all my WooCommerce products inside my Thunkable application. However, for some reason, I can’t figure out what is wrong, as I don’t get any response or any kind of error in the app.

In this [screenshot](https://prnt.sc/n-QlHLzD60xj), you can see my configuration. This is the web API I created: [screenshot](https://prnt.sc/1noC60GXXZYb). As you can see here, nothing is showing up: [screenshot](https://prnt.sc/nT0EB0xpDpJl). I tested the API key with Postman, and I managed to connect successfully, so the API key is working fine.

I do mention I am a beginner, so I am definitely doing something wrong. Please assist me in solving this thank you.

---

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [October 18, 2024, 12:27pm UTC](https://community.thunkable.com/t/project-e-commerce-connected-with-woocommerce/3280390/2 "2024-10-18T12:27:32Z")

</div>

To get the property of an object, you must provide an object. But the green response block is JSON-formatted text. So you need to first get an object from that JSON and then use it in your “for each item” loop.

You can see an example here: [Random List of Questions - #2 by muneer](https://community.thunkable.com/t/random-list-of-questions/2055729/2)

It’s helpful if you embed your screenshots on your forum post. You can do that by copying and pasting the image itself or its url into a post. Or you can use the upload button in the toolbar above the post. You can also resize images once you add them to your post.

---

<div class="post-metadata">

**Author:** ![modiga.paul2845ra8a](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/modiga.paul2845ra8a/32/179600_2.png) [@modiga.paul2845ra8a](https://community.thunkable.com/u/modiga.paul2845ra8a)\
**Post date:** [October 19, 2024, 6:25am UTC](https://community.thunkable.com/t/project-e-commerce-connected-with-woocommerce/3280390/3 "2024-10-19T06:25:30Z")

</div>

Thank you i will try that. To see if it works.

---

<div class="post-metadata">

**Author:** ![modiga.paul2845ra8a](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/modiga.paul2845ra8a/32/179600_2.png) [@modiga.paul2845ra8a](https://community.thunkable.com/u/modiga.paul2845ra8a)\
**Post date:** [October 19, 2024, 2:12pm UTC](https://community.thunkable.com/t/project-e-commerce-connected-with-woocommerce/3280390/4 "2024-10-19T14:12:53Z")

</div>

![Screenshot_32](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/8/1/81bf0cecbb46513e8a2c60c936af43bcf78fc113.png)

This is what i did now and still not getting anything. No error message nothing.

I also get this error in console when i inspect the app from thunkable. I don’t know if it is relevant.

 ![Screenshot_33](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/c/0cd7800fb78b417bc522331c0352602cb8f906e1.png)

---

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [October 20, 2024, 12:45pm UTC](https://community.thunkable.com/t/project-e-commerce-connected-with-woocommerce/3280390/5 "2024-10-20T12:45:55Z")

</div>

The next thing we need to see is the full JSON response as **text**. To get that, assign the green `response` block to a text input’s text. That way you can copy it and paste it into a post here. Make sure to format the text using the \</\> button in the toolbar above your post to remove smart quotes.

---

<div class="post-metadata">

**Author:** ![modiga.paul2845ra8a](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/modiga.paul2845ra8a/32/179600_2.png) [@modiga.paul2845ra8a](https://community.thunkable.com/u/modiga.paul2845ra8a)\
**Post date:** [October 20, 2024, 5:04pm UTC](https://community.thunkable.com/t/project-e-commerce-connected-with-woocommerce/3280390/6 "2024-10-20T17:04:30Z")

</div>

![Screenshot_7](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/5/9/594fb9935b0164a8af2e8ec26b5e531a4cb813b7.png)  
I have made a change Using the Block from Home page. when home opens do call Produse Magazin Api Get. Cause this is the only way i do receive response and some error message. I hope it’s ok like this to. and i get this error now…

```auto
[{"id":14161,"name":"Pompa de aer auto de 120W f\u0103r\u0103 fir\/cu fir","slug":"pompa-de-aer-auto-de-120w-fara-fir-cu-fir","permalink":"https:\/\/www.shoptastic.ro\/produs\/pompa-de-aer-auto-de-120w-fara-fir-cu-fir\/","date_created":"2024-10-20T19:45:15","date_created_gmt":"2024-10-20T16:45:15","date_modified":"2024-10-20T19:45:23","date_modified_gmt":"2024-10-20T16:45:23","type":"variable","status":"publish","featured":false,"catalog_visibility":"visible","description":"<h3 style=\"text-align: center\"><b>SPECIFICA\u021aII:<\/b><\/h3>\n<p style=\"text-align: center\"><\/p>\n<p style=\"text-align: center\">Tensiune: 12V<\/p>\n<p style=\"text-align: center\"><\/p>\n<p style=\"text-align: center\">Numele modelului: Mic\u0103 pomp\u0103 de aer portabil\u0103 f\u0103r\u0103 fir<\/p>\n<p style=\"text-align: center\">Tipul materialului: Motor din cupru + Corp ABS<\/p>\n<p style=\"text-align: center\">L\u0103\u021bimea articolului: 14<\/p>\n<p style=\"text-align: center\">Greutatea articolului: 0.5<\/p>\n<p style=\"text-align: center\">Tipul articolului: Pompe<\/p>\n<p style=\"text-align: center\">Lungimea articolului: 21<\/p>\n<p style=\"text-align: center\">\u00cen\u0103l\u021bimea articolului: 6<\/p>\n<p style=\"text-align: center\">Diametrul articolului: 0<\/p>\n<p style=\"text-align: center\">Numele brandului: NarzrIe<\/p>\n","short_description":"","sku":"","price":"112.99","regular_price":"","sale_price":"","date_on_sale_from":null,"date_on_sale_from_gmt":null,"date_on_sale_to":null,"date_on_sale_to_gmt":null,"on_sale":true,"purchasable":true,"total_sales":0,"virtual":false,"downloadable":false,"downloads":[],"download_limit":-1,"download_expiry":-1,"external_url":"","button_text":"","tax_status":"taxable","tax_class":"","manage_stock":false,"stock_quantity":null,"backorders":"no","backorders_allowed":false,"backordered":false,"low_stock_amount":null,"sold_individually":false,"weight":"","dimensions":{"length":"","width":"","height":""},"shipping_required":true,"shipping_taxable":true,"shipping_class":"","shipping_class_id":0,"reviews_allowed":true,"average_rating":"0.00","rating_count":0,"upsell_ids":[],"cross_sell_ids":[],"parent_id":0,"purchase_note":"","categories":[{"id":260,"name":"Auto \u0219i Moto","slug":"auto-si-moto"}],"tags":[],"images":[{"id":14151,"date_created":"2024-10-20T22:44:44","date_created_gmt":"2024-10-20T16:44:44","date_modified":"2024-10-20T22:44:47","date_modified_gmt":"2024-10-20T16:44:47","src":"https:\/\/www.shoptastic.ro\/wp-content\/uploads\/2024\/10\/Sff1f55a6ec8a4a6dbed8d876e13a59230.jpg","name":"Sff1f55a6ec8a4a6dbed8d876e13a59230.jpg","alt":"Cump\u0103r\u0103turile online sunt acum mai u\u0219oare ca niciodat\u0103 pe ShopTastic.ro...","thumbnail":"https:\/\/www.shoptastic.ro\/wp-content\/uploads\/2024\/10\/Sff1f55a6ec8a4a6dbed8d876e13a59230-150x150.jpg","medium":"https:\/\/www.shoptastic.ro\/wp-content\/uploads\/2024\/10\/Sff1f55a6ec8a4a6dbed8d876e13a59230-300x300.jpg"},{"id":14152,"date_created":"2024-10-20T22:44:47","date_created_gmt":"2024-10-20T16:44:47","date_modified":"2024-10-20T22:44:47","date_modified_gmt":"2024-10-20T16:44:47","src":"https:\/\/www.shoptastic.ro\/wp-content\/uploads\/2024\/10\/Sf5fe465a1fa145f38ce622e0d6eafbc3a.jpg","name":"Sf5fe465a1fa145f38ce622e0d6eafbc3a.jpg","alt":"Cump\u0103r\u0103turile online sunt acum mai u\u0219oare ca niciodat\u0103 pe ShopTastic.ro...","thumbnail":"https:\/\/www.shoptastic.ro\/wp-content\/uploads\/2024\/10\/Sf5fe465a1fa145f38ce622e0d6eafbc3a-150x150.jpg","medium":"https:\/\/www.shoptastic.ro\/wp-content\/uploads\/2024\/10\/Sf5fe465a1fa145f38ce622e0d6eafbc3a-300x300.jpg"},{"id":14153,"date_created":"2024-10-20T22:44:50","date_created_gmt":"2024-10-20T16:44:50","date_modified":"2024-10-20T22:44:50","date_modified_gmt":"2024-10-20T16:44:50","src":"https:\/\/www.shoptastic.ro\/wp-content\/uploads\/2024\/10\/Sf94ce1d7443e410ea4da3074db5d7482J.jpg","name":"Sf94ce1d7443e410ea4da3074db5d7482J.jpg","alt":"Cump\u0103r\u0103turile online sunt acum mai u\u0219oare ca niciodat\u0103 pe ShopTastic.ro...","thumbnail":"https:\/\/www.shoptastic.ro\/wp-content\/uploads\/2024\/10\/Sf94ce1d7443e410ea4da3074db5d7482J-150x150.jpg","medium":"https:\/\/www.shoptastic.ro\/wp-content\/uploads\/2024\/10\/Sf94ce1d7443e410ea4da3074db5d7482J-300x300.jpg"},{"id":14154,"date_created":"2024-10-20T22:44:53","date_created_gmt":"2024-10-20T16:44:53","date_modified":"2024-10-20T22:44:53","date_modified_gmt":"2024-10-20T16:44:53","src":"https:\/\/www.shoptastic.ro\/wp-content\/uploads\/2024\/10\/A9f4187722c704c2db990d779bb7a3cc9n.jpg","name":"A9f4187722c704c2db990d779bb7a3cc9n.jpg","alt":"Cump\u0103r\u0103turile online sunt acum mai u\u0219oare ca niciodat\u0103 pe ShopTastic.ro...","thumbnail":"https:\/\/www.shoptastic.ro\/wp-content\/uploads\/2024\/10\/A9f4187722c704c2db990d779bb7a3cc9n-150x150.jpg","medium":"https:\/\/www.shoptastic.ro\/wp-content\/uploads\/2024\/10\/A9f4187722c704c2db990d779bb7a3cc9n-300x300.jpg"},{"id":14155,"date_created":"2024-10-

```

As far as i see the import should work now. But it’s not displaying correctly. am i right or wrong?

and on test mode in thunkable i recieve this.

 ![Screenshot_8](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/1/012bbbaf68210ec97ae5f0c6f7e431a4c60728ad.png)
