> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.posbytz.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# WooCommerce Integration

# WooCommerce Integration

### Setup & Configuration

To integrate WooCommerce , we need to do authorization.

| **Navigation**: POS Backend → Accounts & Settings → Integrations → Online Store → WooCommerce → Install  → Enter the Shop URL, Client ID & Client secret key → Save

![](https://storage.crisp.chat/users/helpdesk/website/9ae720b538edc000/screenshot-2023-02-11-144001_i00gt8.jpg)

###### Where to get Client ID & Client secret key? 

| **Navigation**: WooCommerce Backend → WooCommerce → Settings → Advanced → Rest API 

* Enter **Description **(same as shop name this instance POS Kart) and Select **Permission** as read/write. 

![](https://storage.crisp.chat/users/helpdesk/website/9ae720b538edc000/screenshot-7_5umskl.png)

* Click **Generate API key.**

![](https://storage.crisp.chat/users/helpdesk/website/9ae720b538edc000/screenshot-40_1r7pev0.png)

* Copy the **Consumer key** (Client ID) and **Consumer Secret** (Client Secret).  

![](https://storage.crisp.chat/users/helpdesk/website/9ae720b538edc000/screenshot-42_1aq6vpn.png)

### Data Sync from WooCommerce

| **Navigation**: POS Backend → Accounts & Settings → Integrations → Online Store → WooCommerce → Sync

![](https://storage.crisp.chat/users/helpdesk/website/9ae720b538edc000/screenshot-2023-02-11-144001_3efdss.jpg)

###### Item Synced 

![](https://storage.crisp.chat/users/helpdesk/website/9ae720b538edc000/screenshot-46_87lrq1.png)

###### Inventory Synced

![](https://storage.crisp.chat/users/helpdesk/website/9ae720b538edc000/screenshot-47_xaej69.png)

### Stock update from WooCommerce

| **Navigation**: WooCommerce Backend → ATUM Inventory → Purchase Orders → Add New PO

![](https://storage.crisp.chat/users/helpdesk/website/9ae720b538edc000/screenshot-57_1j6mcwl.png)

* Enter the required purchase order details.

![](https://storage.crisp.chat/users/helpdesk/website/9ae720b538edc000/screenshot-58_y2evct.png)

* Add items, enter the quantity received and Click **Save**.  

![](https://storage.crisp.chat/users/helpdesk/website/9ae720b538edc000/screenshot-59_3hxmh6.png)

* Stock received in WooCommerce

![](https://storage.crisp.chat/users/helpdesk/website/9ae720b538edc000/screenshot-60_14jrffa.png)

* Perform sync in PosBytz account for stock update.

| **Navigation**: POS Backend → Accounts & Settings → Integrations → Online Store → WooCommerce → Sync

![](https://storage.crisp.chat/users/helpdesk/website/9ae720b538edc000/screenshot-2023-02-11-144001_aijgai.jpg)

* Stock updated in PosBytz account

![](https://storage.crisp.chat/users/helpdesk/website/9ae720b538edc000/screenshot-62_mt279w.png)

### Sales

* Make a sale in POS frontend. 

![](https://storage.crisp.chat/users/helpdesk/website/9ae720b538edc000/screenshot-67_1ybwqqe.png)

*  POS sale got captured into WooCommerce. 

![](https://storage.crisp.chat/users/helpdesk/website/9ae720b538edc000/screenshot-70_po5mwe.png)

![](https://storage.crisp.chat/users/helpdesk/website/9ae720b538edc000/screenshot-68_je4w7n.png)

* Inventory of those sale are reduced accordingly in WooCommerce. 

![](https://storage.crisp.chat/users/helpdesk/website/9ae720b538edc000/screenshot-69_175tu9a.png)

### Refund

* Process refund in POS frontend.

![](https://storage.crisp.chat/users/helpdesk/website/9ae720b538edc000/screenshot-76_4qa93s.png)

![](https://storage.crisp.chat/users/helpdesk/website/9ae720b538edc000/screenshot-77_16k72h8.png)

* Refund captured in WooCommerce 

![](https://storage.crisp.chat/users/helpdesk/website/9ae720b538edc000/screenshot-79_1v6djce.png)

![](https://storage.crisp.chat/users/helpdesk/website/9ae720b538edc000/screenshot-80_s26y2y.png)

