2024-05-31 14:31:27 +00:00
---
id: woocommerce
title: WooCommerce
---
ToolJet can connect to WooCommerce databases to read and write data.
2024-09-26 13:04:08 +00:00
< div style = {{paddingTop:'24px'}} >
2024-05-31 14:31:27 +00:00
## Connection
2024-09-26 13:04:08 +00:00
To establish a connection with the WooCommerce data source, you can either click on the ** + Add new Data source** button located on the query panel or navigate to the ** [Data Sources ](/docs/data-sources/overview )** page from the ToolJet dashboard and choose WooCommerce as the data source.
ToolJet requires the following to connect to WooCommerce
2024-05-31 14:31:27 +00:00
- **Host**
- **Consumer key**
- **Consumer secret**
2024-09-26 13:04:08 +00:00
< img className = "screenshot-full" src = "/img/datasource-reference/woocommerce/woocomerce-auth-v2.png" alt = "ToolJet - Data Source - Woocommerce" / >
2024-05-31 14:31:27 +00:00
:::info
NOTE: For generating keys visit admin dashboard of woocommerce , more info: https://woocommerce.github.io/woocommerce-rest-api-docs/?javascript#authentication
:::
2024-09-26 13:04:08 +00:00
< / div >
< div style = {{paddingTop:'24px'}} >
## Querying WooCommerce
1. Click on ** + Add** button of the query manager at the bottom panel of the editor.
2. Select the **WooCommerce** datasource added in previous step.
3. Select the desired resource from the dropdown and then select the desired operation and enter the required parameters.
4. Click on the **Preview** button to preview the output or Click on the **Run** button to trigger the query.
:::tip
Query results can be transformed using transformations. Read our transformations documentation to see how: ** [link ](/docs/tutorial/transformations )**
:::
< / div >
2024-05-31 14:31:27 +00:00
2024-09-26 13:04:08 +00:00
< div style = {{paddingTop:'24px'}} >
2024-05-31 14:31:27 +00:00
2024-09-26 13:04:08 +00:00
## Resource
2024-05-31 14:31:27 +00:00
2024-09-26 13:04:08 +00:00
### Customer
2024-05-31 14:31:27 +00:00
2024-09-26 13:04:08 +00:00
#### Supported Operations
2024-05-31 14:31:27 +00:00
2024-09-26 13:04:08 +00:00
- **list customer**
- **update customer**
- **delete customer**
- **batch update customer**
- **create customer**
- **retrieve customer**
2024-05-31 14:31:27 +00:00
2024-09-26 13:04:08 +00:00
### Product
2024-05-31 14:31:27 +00:00
2024-09-26 13:04:08 +00:00
#### Supported Operations
2024-05-31 14:31:27 +00:00
2024-09-26 13:04:08 +00:00
- **list product**
- **update product**
- **delete product**
- **batch update product**
- **create product**
- **retrieve product**
2024-05-31 14:31:27 +00:00
2024-09-26 13:04:08 +00:00
### Order
#### Supported Operations
- **list order**
- **update order**
- **delete order**
- **batch update order**
- **create order**
- **retrieve order**
### Coupon
#### Supported Operations
- **list coupon**
- **create coupon**
2024-05-31 14:31:27 +00:00
:::info
NOTE: For more info visit https://woocommerce.github.io/woocommerce-rest-api-docs/?javascript.
2024-09-26 13:04:08 +00:00
:::
< / div >