update to readme

This commit is contained in:
Sam
2021-02-17 12:33:32 +00:00
parent 42097c3102
commit 29a2f4f6e8

View File

@@ -169,6 +169,30 @@ Location ednpoints:
- `/api/v1/cities/` - `/api/v1/cities/`
## Shop Integrations
We provide integrations with online shop platforms
It requires the json field `Company.credentials` to have the appropiate format and values
Endoint: `/api/v1/companies/{PK}/import_products/`
The software to handle different platform imports can be found in `utils`
### WooCommerce
Credential format:
```json
{
"key": "qwerweqr",
"secret": "asdfsa",
}
```
Method: `utils.woocommerce.migrate_shop_products`
## Product Search ## Product Search
Endpoint: `/api/v1/product_search/` Endpoint: `/api/v1/product_search/`