From 29a2f4f6e838505029d8a0ef22d034d5bdd70763 Mon Sep 17 00:00:00 2001 From: Sam Date: Wed, 17 Feb 2021 12:33:32 +0000 Subject: [PATCH] update to readme --- README.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/README.md b/README.md index c7155f1..4c8ea38 100644 --- a/README.md +++ b/README.md @@ -169,6 +169,30 @@ Location ednpoints: - `/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 Endpoint: `/api/v1/product_search/`