# \[API] cài đặt và sử dụng api woocommerce (ok)

![](https://2370029328-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LWPtKFbhw0XehxVuoiZ%2F-MPAL1EzGpA1mrS4j3B5%2F-MPALcp7j5ch29HrGSIT%2FScreenshot_3.jpg?alt=media\&token=67c600cc-e684-4b42-90ee-306f6ccc8e55)

![](https://2370029328-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LWPtKFbhw0XehxVuoiZ%2F-MPAL1EzGpA1mrS4j3B5%2F-MPALjQK-y2nxy00xD93%2FScreenshot_4.jpg?alt=media\&token=c5a8c737-8904-4e2b-9a53-838876b2433d)

```
ck_396f7a42c3672badafcb8900237ada00e5b4c58a
cs_43f84f00226c1779d393a13b532de9d48608dcdc
```

```
https://hanam.work/wp-json/wc/v3/products?consumer_key=ck_396f7a42c3672badafcb8900237ada00e5b4c58a&consumer_secret=cs_43f84f00226c1779d393a13b532de9d48608dcdc
```

_**Và đây là kết quả :)**_

![](https://2370029328-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LWPtKFbhw0XehxVuoiZ%2F-MPAM4WhdKnxGEvmHRcZ%2F-MPAM7P2kYlpnNO875lw%2FScreenshot_6.jpg?alt=media\&token=c764be92-f7cd-4ae9-b187-3639f8d34260)
